Dashboards & Visualizations

how to create second y-axis

mvaradarajam
Path Finder

i have an requirement to display two Y-axis in a chart and first y-axis displays the success counts and 2nd y-axis displays the percentage.i use the following code .







*search query******

-7d@d
@d

Here it is working fine, but is in the dashboard it dispays two charts (chart1 id,table)charts,i dnt want table chart in dashboard panel,how to remove that one.here we are passing table id value into javascript

java script

var tableManagerid = mvc.Components.get('table1').settings.get('managerid');
var chart = new D3ChartView({
"id": "chart1",
"managerid": tableManagerid,
"type": "linePlusBarChart",
"el": $('#chart1')
}).render();

how to give "table1" value(search query) directly in javascript as a ID value.

please help me from this issue.

0 Karma

niketn
Legend

Can you add a sample screenshot of how you want Y axis output? Can this be done directly via Chart Overlay without using JS extension?

____________________________________________
| makeresults | eval message= "Happy Splunking!!!"
0 Karma

hariram159
Explorer

what if you use single y-axis with a bar graph showing success count and hover a mouse over a bar to see the percentage of it. can you try that.

0 Karma
Get Updates on the Splunk Community!

Introducing Splunk Enterprise 9.2

WATCH HERE! Watch this Tech Talk to learn about the latest features and enhancements shipped in the new Splunk ...

Adoption of RUM and APM at Splunk

    Unleash the power of Splunk Observability   Watch Now In this can't miss Tech Talk! The Splunk Growth ...

Routing logs with Splunk OTel Collector for Kubernetes

The Splunk Distribution of the OpenTelemetry (OTel) Collector is a product that provides a way to ingest ...