Skip to content

Custom Metric not Adding Host.geo.country_name #20796

Closed

Description

processors:
  - add_host_metadata:
       geo:
          name: server-1
          country_name: PK
          country_iso_code: PK
          city_name: Karachi

after providing add_host_metadata as per document still country_name is not adding below is output of beat

{ "@timestamp": "2020-08-24T10:15:47.394Z", "@metadata": { "beat": "strongswan", "type": "_doc", "version": "8.0.0" }, "strongswan": { "strongswan": { "counter": 1 } }, "event": { "dataset": "strongswan.strongswan" }, "host": { "hostname": "inspiron-15-3567", "geo": { "country_iso_code": "PK", "city_name": "Karachi", "name": "server-1" }, "platform": "ubuntu" } }

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions