In unix we are using grep -A 5 -B 5 "<search>" . Looking for the similar requirement.
On Thursday, May 29, 2014 8:48:47 PM UTC+5:30, Senthil Raja wrote: > > > Team, > > As per our requirement, i have to search a string in ES logs. And, print > five lines before and after the result query. > > Is there any way to do that ? > > > -- You received this message because you are subscribed to the Google Groups "elasticsearch" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/elasticsearch/39bf46eb-e749-44e4-8a9e-3658b32e5ce7%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.
