Getting Data In

What is the equivilant method of Input lookup using Splunk 6.3 SDK Javascript API

theoborrero
Explorer

Hi ,

I am creating a new dashboard in html and javascript , I have not downloaded the Splunk 6.3 SDK JavaScript yet.

I have two question , how do I connect to my Splunk .csv files using Java script in Splunk 6.3?

Do I need to download the Splunk SDK JavaScript API library to accomplishd this Splunk 6.3 ?

Tags (2)
0 Karma

jplumsdaine22
Influencer

Oh I see you want to perofrm input lookups from javascript.

Have you run through the custom viz tutorial http://dev.splunk.com/view/SP-CAAAEQ8 ?

There should be some info there.

jplumsdaine22
Influencer

@theoborreo don't forget if the answer was useful please "accept" by clicking the accept button next to "award points" above this comment

0 Karma

jplumsdaine22
Influencer

Hi What do you mean by splunk .csv files?

0 Karma

theoborrero
Explorer

The excel csv files , where splunk stores field values in from saved searches in Splunk.
Example ; xvz.csv

Below is how we are currently pulling these index values from the .csv (using xml) but I would like to pull those same index fields from that same .csv file using javascript in Splunk

   <param name="search"><![CDATA[

| inputlookup xvz.csv | fillnull value=* | fields Index, sourcetype, env, jvm_name]]>


  1. dedup sourcetype | sort sourcetype dropBox 6
  2. sourcetype sourcetype sourcetype=$value$ Sourcetype
0 Karma
Get Updates on the Splunk Community!

Enterprise Security Content Update (ESCU) | New Releases

In December, the Splunk Threat Research Team had 1 release of new security content via the Enterprise Security ...

Why am I not seeing the finding in Splunk Enterprise Security Analyst Queue?

(This is the first of a series of 2 blogs). Splunk Enterprise Security is a fantastic tool that offers robust ...

Index This | What are the 12 Days of Splunk-mas?

December 2024 Edition Hayyy Splunk Education Enthusiasts and the Eternally Curious!  We’re back with another ...