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!

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 ...