Kibana version: 7
Elasticsearch version:7
APM Server version:7
APM Agent language and version:RUM/js
Browser version:
Original install method (e.g. download page, yum, deb, from source, etc.) and version
**Fresh install or upgraded from other version?**deployment created by elastic cloud
Hi , i am using the cloud deployment for elastic stack, i have 2 pipelines used for APM data
- user_agent
- apm_user_geoip
the first pipeline added was the user_agent and it seems to be working.
the second pipeline i am not sure - the pipeline :
"apm_user_geoip" : {
"description" : "Resolve GeoIP information for APM events",
"processors" : [
{
"geoip" : {
"field" : "client.ip",
"target_field" : "qageo",
"ignore_missing" : true
}
}
]
}
- the test :
GET /_ingest/pipeline/apm_user_geoip/_simulate
{
"docs": [
{
"_source": {
"client": {
"ip": "108.2.12.80"
}
}
}
]
}
- test response :
{
"docs" : [
{
"doc" : {
"_index" : "_index",
"_type" : "_doc",
"_id" : "_id",
"_source" : {
"client" : {
"ip" : "108.2.12.80"
},
"qageo" : {
"continent_name" : "North America",
"region_iso_code" : "US-PA",
"city_name" : "Philadelphia",
"region_name" : "Pennsylvania",
"location" : {
"lon" : -75.1968,
"lat" : 39.9597
},
"country_iso_code" : "US"
}
},
"_ingest" : {
"timestamp" : "2019-05-06T19:31:19.219Z"
}
}
}
]
}
4.the pipelines in the APM
Note that the syntax for user settings can change between major versions.
You might need to update these user settings before performing a major version upgrade.
To learn more, see the documentation.
apm-server.register.ingest.pipeline.enabled: true
output.elasticsearch.pipelines:
- pipeline: "apm_user_agent"
- pipeline: "apm_user_geoip"
the problem :
i can see the client.ip field , i can not the the "qageo" target being created for it.
i am sure i have missed something .
any ideas ?
thanks ,
Ariel.