Hi,
In a log from CISCO SFR there are two IP (source and destination) and I want to send with logstash to elasticsearch with geoip information.
The logstash template in elasticsearch has only one property named geoip, and thus for to map a .location to geo_point, I need to crate new mappings for the two geoip_src and geoip_dst properties.
It's possible to create a template with a property like:
"geoip_*" : {
"dynamic" : true,
"properties" : {
"ip" : {
"type" : "ip"
},
"location" : {
"type" : "geo_point"
},
"latitude" : {
"type" : "half_float"
},
"longitude" : {
"type" : "half_float"
}
}
that can be used for all properties like geoip_src, geoip_dst, geoip_whatever... without the need of creating mappings for all the geoip_ variants,
Thank you, I used before this information for create single properties with wildcards but I do not know how to use for create complex properties like geoip.
Apache, Apache Lucene, Apache Hadoop, Hadoop, HDFS and the yellow elephant
logo are trademarks of the
Apache Software Foundation
in the United States and/or other countries.