Splunk Search

Regex matching

VijaySrrie
Builder

Hi,

How to match below in regex

aaa=atlas]
aaa=]

Labels (3)
0 Karma

493669
Super Champion

key value pair will get automatically extracted by splunk.
Could you please provide any details what exactly you want to match since from your example whatever is present after `=` sign will get store in `aaa` field.
see below url to match everything you mentioned-
https://regex101.com/r/X5Yzo7/1

---
If this reply helps you, an upvote would be appreciated.

0 Karma
Get Updates on the Splunk Community!

Shape the Future of Splunk: Join the Product Research Lab!

Join the Splunk Product Research Lab and connect with us in the Slack channel #product-research-lab to get ...

Auto-Injector for Everything Else: Making OpenTelemetry Truly Universal

You might have seen Splunk’s recent announcement about donating the OpenTelemetry Injector to the ...

[Puzzles] Solve, Learn, Repeat: Character substitutions with Regular Expressions

This challenge was first posted on Slack #puzzles channelFor BORE at .conf23, we had a puzzle question which ...