- Heartbeat Reference: other versions:
- Overview
- Get started
- Set up and run
- Configure
- Monitors
- General settings
- Project paths
- Output
- SSL
- Index lifecycle management (ILM)
- Elasticsearch index template
- Processors
- Define processors
- add_cloud_metadata
- add_docker_metadata
- add_fields
- add_host_metadata
- add_id
- add_kubernetes_metadata
- add_labels
- add_locale
- add_observer_metadata
- add_process_metadata
- add_tags
- community_id
- convert
- copy_fields
- decode_base64_field
- decode_json_fields
- decompress_gzip_field
- dissect
- dns
- drop_event
- drop_fields
- extract_array
- fingerprint
- include_fields
- registered_domain
- rename
- truncate_fields
- Autodiscover
- Internal queue
- Logging
- HTTP endpoint
- Regular expression support
- heartbeat.reference.yml
- How to guides
- Exported fields
- Beat fields
- Cloud provider metadata fields
- Common heartbeat monitor fields
- Docker fields
- ECS fields
- Host fields
- HTTP monitor fields
- ICMP fields
- Jolokia Discovery autodiscover provider fields
- Kubernetes fields
- Process fields
- Host lookup fields
- SOCKS5 proxy fields
- Monitor summary fields
- TCP layer fields
- TLS encryption layer fields
- Monitor
- Secure
- Troubleshoot
- Contribute 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.