Dashboards & Visualizations

Is it possible to have a secondary Axis on a line graph in Splunk?

tamnor
Explorer

Hi all,

I am using Splunk to generate a graph of http request vs response times to determne which requests have the highest average response time. I also want to include the count value for each http request so that the graph shows for each request, it's average response time and the number of instances of this request e.g request /****/customer/claimDetails.html had an average response time of 1164.60ms and there were 10 instances of this request sent in a given time period.

Is it possible for me to include the count value on a secondary vertical axis? Because the responseTime is in ms and the count is normally relatively small numbers the graph is not very readable if these are on the same axis.

It doesn't look like this is possible in Splunk, at least it isn't obvious. My other option is to export the data to excell and create the graph in there.

Thanks.

Tam.

Tags (2)
0 Karma
1 Solution

jonuwz
Influencer

Yes it is provided you use FlashChart.

See here

View solution in original post

0 Karma

naveenkana
Explorer

In the new versions of splunk you can use the chart overlay setting

0 Karma

jonuwz
Influencer

Yes it is provided you use FlashChart.

See here

0 Karma

tamnor
Explorer

Thanks Jonuwz.

0 Karma

jonuwz
Influencer

Pretty sure that if you're using simple xml then it'll revert to using FlashChart if you use features that only FlashChart supports. If not you'll have to use Advanced XML. In Advanced XML you can specify FlashChart or JSChart explicitly

0 Karma

tamnor
Explorer

So how do I set up Splunk so that it uses FlashChart? When I edit the dashboard the xml for the chart looks like below. So I assume it is using JSChart. I have been searching through the documentation but can't find an answer.

<?xml version='1.0' encoding='utf-8'?>




tamArenaRequestResponseTimes
tamArenaRequestResponseTimes
line
<option ...

0 Karma
Get Updates on the Splunk Community!

Index This | I am a number, but when you add ‘G’ to me, I go away. What number am I?

March 2024 Edition Hayyy Splunk Education Enthusiasts and the Eternally Curious!  We’re back with another ...

What’s New in Splunk App for PCI Compliance 5.3.1?

The Splunk App for PCI Compliance allows customers to extend the power of their existing Splunk solution with ...

Extending Observability Content to Splunk Cloud

Register to join us !   In this Extending Observability Content to Splunk Cloud Tech Talk, you'll see how to ...