Splunk Search

How to set a Static threshold value on Line chart

Anne_Landry
Explorer

Here is my search for transaction response times on web logs:

index=bridger sourcetype=bridger_wbs_txns User_ID=rtm_primary_1 | eval "Transaction time"= Trans_time | timechart max(Transaction time), min(Transaction time), avg(Transaction time)

I want to display a static line across the chart which represents 4.5seconds as a threshold value. That way, I can see which transactions are exceeding threshold. At times, threshold values change with SLAs. How can this be accomplished?

thanks,
Anne

0 Karma
1 Solution

Anne_Landry
Explorer

I ended up creating a lookup table to set this static value. Each transaction type (there were 3) has a unique threshold value. Once this lookup table was scheduled to run automatically, this worked well plus it gave me a new field in the index.

View solution in original post

0 Karma

Anne_Landry
Explorer

I ended up creating a lookup table to set this static value. Each transaction type (there were 3) has a unique threshold value. Once this lookup table was scheduled to run automatically, this worked well plus it gave me a new field in the index.

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!

Think Like an Architect: Introducing the Splunk Certified Cybersecurity Defense ...

In cybersecurity, defenders respond to threats. Architects design the systems that stop them.    As ...

Best Practices: Splunk auto adjust pipeline queue

When you enable autoAdjustQueue in Splunk, maxSize should be understood as the queue size Splunk starts with ...

Announcing Modern Navigation: A New Era of Splunk User Experience

We are excited to introduce the Modern Navigation feature in the Splunk Platform, available to both cloud and ...