The situation is as follows:
I retrieve logs containing IP.
In an index I have IP ranges that have names.
I would like to search my index to see if my IP belongs to a range and if so, retrieve the name of that range to add it.
In my logstash file I created an elasticsearch filter that searches my index.
But I don't know how to build the query.
Thanks for your help