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
Splunk Employee
Splunk Employee

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
Career Survey
First 500 qualified respondents will receive a $20 gift card! Tell us about your professional Splunk journey.
Get Updates on the Splunk Community!

Introduction to Splunk AI

How are you using AI in Splunk? Whether you see AI as a threat or opportunity, AI is here to stay. Lucky for ...

Splunk + ThousandEyes: Correlate frontend, app, and network data to troubleshoot ...

Are you tired of troubleshooting delays caused by siloed frontend, application, and network data? We've got a ...

Maximizing the Value of Splunk ES 8.x

Splunk Enterprise Security (ES) continues to be a leader in the Gartner Magic Quadrant, reflecting its pivotal ...