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!

SOC4Kafka - New Kafka Connector Powered by OpenTelemetry

The new SOC4Kafka connector, built on OpenTelemetry, enables the collection of Kafka messages and forwards ...

Event Series: Level up your SOC: Advancing with Splunk Enterprise Security

AI has fundamentally raised the stakes for security operations, and this three-part series is your guide to ...

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