-
Notifications
You must be signed in to change notification settings - Fork 4.9k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Set service.name and event.dataset in logs #25997
Comments
I'll need to double check this later, but I'm pretty sure that Elastic Agent (by way of Filebeat) adds We can/should probably set |
I think the application emitting the logs has the best knowledge on what the
👍 |
Yes, fair enough. We'll have to see what happens when we do that -- whether Filebeat overrides the specified value, or if it doesn't, whether doing so has any negative effects on Fleet's agent logs UI. |
As I just learnt, service name = beat name. Shouldn't this issue be on Beats repo then? |
I think the apm-server team will be implementing it either way so ultimately it shouldn't matter. Feel free to transfer it though. |
Currently, the APM Server logs don't contain a
service.name
field which makes it hard to find the server logs in the logs UI as users can't filter forservice.name: "apm-server"
.The
event.dataset
field should also be set toapm-server.log
. See the ecs logging spec for more details.This issue depends on elastic/ecs-logging-go-zap#24
The text was updated successfully, but these errors were encountered: