Hi,
I want to show next 100 events after a first occurence of particular string.
eg:Iam searching a string id:904566 using splunk.
At the same time i want to show next 100 events which doesnot have this Id but they having datas related to that paricular id.So user want to see the next 100 events after the first occurence of that particular id.How i can make it.Please help.
this is my search
index="logs" source="" 904566
You could use transaction
:
index=logs source="" 904566 | transaction maxevents=100 startswith="904566"
Thanks ayn.Can it possible trancation check only the first occurence of that id and clumping all the next 100 events rather that breaking at every event where this id is appearing like in regex "mxmatch=1" like this can we restrict transaction.That means it will check only once for id and will clumping all the following 100 events.