Skip to content

Add event.dataset to filebeat#9457

Merged
ruflin merged 5 commits intoelastic:6.xfrom
ruflin:add-fileset
Dec 11, 2018
Merged

Add event.dataset to filebeat#9457
ruflin merged 5 commits intoelastic:6.xfrom
ruflin:add-fileset

Conversation

@ruflin
Copy link
Copy Markdown
Contributor

@ruflin ruflin commented Dec 10, 2018

This allows 6.6 / 6.7 data to be compatible with 7.x.

This allows 6.6 / 6.7 data to be compatible with 7.x.
@ruflin ruflin added in progress Pull request is currently in progress. Filebeat Filebeat ecs labels Dec 10, 2018
@ruflin ruflin self-assigned this Dec 10, 2018
@ruflin ruflin mentioned this pull request Dec 10, 2018
@ruflin ruflin added the Team:Integrations Label for the Integrations team label Dec 10, 2018
@elasticmachine
Copy link
Copy Markdown
Contributor

Pinging @elastic/infrastructure

Copy link
Copy Markdown
Member

@graphaelli graphaelli left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

any need to enforce that event.dataset is always fileset.module + fileset.name (say with a test)?

"suricata"
],
"url.hostname": "example.net",
"url.hostname": "example.net",
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

bunch of these extra spaces, not sure if you care

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

the files are auto generated so more wonder why there were missing before :-)

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Ah I may have saved it in a commit, before I was familiar with the Beats integration tests :-)

- name: event.dataset
description: >
The Filebeat dataset that generated this event.

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Nice, so we have per-Beat override 👍

@ruflin
Copy link
Copy Markdown
Contributor Author

ruflin commented Dec 11, 2018

@graphaelli Good question about the test. I don't think we should enforce it (event though at the moment it is because it's in the code). More important for me is that it's correct in the generate files. Ok if for now we skip a test?

@graphaelli
Copy link
Copy Markdown
Member

sounds reasonable to me

Copy link
Copy Markdown
Contributor

@webmat webmat left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Straightforward, LGTM.

@ruflin ruflin merged commit 661641c into elastic:6.x Dec 11, 2018
@ruflin ruflin deleted the add-fileset branch December 11, 2018 20:39
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

ecs Filebeat Filebeat in progress Pull request is currently in progress. Team:Integrations Label for the Integrations team

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants