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
.conf21 Now Fully Virtual!
Register for FREE Today!

We've made .conf21 totally virtual and totally FREE! Our completely online experience will run from 10/19 through 10/20 with some additional events, too!