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!

The Splunk Success Framework: Your Guide to Successful Splunk Implementations

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

Splunk Training for All: Meet Aspiring Cybersecurity Analyst, Marc Alicea

Splunk Education believes in the value of training and certification in today’s rapidly-changing data-driven ...

Investigate Security and Threat Detection with VirusTotal and Splunk Integration

As security threats and their complexities surge, security analysts deal with increased challenges and ...