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

Convert Filebeat nginx.error to ECS #10007

Merged
merged 4 commits into from
Jan 11, 2019
Merged

Conversation

webmat
Copy link
Contributor

@webmat webmat commented Jan 11, 2019

Caveats

  • There's a lot of juicy unparsed information in the nginx error logs (IP, file path, server address, etc). This conversion doesn't address this.

Renames

  • nginx.error.level => log.level
  • nginx.error.pid => process.pid
  • nginx.error.tid => process.thread.id
  • nginx.error.message => message
  • read_timestamp => event.created

TODO

  • Coerce thread ID, PID, conn ID
  • read_timestamp => event.created
  • Alias renamed fields to their ECS counterpart, not forgetting migration: true
  • Document field migrations in ecs-migration.yml
  • Changelog

@webmat webmat requested review from a team as code owners January 11, 2019 02:17
@webmat webmat changed the title WIP Convert Filebeat nginx.error to ECS Convert Filebeat nginx.error to ECS Jan 11, 2019
@webmat webmat self-assigned this Jan 11, 2019
@webmat webmat merged commit 27f7b15 into elastic:master Jan 11, 2019
@webmat webmat deleted the ecs-nginx-error-fb branch January 11, 2019 18:50
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