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!

SOC4Kafka - New Kafka Connector Powered by OpenTelemetry

The new SOC4Kafka connector, built on OpenTelemetry, enables the collection of Kafka messages and forwards ...

Your Voice Matters! Help Us Shape the New Splunk Lantern Experience

Splunk Lantern is a Splunk customer success center that provides advice from Splunk experts on valuable data ...

Building Momentum: Splunk Developer Program at .conf25

At Splunk, developers are at the heart of innovation. That’s why this year at .conf25, we officially launched ...