I have a file: racf_username.csv located in /opt/splunk/etc/system/lookups which looks like;
racf,username
A123456,A Name
B123456, Another Name
.
.
As regards permissions, the table is updated nightly from a server and shows No Owner and the app being System.
Everyone can read but only admin can write.
In transforms.conf located in /opt/splunk/etc/system/local is the following:
[racf_username]
filename=racf_username.csv
max_matches=1
min_matches=1
default_match=Unknown
In props.conf located in /opt/splunk/etc/system/local is the following:
[sourcetype::MySourceType]
LOOKUP_racftousernames = racf_username racf OUTPUT username
However, a simple search such as:
sourcetype="MySourceType" | table racf, username does not display any usernames
If instead I use:
sourcetype="MySourceType" | lookup racf_username racf OUTPUT username | table racf, username
then everything works fine. I just don't get the automatically filled in username field.
Any idea how to get this to work automatically?
... View more