Splunk Search

Need Regex

VijaySrrie
Builder

Hi

Please help me with the regex for below
1) Hostname
2) IP address
3) UserID (for eg: vijay_111)
4) mail id

Tags (2)
0 Karma

mydog8it
Builder

The regex would need to be created specifically for the event. It would be a custom field extraction based on the event syntax. Without an event, it is impossible to create a reliable regex for the field extraction you desire.

Kawtar
Path Finder

Hello,

Can you share your events plz.

Thank you

0 Karma

kamlesh_vaghela
SplunkTrust
SplunkTrust

@vijaysri

Can you please share sample event and expected output?

0 Karma

VijaySrrie
Builder

Hi,

We don't have any event. We just need the regex for above.
eg: Hostname - alphanumeric
eg: User ID (for eg: vijay_111)

0 Karma

VijaySrrie
Builder

If you can share a sample event please provide

0 Karma
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, ...