Hello
I have a search which reports a field N_os (a string indicating an Operating System). I wanted values from this field to be grouped together via a specific logic, the best I could find was a lookup. Follwing the docs
I created my lookup file OSGroup.csv in /opt/splunk/etc/apps/MYAPP/lookups (tried both with double quotes and without):
N_os,OSGroup
"Microsoft Windows Server","Windows Server"
"Microsoft Windows 7","Windows Client"
"Microsoft Windows XP","Windows Client"
"AIX 5.1","AIX"
This file is referenced in /opt/splunk/etc/apps/MYAPP/local/transforms.conf :
[OSGroup]
filename = OSGroup.csv
I restarted splunk.
I then expected that a search
... | lookup OSGroup N_os OUTPUT OSGroup as N_osgroup
creates a field N_osgroup . I do not know how the match is done (by substring, only if there is an exact match, ...) so I added one line to the csv file which contains a sample of the exact value of N_os (so that it matches - this is the "AIX" one). Unfortunaty the search proceeds as usual (no errors) but N_osgroup is not created on the left-side fields bar.
Thank you in advance for any pointers!
... View more