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!

Earn a $35 Gift Card for Answering our Splunk Admins & App Developer Survey

Survey for Splunk Admins and App Developers is open now! | Earn a $35 gift card!      Hello there,  Splunk ...

Continuing Innovation & New Integrations Unlock Full Stack Observability For Your ...

You’ve probably heard the latest about AppDynamics joining the Splunk Observability portfolio, deepening our ...

Monitoring Amazon Elastic Kubernetes Service (EKS)

As we’ve seen, integrating Kubernetes environments with Splunk Observability Cloud is a quick and easy way to ...