Ingest structured ES slow logs#10447
Merged
ycombinator merged 3 commits intoelastic:masterfrom Feb 1, 2019
ycombinator:fb-es-slowlog-structured
Merged
Ingest structured ES slow logs#10447ycombinator merged 3 commits intoelastic:masterfrom ycombinator:fb-es-slowlog-structured
ycombinator merged 3 commits intoelastic:masterfrom
ycombinator:fb-es-slowlog-structured
Conversation
Contributor
|
Pinging @elastic/stack-monitoring |
ycombinator
commented
Jan 31, 2019
filebeat/module/elasticsearch/slowlog/test/auditlog_index_indexing_slowlog.log-expected.json
Outdated
Show resolved
Hide resolved
Contributor
|
Looking good so far! |
ruflin
approved these changes
Feb 1, 2019
Contributor
There was a problem hiding this comment.
Kind of odd that we need 2 steps here, but well.
Contributor
Author
There was a problem hiding this comment.
Agreed. This will help: elastic/elasticsearch#36950.
Contributor
There was a problem hiding this comment.
This is kind of interesting. In the event for json it's not a multiline anymore but here we still need the multiline config 🤔
Good for now, jus thought I mention it.
cachedout
approved these changes
Feb 1, 2019
4 tasks
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
This PR teaches the
elasticsearch/slowlogfileset to ingest structured Elasticsearch search and indexing slow logs.This PR takes the same approach as #10352, in that it creates an entrypoint pipeline,
pipeline.json, that delegates further processing of a log entry depending on what it sees as the first character of the entry:{, it assumes the log line is structured as JSON and delegates further processing topipeline-json.json.pipeline-plaintext.json.