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!

What's new in Splunk Cloud Platform 9.1.2312?

Hi Splunky people! We are excited to share the newest updates in Splunk Cloud Platform 9.1.2312! Analysts can ...

What’s New in Splunk Security Essentials 3.8.0?

Splunk Security Essentials (SSE) is an app that can amplify the power of your existing Splunk Cloud Platform, ...

Let’s Get You Certified – Vegas-Style at .conf24

Are you ready to level up your Splunk game? Then, let’s get you certified live at .conf24 – our annual user ...