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!

.conf25 Registration is OPEN!

Ready. Set. Splunk! Your favorite Splunk user event is back and better than ever. Get ready for more technical ...

Detecting Cross-Channel Fraud with Splunk

This article is the final installment in our three-part series exploring fraud detection techniques using ...

Splunk at Cisco Live 2025: Learning, Innovation, and a Little Bit of Mr. Brightside

Pack your bags (and maybe your dancing shoes)—Cisco Live is heading to San Diego, June 8–12, 2025, and Splunk ...