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!

Splunk Custom Visualizations App End of Life

The Splunk Custom Visualizations apps End of Life for SimpleXML will reach end of support on Dec 21, 2024, ...

Introducing Splunk Enterprise 9.2

WATCH HERE! Watch this Tech Talk to learn about the latest features and enhancements shipped in the new Splunk ...

Adoption of RUM and APM at Splunk

    Unleash the power of Splunk Observability   Watch Now In this can't miss Tech Talk! The Splunk Growth ...