I have a requirement to query devices by Ip, Wonde...
# community-help
s
I have a requirement to query devices by Ip, Wondering what is the best way to do. Is that storing the data as a string works ?
k
IP ranges or just pointed lookups?
s
Sorry I am not sure on what is pointed look ups . My case the user can enter 10.0.* and I have to get all the devices fall under that category
Is IP range query is something like 10.0.0.[0-256]
k
Prefix search will work for that. So just index as string.
s
Thanks. will try that