Raghul Prasanth
Raghul Prasanth

Reputation: 13

how to filter lines in log file containing particular string?

I gave log file as input through file plugin in input and output I need is lines containing particular string? So what I need to do in filter plugin to filter only those lines containing string for example "volume"?

Upvotes: 1

Views: 1311

Answers (1)

Alain Collins
Alain Collins

Reputation: 16362

Sounds like a conditional application of the drop{} filter.

Upvotes: 1

Related Questions