Splunk Search

Newb trying to use regex to extract fields

johnmackey
Engager

I'm still trying to understand rex to extract data from my search results. Can someone help me build a regex command with these examples please?

I'm trying to pull out the exception type (i.e. BwbRequestExceptions) and message into 2 separate fields:

com.beeweeb.mobileservices.tapestry.exceptions.BwbRequestException: Error while parsing server request

org.jboss.resteasy.plugins.providers.jaxb.JAXBUnmarshalException: javax.xml.bind.UnmarshalException
- with linked exception:
[org.xml.sax.SAXParseException: Content is not allowed in prolog.]

Tags (1)
0 Karma

rgaleone1
Path Finder

johnmackey -

Have you tried looking in to using the built-in Splunk Interactive Field Extractor?

Documentation here: Knowledge Users Manual and here: Extract fields interactively with IFX

0 Karma

johnmackey
Engager

Thanks! i'll try IFX. i think this is what i need.

0 Karma

rgaleone1
Path Finder

Yes, the Splunk Interactive Field Extractor is available in Splunk 5

Update for Spunk 5.x
Documentation here: Knowledge Users Manual and here: Extract fields interactively with IFX

You can change the documentation version (from 6.x to 5.x or w/e) in the upper right of the web page.

johnmackey
Engager

i'm in splunk 5. is that only in 6?

0 Karma
Get Updates on the Splunk Community!

Index This | I am a number, but when you add ‘G’ to me, I go away. What number am I?

March 2024 Edition Hayyy Splunk Education Enthusiasts and the Eternally Curious!  We’re back with another ...

What’s New in Splunk App for PCI Compliance 5.3.1?

The Splunk App for PCI Compliance allows customers to extend the power of their existing Splunk solution with ...

Extending Observability Content to Splunk Cloud

Register to join us !   In this Extending Observability Content to Splunk Cloud Tech Talk, you'll see how to ...