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!

Enter the Agentic Era with Splunk AI Assistant for SPL 1.4

  🚀 Your data just got a serious AI upgrade — are you ready? Say hello to the Agentic Era with the ...

Stronger Security with Federated Search for S3, GCP SQL & Australian Threat ...

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

Accelerating Observability as Code with the Splunk AI Assistant

We’ve seen in previous posts what Observability as Code (OaC) is and how it’s now essential for managing ...