Splunk Search

How to split the data dynamilly and further use it?

9198459056
Loves-to-Learn Everything

I have sample log in that count is there and in the same row in message are fix length log are there if same count so and count is also dynamic 

 

For eg

Date time server count server name

 

How can we get all the server count data

 

Labels (3)
0 Karma

martinpu
Communicator
| rex max_match=0 "(?<email>\S+\@\S+\.\S+)
| rex "\d+\/\d+\/\d+ (?<count>\d+)"
| table count email

 

 

0 Karma

9198459056
Loves-to-Learn Everything

Logs example

12/03/2022 2 sdf@gmail.xom adf@hotmail.com

13/3/2021 3 sdd@hotmail.com adf@gmqil.com sfgvc@orkut.com

It's like cout and email id will be varing every time 

So how to get that dynamically 

And further variable should be used to analyze  also

 

0 Karma
Get Updates on the Splunk Community!

Splunk Observability for AI

Don’t miss out on an exciting Tech Talk on Splunk Observability for AI! Discover how Splunk’s agentic AI ...

[Puzzles] Solve, Learn, Repeat: Dereferencing XML to Fixed-length events

This challenge was first posted on Slack #puzzles channelFor a previous puzzle, I needed a set of fixed-length ...

Stay Connected: Your Guide to December Tech Talks, Office Hours, and Webinars!

What are Community Office Hours? Community Office Hours is an interactive 60-minute Zoom series where ...