Splunk Search

regex to extract "WFLY*:"

indeed_2000
Motivator

Hi

What is the regex for this "WFLY*:"

I want to get all jboss error code start with (WFLY) and (star wildcard) till colon. 

here is the sample log:

2021-07-11 23:59:02,091 ERROR APP [ACTION] WFLYEJB0034: EJB Invocation failed on component Module for method public common.platform string.platform

 

Any idea

Thanks,

Labels (7)
0 Karma
1 Solution

ITWhisperer
SplunkTrust
SplunkTrust
| rex "(?<error>WFLY[^:]+):"

View solution in original post

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

Introducing the 2024 SplunkTrust!

Hello, Splunk Community! We are beyond thrilled to announce our newest group of SplunkTrust members!  The ...

Introducing the 2024 Splunk MVPs!

We are excited to announce the 2024 cohort of the Splunk MVP program. Splunk MVPs are passionate members of ...

Splunk Custom Visualizations App End of Life

The Splunk Custom Visualizations apps End of Life for SimpleXML will reach end of support on Dec 21, 2024, ...