Splunk Search

How to create a chart to view Business Transaction counts with line overlays for both highest and lowest data points??

splunkuser354
New Member

I am looking for a chart for the business team to view the transaction counts for last day span hourly (so total of 24 data points) with two overlay graphs that can provide me the highest value of the daily data points seen in last 4 weeks (plus 10%) and lowest daily data point of the last 4 weeks (minus 10%). This would show me a bar graph for the yesterday's hourly volume and line charts (in the same panel) for high and low hourly volume data (+/- 10%).

0 Karma

knielsen
Contributor

There are probably more elegant solutions to this, but this is a possible approach:

index=... earliest=-24h@h latest=@h| timechart span=1h count | join [ search index=... earliest=-4w@h latest=-24h@h | timechart span=1h count | stats max(count) as max min(count) as min | eval max=max*110/100 | eval min=min*90/100 ]

And then set min and max as overlay fields in the visualization.

Hth,
Kai.

0 Karma
Got questions? Get answers!

Join the Splunk Community Slack to learn, troubleshoot, and make connections with fellow Splunk practitioners in real time!

Meet up IRL or virtually!

Join Splunk User Groups to connect and learn in-person by region or remotely by topic or industry.

Get Updates on the Splunk Community!

Why Splunk Customers Should Attend Cisco Live 2026 Las Vegas

Why Splunk Customers Should Attend Cisco Live 2026 Las Vegas     Cisco Live 2026 is almost here, and this ...

What Is the Name of the USB Key Inserted by Bob Smith? (BOTS Hint, Not the Answer)

Hello Splunkers,   So you searched, “what is the name of the usb key inserted by bob smith?”  Not gonna lie… ...

Automating Threat Operations and Threat Hunting with Recorded Future

    Automating Threat Operations and Threat Hunting with Recorded Future June 29, 2026 | Register   Is your ...