Skip to content
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

Cherry-pick #10135 to 6.x: Elasticsearch/audit fileset should be more lenient in parsing node name #10174

Merged
merged 1 commit into from
Jan 21, 2019

Conversation

ycombinator
Copy link
Contributor

Cherry-pick of PR #10135 to 6.x branch. Original message:

Resolves #10035.

This PR:

  • Uses DATA instead of WORD in the grok pattern for parsing out elasticsearch.node.name,
  • Breaks out the grok pattern into pattern definitions to increase readability
  • Removes a redundant ? after a * in the grok pattern (between elasticsearch.audit.action and elasticsearch.audit.uri), and
  • Properly reindents the pipeline JSON (so you might want to view the diff with ?w=1 appended to the URL)

…me (#10135)

Resolves #10035.

This PR:

* Uses `DATA` instead of `WORD` in the grok pattern for parsing out `elasticsearch.node.name`,
* Breaks out the grok pattern into pattern definitions to increase readability
* Removes a redundant `?` after a `*` in the grok pattern (between `elasticsearch.audit.action` and `elasticsearch.audit.uri`), and
* Properly reindents the pipeline JSON (so you might want to view the diff with `?w=1` appended to the URL)

(cherry picked from commit 93851c2)
@ycombinator
Copy link
Contributor Author

jenkins, test this

@ycombinator ycombinator merged commit bdd8c49 into elastic:6.x Jan 21, 2019
@ycombinator ycombinator deleted the backport_10135_6.x branch January 25, 2019 14:16
@ycombinator
Copy link
Contributor Author

This PR broke the parsing of a couple fields, so I'm following it up with another PR to fix said breakage: #10340

ycombinator added a commit that referenced this pull request Jan 25, 2019
* Fixing event type field to be non-ECS

* Fix parsing of URI field
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants