processors:
- add_host_metadata:
geo:
name: server-1
country_name: PK
country_iso_code: PK
city_name: Karachi
after providing add_host_metadata 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" } }