Splunk Search

rex extracr mq errors

indeed_2000
Motivator

Hi

what is the rex for mq error code 

here is the log:

2021-10-08 06:52:12,785 ERROR TOPIC-00000 [Utility] MQJCA1011: Failed to allocate a JMS connection.

 

error code=MQJCA1011

error description=Failed to allocate a JMS connection

 

Thanks,

Labels (4)
0 Karma

richgalloway
SplunkTrust
SplunkTrust

Here's one way to extract those fields..

| rex "\]\s(?<error_code>\w+):\s(?<error_description>.*)"
---
If this reply helps you, Karma would be appreciated.
0 Karma
Get Updates on the Splunk Community!

Your Guide to Splunk Digital Experience Monitoring

A flawless digital experience isn't just an advantage, it's key to customer loyalty and business success. But ...

Data Management Digest – November 2025

  Welcome to the inaugural edition of Data Management Digest! As your trusted partner in data innovation, the ...

Upcoming Webinar: Unmasking Insider Threats with Slunk Enterprise Security’s UEBA

Join us on Wed, Dec 10. at 10AM PST / 1PM EST for a live webinar and demo with Splunk experts! Discover how ...