Hi splunk professionals,
I see a unexpected behavior about inputlookup command in ver 7.1.1.
The detail of unexpected behavior is below.
">>>>>Expected behavior<<<<<"
I have many csv files like ABC.csv,XYZ.csv,DDD.csv.
I run inputlookup command to show XYZ.csv and can see the content of XYZ.csv
SPL: |inputlookup XYZ.csv
Command result: the content of XYZ.csv
">>>>>Happening unexpected behavior<<<<<"
I have many csv files like ABC.csv,XYZ.csv,DDD.csv.........etc.
I ran inputlookup command to show XYZ.csv, and inputlookup comand worked naturally.
But the result of command was ABC.csv's result.
SPL: |inputlookup ABC.csv
Command result: the content of ABC.csv
After that, I tried running the another csv file with inputlookup command.But the result of command returned still ABC.csv's result.
After investigation, I understand the cause that there was a the wrong setting in transforms.conf.
Transforms.conf had the wrong setting which was to lack a front bracket of stanza.
Like this,
DDD_lookup]
filename = DDD.csv
If transforms.conf had the wrong setting, inputlookup command showed another csv result naturally without error messages.
I wonder that this behaviour is a unknown bug.
Also I did not understand thant Splunk worked naturally and did not return any error messages when I ran inputlookup command.
If someone knew that this is known issue, please let me know the document.
Any reply and opinion will be appreciated.
Best regard,
... View more