If there any way by which we can have geo info for IP type data which is present in list of dictionary ? ( I think we are unable to access the IP inside list of dictionary and hence getting "_geoip_lookup_failure")
Sorry, you are correct.
The real problem though is that the value of the field [network] is an Array.
Q: Does it always have two entries only?
This means you need to need to use this nested field reference: [network][0][IP] to pluck the first entry which is a Hash or Map of "IP" => "80.80.229.213" [network][1][IP] to pluck the second entry which is a Hash or Map of "IP" => "80.80.229.216"
You could consider using the split filter which will create two new events (cloned from the original) each one having a different IP field.
If you decide to split then you will not need the [network][N][IP] field reference.
Q: Does it always have two entries only?
A: No, it can be of any length including 0
Yes, Split can be a good candidate to be used here but it will create cloned events which is somewhat i would keep distance from
Array is a complex data structure here and i think there is no solution to the problem except changing the way log looks
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.