Splunk IT Service Intelligence

Hi Team, I need to extract the field program name from the logs .

Hemant1
Explorer

"program_name"=>"Love Lagna Locha - Episode 117 - January 31, 2017 - Full Episode"

0 Karma
1 Solution

richgalloway
SplunkTrust
SplunkTrust

One way is with rex.

... | rex "program_name\"=>\"(?<program_name>[^\"]+)\"" | ...
---
If this reply helps you, an upvote would be appreciated.

View solution in original post

0 Karma

richgalloway
SplunkTrust
SplunkTrust

One way is with rex.

... | rex "program_name\"=>\"(?<program_name>[^\"]+)\"" | ...
---
If this reply helps you, an upvote would be appreciated.

View solution in original post

0 Karma

Hemant1
Explorer

thank you so much

0 Karma
Did you miss .conf21 Virtual?

Good news! The event's keynotes and many of its breakout sessions are now available online, and still totally FREE!