Add the local time zone
editAdd the local time zone
editThe add_locale
processor enriches each event with either the machine’s time
zone offset from UTC or the name of the time zone. The processor adds the a
event.timezone
value to each event.
Examples
editThe configuration adds the processor with the default settings:
- add_locale: ~
This configuration adds the processor and configures it to add the time zone abbreviation to events:
- add_locale: format: abbreviation
The add_locale
processor differentiates between daylight savings time
(DST) and regular time. For example CEST
indicates DST and and CET
is
regular time.
Configuration settings
editElastic Agent processors execute before ingest pipelines, which means that they process the raw event data rather than the final event sent to Elasticsearch. For related limitations, refer to What are some limitations of using processors?
Name | Required | Default | Description |
---|---|---|---|
|
No |
|
Whether an |