Join Slack
Powered by
I have a requirement to query devices by Ip, Wonde...
# community-help
s
satish venkatakrishnan
04/06/2022, 4:08 AM
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
Kishore Nallan
04/06/2022, 4:09 AM
IP ranges or just pointed lookups?
s
satish venkatakrishnan
04/06/2022, 4:14 AM
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
satish venkatakrishnan
04/06/2022, 4:14 AM
Is IP range query is something like 10.0.0.[0-256]
k
Kishore Nallan
04/06/2022, 4:18 AM
Prefix search will work for that. So just index as string.
s
satish venkatakrishnan
04/06/2022, 4:28 AM
Thanks. will try that
Open in Slack
Previous
Next