Splunk Search

Facing issues with Reports

Amit79
Loves-to-Learn Everything

Hello All,

I  am calculating burnrate in splunk,  and using addinfo for enrichment to display it on the dashboard.

Burnrate is getting calculated but previous day burnrate is not getting stored which splunk could refer.

I am running the report and pushing the values to it using outputlookup command, &  from there below script is reading it.

In Dev environment its working fine, but when  I am moving to production its breaking, the values are getting calculated but nit getting saved and burnrate values are not getting connected as per below graph.

Here is the script

| inputlookup append=t lkp_add.csv | addinfo
| eval timestamp=if(isnull(timestamp),round(strptime(date + " 23:59:59","%Y-%m-%d %H:%M:%S"), 0), timestamp), threshold=1
| where desc="add info" and timestamp>=(now()-(info_max_time-info_min_time))
| stats max(burnrate) as burnrate max(threshold) as threshold by timestamp
| eval _time=strptime(timestamp,"%s") | timechart max(burnrate) as burnrate max(threshold) as threshold

 

 

Amit79_0-1696287422260.png

 

Labels (1)
0 Karma

inventsekar
SplunkTrust
SplunkTrust

Hi @Amit79 ... as you are saying its working fine in Dev and its not working in prod.. so something missing /wrong in the prod environment. 

Pls confirm the lookup file in prod if its having yesterdays data or not.. pls compare dev and prod for the lookup file, search command.. etc.. thanks. 

0 Karma
Get Updates on the Splunk Community!

Introducing the Splunk Community Dashboard Challenge!

Welcome to Splunk Community Dashboard Challenge! This is your chance to showcase your skills in creating ...

Built-in Service Level Objectives Management to Bridge the Gap Between Service & ...

Wednesday, May 29, 2024  |  11AM PST / 2PM ESTRegister now and join us to learn more about how you can ...

Get Your Exclusive Splunk Certified Cybersecurity Defense Engineer Certification at ...

We’re excited to announce a new Splunk certification exam being released at .conf24! If you’re headed to Vegas ...