Splunk Search

How to extract a string from a field using Splunk Regex?

deepaksn1214
Engager

I m having a hard time trying to extract a string from a field from a splunk search using splunk regex , can someone help pls ? 

The field looks like client_info=xxx-yyy=aaaa-bbb-cccc::4.144.1::web-app-id::plugin-id

I just want the string web-app-id and plugin-id extracted in separate fields named WebApp and Plugin

Appreciate any help on this , thanks in advance ! 

Labels (3)
Tags (1)
0 Karma

ITWhisperer
SplunkTrust
SplunkTrust
| rex "::(?<WebApp>[^:]+)::(?<Plugin>[^:]+)$"
Get Updates on the Splunk Community!

Index This | Forward, I’m heavy; backward, I’m not. What am I?

April 2024 Edition Hayyy Splunk Education Enthusiasts and the Eternally Curious!  We’re back with another ...

A Guide To Cloud Migration Success

As enterprises’ rapid expansion to the cloud continues, IT leaders are continuously looking for ways to focus ...

Join Us for Splunk University and Get Your Bootcamp Game On!

If you know, you know! Splunk University is the vibe this summer so register today for bootcamps galore ...