Hello,
I have a CSV file with two fields (ID and description) and I want to know if any of the IDs are found in a search. It would be great if the output comes in a table with count and the description.
CSV is like:
ID, description
1, abc
2, lmn
3, yxz
output:
ID | description | count |
2 | lmn | 6 |
1 | abc | 3 |
is that possible?
regards
Stephan
First you could count by id, then lookup the description from the csv file.
| stats count by id
| lookup file.csv
Depending on your actual search, you may need to adjust the field names to match
Thanks a lot. That works. I have to add a "where isnotnull(description" to the command to filter the Events that are not in the CSV.
First you could count by id, then lookup the description from the csv file.
| stats count by id
| lookup file.csv
Depending on your actual search, you may need to adjust the field names to match