Query: |inputlookup Acc_no
In the above lookup we can see two fields Acc_no and Name with 4 values each. We will target to add one more values each to these existing 4 rows. So finally we will have a total of 5 rows.
Now we need to modify the query for adding new values in lookup file.
Old lookup with new field-values
| inputlookup Acc_no append=true | append [ | stats count | eval ACC_NO=”123456789100″ , Name=”abc” | table ACC_NO Name]
| inputlookup Acc_no append=true | append [ | stats count | eval ACC_NO="123456789100" , Name="bcd" | table ACC_NO Name]|outputlookup Acc_no.csv
| inputlookup Acc_no.csv