- Heartbeat Reference: other versions:
- Overview
- Getting Started With Heartbeat
- Setting up and running Heartbeat
- Configuring Heartbeat
- Set up monitors
- Specify general settings
- Configure the internal queue
- Configure the output
- Configure index lifecycle management
- Specify SSL settings
- Filter and Enhance the exported data
- Define processors
- Add cloud metadata
- Add fields
- Add labels
- Add the local time zone
- Add tags
- Decode JSON fields
- Drop events
- Drop fields from events
- Keep fields from events
- Rename fields from events
- Add Kubernetes metadata
- Add Docker metadata
- Add Host metadata
- Dissect strings
- DNS Reverse Lookup
- Add process metadata
- Parse data by using ingest node
- Enrich events with geoIP information
- Configure project paths
- Configure the Kibana endpoint
- Load the Elasticsearch index template
- Configure logging
- Use environment variables in the configuration
- Autodiscover
- YAML tips and gotchas
- Regular expression support
- HTTP Endpoint
- heartbeat.reference.yml
- Exported fields
- Monitoring Heartbeat
- Securing Heartbeat
- Troubleshooting
- Contributing to Beats
IMPORTANT: No additional bug fixes or documentation updates
will be released for this version. For the latest information, see the
current release documentation.
Add the local time zone
editAdd the local time zone
editThe add_locale
processor enriches each event with the machine’s time zone
offset from UTC or with the name of the time zone. It supports one configuration
option named format
that controls whether an offset or time zone abbreviation
is added to the event. The default format is offset
. The processor adds the
a event.timezone
value to each event.
The configuration below enables the processor with the default settings.
processors: - add_locale: ~
This configuration enables the processor and configures it to add the time zone abbreviation to events.
processors: - add_locale: format: abbreviation
Please note that add_locale
differentiates between daylight savings
time (DST) and regular time. For example CEST
indicates DST and and CET
is
regular time.
Was this helpful?
Thank you for your feedback.