-
Notifications
You must be signed in to change notification settings - Fork 410
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
Elastic Search exporter follow ECS guidelines #3107
base: main
Are you sure you want to change the base?
Elastic Search exporter follow ECS guidelines #3107
Commits on Oct 18, 2024
-
[EXPORTERS]: elastic search log message within
message
key instead of`body` According to ECS logging reference https://www.elastic.co/guide/en/ecs/8.11/ecs-base.html#field-message Refs open-telemetry#3091
Configuration menu - View commit details
-
Copy full SHA for 3c450ef - Browse repository at this point
Copy the full SHA 3c450efView commit details -
[EXPORTERS]: elastic search set severity within
log.level
key inste……ad of `severity` According to ECS logging reference https://www.elastic.co/guide/en/ecs/8.11/ecs-log.html#field-log-level Refs open-telemetry#3091
Configuration menu - View commit details
-
Copy full SHA for 8be43d2 - Browse repository at this point
Copy the full SHA 8be43d2View commit details -
[EXPORTERS]: elastic search set timestamp within
@timestamp
instead of`timestamp` Also changes the format to be a Date string. According to ECS logging reference https://www.elastic.co/guide/en/ecs/8.11/ecs-base.html#field-timestamp Refs open-telemetry#3091
Configuration menu - View commit details
-
Copy full SHA for 53d72bf - Browse repository at this point
Copy the full SHA 53d72bfView commit details -
[EXPORTERS]: elastic search set instrumentation scope within `log.log…
…ger` instead of `name` According to ECS logging reference https://www.elastic.co/guide/en/ecs/8.11/ecs-log.html#field-log-logger Refs open-telemetry#3091
Configuration menu - View commit details
-
Copy full SHA for ff35e7a - Browse repository at this point
Copy the full SHA ff35e7aView commit details -
EXPORTERS]: elastic search recorable constructor sets
ecs.version
f……ield to 8.11.0 According to ECS guidelines this field is mandatory https://www.elastic.co/guide/en/ecs/8.11/ecs-guidelines.html Refs open-telemetry#3091
Configuration menu - View commit details
-
Copy full SHA for 401ad81 - Browse repository at this point
Copy the full SHA 401ad81View commit details -
[EXPORTERS]: elastic search put attributes in json root instead of under
`attributes` This allows user to set other fields that are part of the [ECS log documentation](https://www.elastic.co/guide/en/ecs/8.11/ecs-log.html). For instance, it allows to have an attribute with key `log.file`, that will, thanks to `nlohmann::json`, appear as : ``` { "log": { "file": "xxx" } } ``` Closes open-telemetry#3091
Configuration menu - View commit details
-
Copy full SHA for 6d72624 - Browse repository at this point
Copy the full SHA 6d72624View commit details