Splunk Dev

Importing Data into Splunk

Temp
Observer

I have real-time data that I am getting by running a python script using Splunk SDK. My requirement is to upload this data back into a Splunk Dashboard.  I wrote a python script initially because the operations  I had on the data were a bit complicated.

Can I upload this into a dashboard using API calls? Whatever API calls I found online only let me upload the XML content of a dashboard.

If it is not possible in a dashboard is there any other alternative way I could present this data using Splunk?

Labels (4)
Tags (3)
0 Karma

richgalloway
SplunkTrust
SplunkTrust

One does not send data to a dashboard.  One puts data into an index or lookup and then dashboards search for that data and display it.

Have you considered running your script as a modular input?  That way the output of the script is indexed by Splunk and can be found and used by dashboards, etc.

---
If this reply helps you, Karma would be appreciated.
0 Karma
Get Updates on the Splunk Community!

Splunk at Cisco Live 2025: Learning, Innovation, and a Little Bit of Mr. Brightside

Pack your bags (and maybe your dancing shoes)—Cisco Live is heading to San Diego, June 8–12, 2025, and Splunk ...

Splunk App Dev Community Updates – What’s New and What’s Next

Welcome to your go-to roundup of everything happening in the Splunk App Dev Community! Whether you're building ...

The Latest Cisco Integrations With Splunk Platform!

Join us for an exciting tech talk where we’ll explore the latest integrations in Cisco + Splunk! We’ve ...