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
Career Survey
First 500 qualified respondents will receive a $20 gift card! Tell us about your professional Splunk journey.
Get Updates on the Splunk Community!

Tech Talk Recap | Mastering Threat Hunting

Mastering Threat HuntingDive into the world of threat hunting, exploring the key differences between ...

Observability for AI Applications: Troubleshooting Latency

If you’re working with proprietary company data, you’re probably going to have a locally hosted LLM or many ...

Splunk AI Assistant for SPL vs. ChatGPT: Which One is Better?

In the age of AI, every tool promises to make our lives easier. From summarizing content to writing code, ...