Splunk Search

REGEX expression

Paul_tcs
Explorer

Hi xperts,

someone help me to write the regex expression. with some examples.

Tags (2)
0 Karma

krugger
Communicator

Give us an example of what your data looks like and what you want to extract from it.

MHibbin
Influencer

That's a very vague question. An example of your data would help us to help you.

However to get you started... The following references are pretty useful:

http://www.regular-expressions.info/reference.html
http://www.regular-expressions.info/tutorial.html

You can also test and play with regular expressions using the following tool:

http://gskinner.com/RegExr/

You can also look at the following documentation to get you started in Splunk... start to learn with the IFX (Interactive Field eXtractor), which will show you the regex it has used:

http://docs.splunk.com/Documentation/Splunk/5.0.3/Knowledge/Addfieldsatsearchtime

Hope this helps.

Get Updates on the Splunk Community!

Built-in Service Level Objectives Management to Bridge the Gap Between Service & ...

Wednesday, May 29, 2024  |  11AM PST / 2PM ESTRegister now and join us to learn more about how you can ...

Get Your Exclusive Splunk Certified Cybersecurity Defense Engineer at Splunk .conf24 ...

We’re excited to announce a new Splunk certification exam being released at .conf24! If you’re headed to Vegas ...

Share Your Ideas & Meet the Lantern team at .Conf! Plus All of This Month’s New ...

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