Other Usage

How to get the data from splunk

aditsss
Motivator

Hi Everyone ,

I have two applications and I have created dashboards forteh apps:

index=epaas_epaas2_idx ns=blazegateway app_name=blazecrsgateway*

I need to get the below info:

  1. Total YTD Volume for PSF Push API
  2. Total Volume to GRS YTD

Can someone guide me how we can get the above two information with index,ns and app name.

Labels (2)
0 Karma

gcusello
SplunkTrust
SplunkTrust

Hi @aditsss,

could you better describe your request:

  • YTD is a numeric field to sum?
  • what's the field to sum to have Total Volume?
  • what are "PSF Push API" and "GRS YTD", values of a field? what field?

Anyway, if I correctly supposed your fields and if they all are fields, you could run something like this:

index=epaas_epaas2_idx ns=blazegateway app_name=blazecrsgateway*
| stats 
     sum(YTD) AS "Total YTD Volume" 
     sum(Volume) AS GRS YTD 
     values(index) AS index 
     values(ns) AS ns 
     values(app_name) AS app_name 
     BY PSF_Push_API

At least I hint to follow the Splunk Search Tutorial (https://docs.splunk.com/Documentation/Splunk/8.2.3/SearchTutorial/WelcometotheSearchTutorial) to be autonomous in your searches.

Ciao.

Giuseppe

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 ...