Hi Community,
I wonder if someone can help me.
I am trying to assign a unique sysLocation string to all devices E.G
RackPosition10_Cabinet01_Washington_[LAT,LONG]
My problem is that if I do this the Geo Location creates a new group for every device because the RackPositionX will vary per device.
Looking at location_map, location_map_regex and location_map_regex_sub I can normalize the sysLocation string. However, I require the unique sysLocation in Libre somewhere to query at a later date.
Is there a way we can manipulate the Geo Location group to ignore the first X characters of the sysLocation string; or ignore all character before the first “_” or some form of escape character.
This could also be resolved by writing the pre-altered sysLocation string to the backend DB before it is altered by location_map_regex.
Thanks,
Glynn