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!

Index This | I am a number, but when you add ‘G’ to me, I go away. What number am I?

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

What’s New in Splunk App for PCI Compliance 5.3.1?

The Splunk App for PCI Compliance allows customers to extend the power of their existing Splunk solution with ...

Extending Observability Content to Splunk Cloud

Register to join us !   In this Extending Observability Content to Splunk Cloud Tech Talk, you'll see how to ...