Query range IP

Hello everyone,
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

Pascal

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.