Splunk Search

Unable to view the field created using rex

prabu_harsh12
New Member

string used in the search rex "(?i) Message= (?P[^.]+)"

Event log form where im trying to extract "Message=The Windows Management Instrumentation service entered the running state"

Tags (1)
0 Karma
1 Solution

richgalloway
SplunkTrust
SplunkTrust

Be careful of extra spaces in your rex string. Also, the '(?i)' is unnecessary.

---
If this reply helps you, Karma would be appreciated.

View solution in original post

neelamssantosh
Contributor

For better/future reference,
Use Interactive Field Extractor
http://www.splunk.com/view/SP-CAAADUY

Splunk, makes life's easy :).

0 Karma

richgalloway
SplunkTrust
SplunkTrust

Be careful of extra spaces in your rex string. Also, the '(?i)' is unnecessary.

---
If this reply helps you, Karma would be appreciated.

prabu_harsh12
New Member

It worked after removing the extra space. thanks so much! Wish you a happy new year!

0 Karma
Get Updates on the Splunk Community!

[Puzzles] Solve, Learn, Repeat: Dynamic formatting from XML events

This challenge was first posted on Slack #puzzles channelFor a previous puzzle, I needed a set of fixed-length ...

Enter the Agentic Era with Splunk AI Assistant for SPL 1.4

  🚀 Your data just got a serious AI upgrade — are you ready? Say hello to the Agentic Era with the ...

Stronger Security with Federated Search for S3, GCP SQL & Australian Threat ...

Splunk Lantern is a Splunk customer success center that provides advice from Splunk experts on valuable data ...