Splunk Search

I want to create the table in Splunk for last 3 months

ramkyreddy
Explorer

TC Execution Summary for Last Quarter

No. of job runsAUSJERINDASI
August150121110200
Sept200140150220
Oct100160130420


I want to write a query for the above table 

Labels (3)
0 Karma

ramkyreddy
Explorer

This is my raw data, I have to calculate the last 3 months executions

date monthcountriesJobs type
NovemberAUSExecution
OctoberJERExecution
SeptemberINDExecution
AugustASIExecution
0 Karma

yuanliu
SplunkTrust
SplunkTrust

Suppose that is raw data, and suppose the table in your original post is desired result - illustrate again if that's not the case, can you describe the logic to obtain that table from this table?  Also, can you post the output of the chart command that I proposed (replacing "month" with "date month" if that's the correct field name), and tell us why that output is not desired?  Post both the actual search and actual results in text (anonymize as needed).

0 Karma

yuanliu
SplunkTrust
SplunkTrust

As far as I know, no volunteer here possesses mind-reading superpower.  If you want concrete help, illustrate (in text) relevant data input (anonymize as needed but preserver key characteristics), illustrate (in text) desired output - you already did, then explain the logic to arrive at result from input.

If you have a field called "month" with values "August", "Sept", "Oct", and have a field named country with values "AUS", "JER", "IND", "ASI", this search will give you a semblance of what you illustrated.

| chart count over month by country

 

ramkyreddy
Explorer

Thanks for your support its worked for me.

0 Karma
Get Updates on the Splunk Community!

Splunk Mobile: Your Brand-New Home Screen

Meet Your New Mobile Hub  Hello Splunk Community!  Staying connected to your data—no matter where you are—is ...

Introducing Value Insights (Beta): Understand the Business Impact your organization ...

Real progress on your strategic priorities starts with knowing the business outcomes your teams are delivering ...

Enterprise Security (ES) Essentials 8.3 is Now GA — Smarter Detections, Faster ...

As of today, Enterprise Security (ES) Essentials 8.3 is now generally available, helping SOC teams simplify ...