Splunk Search

where i can learn regular expressions to use them and to create my own regex

dilstn
Explorer

I really need of some knowledge about regular expression ,, as how to create own regex or rex ... so suggest me some tips to learn from the scratch for regular expression

Tags (1)
0 Karma
1 Solution

dart
Splunk Employee
Splunk Employee

The Field Extractor app on Splunkbase contains a regular expression reference which you can check if you hit the edit link on any of the extractions, which will give you examples and you could start by modifying them.

For more of a step by step tutorial, Zed Shaw's Learn Regex the Hard way is a great course to follow.

A reasonable reference exists in the Regular Expressions Info site, which has a quick start, tutorial and pages covering 'advanced' topics such as lookbehind.

View solution in original post

Ayn
Legend

There are some pretty good resources online.

Also you might want to grab a book. "Mastering Regular Expressions" is nice for instance: http://www.amazon.com/Mastering-Regular-Expressions-Jeffrey-Friedl/dp/0596528124/

Rocket66
Communicator

RegExr is an awesome tool! I like it!

0 Karma

dart
Splunk Employee
Splunk Employee

The Field Extractor app on Splunkbase contains a regular expression reference which you can check if you hit the edit link on any of the extractions, which will give you examples and you could start by modifying them.

For more of a step by step tutorial, Zed Shaw's Learn Regex the Hard way is a great course to follow.

A reasonable reference exists in the Regular Expressions Info site, which has a quick start, tutorial and pages covering 'advanced' topics such as lookbehind.

Get Updates on the Splunk Community!

Preparing your Splunk Environment for OpenSSL3

The Splunk platform will transition to OpenSSL version 3 in a future release. Actions are required to prepare ...

Unleash Unified Security and Observability with Splunk Cloud Platform

     Now Available on Microsoft AzureThursday, March 27, 2025  |  11AM PST / 2PM EST | Register NowStep boldly ...

Splunk AppDynamics with Cisco Secure Application

Web applications unfortunately present a target rich environment for security vulnerabilities and attacks. ...