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
Get Updates on the Splunk Community!

Index This | Why did the turkey cross the road?

November 2025 Edition  Hayyy Splunk Education Enthusiasts and the Eternally Curious!   We’re back with this ...

Enter the Agentic Era with Splunk AI Assistant for SPL 1.4

  🚀 Your data just got a serious AI upgrade — are you ready? Say hello to the Agentic Era with the ...

Feel the Splunk Love: Real Stories from Real Customers

Hello Splunk Community,    What’s the best part of hearing how our customers use Splunk? Easy: the positive ...