All Apps and Add-ons

Website Monitoring: How to display "response_time" as an overlay line on the y-axis in my chart?

nilotpaldutta
Explorer

Hi Everyone,

I am using Splunk's "Website Monitoring" app to check the status of a few URLs. The output gives code 200 if the URLs are accessible. There are three columns in the table - url, response_code and response_time (in milliseconds).

url response_time   response_code
url1        4193             200
url2        2830             200
url3        2718             200
url4        4460             200

I am trying to plot a graph with:
i) "url" on x-axis
ii) "response_code" on left hand side y-axis.
iii) Display the "response_time" as overlay line on top of it. The values on right hand side y-axis.

I am able to get the (i) and (ii) in the graph, but unable to display the third one as an overlay. Tried a few solutions from Answers, but not working for my conditions.

Searches:

....... | table url, response_time, response_code | chart count over url by response_code
....... | table url, response_time, response_code | chart count by url,response_code

Added this option in the chart, but not seeing the expected result -

....."charting.chart.overlayFields">response_time</option>

If someone knows, kindly respond. Thanks in advance.

0 Karma

jeffland
SplunkTrust
SplunkTrust

You can configure an overlay comfortably via the gui as well. Click the "Format" button (the one with the brush next to the one where you select the type of chart) and go to "Chart Overlay". From there, you can add the series you want to display as overlay and configure whether to use the x axis on the right hand of the chart (which you want) by selecting "View as Axis".

0 Karma
Career Survey
First 500 qualified respondents will receive a $20 gift card! Tell us about your professional Splunk journey.

Can’t make it to .conf25? Join us online!

Get Updates on the Splunk Community!

Can’t Make It to Boston? Stream .conf25 and Learn with Haya Husain

Boston may be buzzing this September with Splunk University and .conf25, but you don’t have to pack a bag to ...

Splunk Lantern’s Guide to The Most Popular .conf25 Sessions

Splunk Lantern is a Splunk customer success center that provides advice from Splunk experts on valuable data ...

Unlock What’s Next: The Splunk Cloud Platform at .conf25

In just a few days, Boston will be buzzing as the Splunk team and thousands of community members come together ...