Splunk Dev

About using splunkjs.Service

greggz
Communicator

Edit: I was following this tutorial http://dev.splunk.com/view/javascript-sdk/SP-CAAAEFA

I'm trying to run a search, and the first barrier I'm encountering is that I don't have the search() function they mention in splunkjs.Service .. Only this using a console.dir(splunkjs.Service) after encountering the error saying search is not a function

alt text

And it really isn't there. I'm trying to run a search if possible without providing login credentials again. What am I doing wrong ?

0 Karma

rvany
Communicator

Would have been great if you've added some code to work on. Maybe it's just a small typo...

0 Karma
Get Updates on the Splunk Community!

.conf24 | Registration Open!

Hello, hello! I come bearing good news: Registration for .conf24 is now open!   conf is Splunk’s rad annual ...

Splunk is officially part of Cisco

Revolutionizing how our customers build resilience across their entire digital footprint.   Splunk ...

Splunk APM & RUM | Planned Maintenance March 26 - March 28, 2024

There will be planned maintenance for Splunk APM and RUM between March 26, 2024 and March 28, 2024 as ...