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!

Announcing Scheduled Export GA for Dashboard Studio

We're excited to announce the general availability of Scheduled Export for Dashboard Studio. Starting in ...

Extending Observability Content to Splunk Cloud

Watch Now!   In this Extending Observability Content to Splunk Cloud Tech Talk, you'll see how to leverage ...

More Control Over Your Monitoring Costs with Archived Metrics GA in US-AWS!

What if there was a way you could keep all the metrics data you need while saving on storage costs?This is now ...