Dashboards & Visualizations

Help with javascript SDK

ChhayaV
Communicator

Hi,

I have installed Java-script SDK on my windows splunk 5.0.4 and node.js
But i am not understanding how to run the Java-script codes
can anyone guide me.

i read installation guide given on http://dev.splunk.com/view/SP-CAAAEC9
but not understanding what to copy where totally confused

this is my splunk installation directory
C:\Program Files\Splunk

Path of SDK
D:\Splunk\splunk-sdk-javascript-1.2.1

where i should paste D:\Splunk\splunk-sdk-javascript-1.2.1\client files?

Do i need to paste the SDK also in splunk installation directory?

I want to integrate D3 charts for that will i be needing only client side/ server side scripting or both?

Thanks

Thanks

0 Karma

Drainy
Champion

Have you read this one, http://dev.splunk.com/view/SP-CAAAEFN ? It fully explains what files to move where. When it says your site that's really down to you, the important part is pointing it in the right direction.

ChhayaV
Communicator

hi
thanks . i have updated my question can you answer my doubts related to SDK ?

0 Karma

Drainy
Champion

your website 🙂 So if you want to create client-side javascript to connect to your node.js server side stuff to run searches and view visualisations etc. The client-side stuff must be somewhere for users to load and view within a browser

julianj
Explorer

Thank you very much for the clear explanation. I am trying to do the same thing as ChhayaV with the D3 installation, so if you could kind of explain What is the kind of stuff that will be going on the node.js server side? What is it doing? I understand it will be making the API calls to Splunk? From there it will receive xml/json outputs, and we need to use the client-side to grab that output? If this is the case, are we doing this to separate business logic in gathering Splunk Data? (in which the business logic lies solely on the node js side)

0 Karma

ChhayaV
Communicator

hi
i may sound stupid but actually when it says "your site" i don't understand what it means. can you please elaborate?

0 Karma
Got questions? Get answers!

Join the Splunk Community Slack to learn, troubleshoot, and make connections with fellow Splunk practitioners in real time!

Meet up IRL or virtually!

Join Splunk User Groups to connect and learn in-person by region or remotely by topic or industry.

Get Updates on the Splunk Community!

SOK it to Me: Top 3 Benefits of Using Splunk Operator on Kubernetes that’ll Make ...

    Thursday, July 9, 2026  |  11:00AM–12:00PM PDT Duration: 1 hour (includes Q&A) Managing can feel like a ...

Upgrade Prep for 10.4, Network Observability Deep Dives, and More from Splunk Lantern

Splunk Lantern is Splunk’s customer success center that provides practical guidance from Splunk experts on key ...

Splunk Developer Day announcements: AI agents, MCP tools, Forecasting, and Custom ...

Splunk Developer Day was packed with product and platform updates for developers building in the AI ...