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!

A Season of Skills: New Splunk Courses to Light Up Your Learning Journey

There’s something special about this time of year—maybe it’s the glow of the holidays, maybe it’s the ...

Announcing the Migration of the Splunk Add-on for Microsoft Azure Inputs to ...

Announcing the Migration of the Splunk Add-on for Microsoft Azure Inputs to Officially Supported Splunk ...

Splunk Observability for AI

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