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