Looking at understanding better how lookups work in Splunk.
As I understand it, there are 3 steps:
1. lookup table files - basically you add your *.csv file
2. lookup definitions - name your lookup definition and link it to the above *.csv file
3. Automatic lookups - this is where you do you mapping from the fields that are already in splunk with the fields in your *.csv
What I want to know specifically is as follows:
If i had a lookup that was working fine off a csv file that only had X number of rows, lets say this:
lookupA,ValueToReplaceLookup
A,America
B,Beijing
C,Columbia
And then sometime later, I come along and I just want to add a few new rows to the csv e.g.
lookupA,ValueToReplaceLookup
A,America
B,Beijing
C,Columbia
D,Denmark
E,Eygpt
What is the best way of doing this without breaking anything?
Do I just delete the existing csv and replace it with the new one, keeping the same name, and then I don't have to do step 2 & 3 above?
Or is there a better way of doing it?
... View more