Hi,
In search query output, we are adding some columns from csv file. Some times there are duplicats entry in csv file. this causing to display multiple values in table cell. Is there a way to remove/ignore duplicate values from table cell ?
@agoyal
There are two ways to handle this scenario.
1st: You can change your search by adding eval for multivalue fields. like eval Tags= mvindex(Tags,0)
.
2nd: Allow matches from transform.conf.
[my_lookup]
filename = my.csv
max_matches = 1
I prefer 2nd one.
Thanks
@agoyal
There are two ways to handle this scenario.
1st: You can change your search by adding eval for multivalue fields. like eval Tags= mvindex(Tags,0)
.
2nd: Allow matches from transform.conf.
[my_lookup]
filename = my.csv
max_matches = 1
I prefer 2nd one.
Thanks
Thanks @kamlesh_vaghela !!
Can you please convert ur comment as answer.
@agoyal
Glad to help you. Please upvote and accept this answer.
Happy Splunking
Cheers!!