IMPORTANT: No additional bug fixes or documentation updates
will be released for this version. For the latest information, see the
current release documentation.
Add observer and geo metadata
edit
IMPORTANT: This documentation is no longer updated. Refer to Elastic's version policy and the latest documentation.
Add observer and geo metadata
editUse the heartbeat.run_from option to set the geographic location fields relevant to a given heartbeat instance.
The run_from option is used to label the geographic location where the monitor is running.
Note, you can also set the run_from option on an individual monitor to apply a unique setting to just that monitor.
The run_from option takes two top-level fields:
-
id: A string used to uniquely identify the geographic location. It is indexed as theobserver.namefield. -
geo: A map conforming to ECS geo fields. It is indexed underobserver.geo.
Example:
heartbeat.run_from: id: my-custom-geo geo: name: nyc-dc1-rack2 location: 40.7128, -74.0060 continent_name: North America country_iso_code: US region_name: New York region_iso_code: NY city_name: New York