Getting Data In

How do I resolve this error: [SPLUNKD] Not Found?

ServiceNow_SecO
Observer

Hi,

I am using the Splunk version 8.2.8

when I am trying to open the setup page of Splunk Add-on : ServiceNow Security Operations Integration

Then i am getting below error on console

 

Screenshot 2022-11-23 at 4.54.20 PM.png

 Can anyone please help on this?

Above error is not coming in Splunk version 9.0.2. Add-on working fine with this version.

Tags (1)
0 Karma

Brett
SplunkTrust
SplunkTrust

The developer appears to be using the wrong REST URL

It should be
splunkd/__raw/services/TA-ServiceNow-SecOps_Setup

I would report this to customersupport@servicenow.com

0 Karma

sloshburch
Ultra Champion

I don't typically start with the browser tools when working on issues with Splunk. At least not at first.

What is the actual issue in the Splunk UI? What is not functionally working the way you expect? How can someone reproduce this issue? Which app does this correspond to, including the link to that app on Splunkbase, so others can reproduce this? (There is no app on Splunkbase called "Splunk Add-on : ServiceNow Security Operations Integration"). Please be as specific as possible so others can help reproduce the questioned behavior.

I see there are 10 messages (upper right). What are they? What errors did you see in the _internal logs that were related to the issue you are experiencing.

0 Karma

ServiceNow_SecO
Observer

Hi @sloshburch 

Please see the below mention steps to reproduce the issue.

Step1 : download the Add-on - https://splunkbase.splunk.com/app/3921

Step2 : Install This Add-on in Splunk version 8.2.8

Step3 : Once installation succeed. Click on setup page link (see below screenshot)

Screenshot 2022-11-29 at 3.12.45 PM.png

Step4 : Once clicked. open Developer tool and check the error in Console (see below screenshot)

Screenshot 2022-11-29 at 3.16.22 PM.png

Actual Problem is related to call API

when we click on setup page one API is getting call from backend and its saying that not able to find that API thats why 404 error is coming.

 

Even though if you install same Add-on https://splunkbase.splunk.com/app/3921 in Splunk version 9.0.1, Its working fine. able to hit API and fetching the response.

 

Way how we are calling API From Javascript file

var endpoint = new splunkjs.Service.Endpoint(splunk_js_sdk_service, "/TA-ServiceNow-SecOps_setup/myinstance");

This above endpoint is properly configured in "restmap.conf" file and working fine in splunk version 9.0.1 as mentioned above

 
how we configured end point in restmap.conf file
[admin:sn_sec_instance]
match = /TA-ServiceNow-SecOps_setup
members = myinstance
 
[admin_external:myinstance]
handlertype = python
handlerfile = sn_instance.py
handleractions = list, edit, create
python.version = python3
 
we couldn't able to find any log in index="_internal" related to this issue.
  
Let me know, if further info required from my side
0 Karma

splunkian
Path Finder

I tested this on a Docker instance running Splunk 8.2.8 and by default the app loads fine with no error.

However, if I remove the web.conf from the app, then I get the exact error you are seeing.

Is it possible the web.conf file is missing or something with permissions is preventing Splunk from seeing the app's web.conf file on your 8.2.8 instance?

0 Karma
Got questions? Get answers!

Join the Splunk Community Slack to learn, troubleshoot, and make connections with fellow Splunk practitioners in real time!

Meet up IRL or virtually!

Join Splunk User Groups to connect and learn in-person by region or remotely by topic or industry.

Get Updates on the Splunk Community!

Announcing Modern Navigation: A New Era of Splunk User Experience

We are excited to introduce the Modern Navigation feature in the Splunk Platform, available to both cloud and ...

Modernize your Splunk Apps – Introducing Python 3.13 in Splunk

We are excited to announce that the upcoming releases of Splunk Enterprise 10.2.x and Splunk Cloud Platform ...

Step into “Hunt the Insider: An Splunk ES Premier Mystery” to catch a cybercriminal ...

After a whole week of being on call, you fell asleep on your keyboard, and you hit a sequence of buttons that ...