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!

Mastering Data Pipelines: Unlocking Value with Splunk

 In today's AI-driven world, organizations must balance the challenges of managing the explosion of data with ...

The Latest Cisco Integrations With Splunk Platform!

Join us for an exciting tech talk where we’ll explore the latest integrations in Cisco &#43; Splunk! We’ve ...

AI Adoption Hub Launch | Curated Resources to Get Started with AI in Splunk

Hey Splunk Practitioners and AI Enthusiasts! It’s no secret (or surprise) that AI is at the forefront of ...