Dashboards & Visualizations

JavaScript Question.(table, chart)

qfjp
Explorer

Javascript function using UI(Table,Chart) available?


Table panel example

Top sourcetypes in the last 24 hours index=_internal group=per_sourcetype_thruput | chart sum(kb) by series | sort -sum(kb) -1dnow 5 0

The same table as above can be written in JavaScript?

Tags (1)
0 Karma

psanford_splunk
Splunk Employee
Splunk Employee

We have examples that show how to use the JavaScript SDK to search data here: http://dev.splunk.com/view/SP-CAAAEFA

We also have code examples in the SDK that show how to use the charting library that comes with Splunk in conjunction with the JavaScript SDK. This page shows you how to get those examples up and running: http://dev.splunk.com/view/splunk-javascript-sdk-examples/SP-CAAAEDC

0 Karma
Get Updates on the Splunk Community!

Extending Observability Content to Splunk Cloud

Watch Now!   In this Extending Observability Content to Splunk Cloud Tech Talk, you'll see how to leverage ...

More Control Over Your Monitoring Costs with Archived Metrics!

What if there was a way you could keep all the metrics data you need while saving on storage costs?This is now ...

New in Observability Cloud - Explicit Bucket Histograms

Splunk introduces native support for histograms as a metric data type within Observability Cloud with Explicit ...