Hi THWACK community!
I'm trying to create a custom poller (Device Studio type) for this purpose:
What I'm currently trying to resolve is to truncate the number off of a Distro name, i.e.: "Red Hat Enterprise Linux 10".
I have a Regular Expression which work outside of SolarWinds:
https://regex101.com/?regex=%28.%29%28%3F%3A%5Cs%5Cd%7B1%2C%7D.%24%29&testString=Red+Hat+Enterprise+Linux+10.2&flags=gm&flavor=pcre2&delimiter=%2F
…but, when I try that in the Custom Poller configuration, there's no result:
If I simplify the Regex to simply return the entire string, I do get the values, so I suspect that it has to do with the capturing groups:
Any suggestions?