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!

Routing logs with Splunk OTel Collector for Kubernetes

The Splunk Distribution of the OpenTelemetry (OTel) Collector is a product that provides a way to ingest ...

Welcome to the Splunk Community!

(view in My Videos) We're so glad you're here! The Splunk Community is place to connect, learn, give back, and ...

Tech Talk | Elevating Digital Service Excellence: The Synergy of Splunk RUM & APM

Elevating Digital Service Excellence: The Synergy of Real User Monitoring and Application Performance ...