Splunk Search

How to create report for below search with out doing it manually for each?

revanthammineni
Path Finder

Hi Splunkers,

 

I have the statistics for example

Country.          Sites                                Stats

USA.                   DC, NY                             4.8

China                  Beijing, Shanghai         5.2

India                    Mumbai, Delhi               6.2

Australia             Melbourne, Sydney     7.8

…..


let’s say I have 50 countries data there and I have to take a report for each country. How can I do it with out doing it manually for each country? 
any advice? 

 

0 Karma

bowesmana
SplunkTrust
SplunkTrust

Of those figures, what do you want to end up with? Generally you would do

| stats _calc_something_here by Country

to get what you want by each country

0 Karma

revanthammineni
Path Finder

It’s just an example. I have like 60 rows of a different data set and I need to download csv for each row.
just like here, one for each country.  I need a way to do all of these in one go. 


USA.                   DC, NY                             4.8

0 Karma

bowesmana
SplunkTrust
SplunkTrust

What do you mean 'download a csv for each row'? Where is this CSV coming from? Is this data in Splunk already?

0 Karma
Got questions? Get answers!

Join the Splunk Community Slack to learn, troubleshoot, and make connections with fellow Splunk practitioners in real time!

Meet up IRL or virtually!

Join Splunk User Groups to connect and learn in-person by region or remotely by topic or industry.

Get Updates on the Splunk Community!

[Puzzles] Solve, Learn, Repeat: Character substitutions with Regular Expressions

This challenge was first posted on Slack #puzzles channelFor BORE at .conf23, we had a puzzle question which ...

Splunk Community Badges!

  Hey everyone! Ready to earn some serious bragging rights in the community? Along with our existing badges ...

[Puzzles] Solve, Learn, Repeat: Matching cron expressions

This puzzle (first published here) is based on matching timestamps to cron expressions.All the timestamps ...