Remove event.dataset from logp ecs attributes#27433
Remove event.dataset from logp ecs attributes#27433michel-laterman merged 1 commit intoelastic:masterfrom
Conversation
|
Pinging @elastic/agent (Team:Agent) |
blakerouse
left a comment
There was a problem hiding this comment.
Looks good. I think its best that its not added, based on the comments from the issue.
💚 Build Succeeded
Expand to view the summary
Build stats
Test stats 🧪
Trends 🧪💚 Flaky test reportTests succeeded. Expand to view the summary
Test stats 🧪
|
(cherry picked from commit d9fbcef)
|
LGTM. Longer-term I think the dataset could be a part of a beat's config in |
(cherry picked from commit d9fbcef)
(cherry picked from commit d9fbcef)
|
Hi @EricDavisX
Build details: Thanks |
What does this PR do?
Remove the
event.datasetECS attribute fromlibbeat.logp.Why is it important?
event.datasetkey is appearing twice in documents sent by filebeat running under the elastic-agent. Once is the correctelastic_agent.Xvalue, the other is an array that contains the log name.Checklist
I have commented my code, particularly in hard-to-understand areasI have made corresponding changes to the documentationI have made corresponding change to the default configuration filesCHANGELOG.next.asciidocorCHANGELOG-developer.next.asciidoc.How to test this PR locally
Build + run agent and ensure that log entries only have a single
event.datasetkey set toelastic_agent.XRelated issues