All Apps and Add-ons

Splunk Add On Builder REST API Input 401 Unauthorized Error

p_gurav
Champion

Hi Splunkers,

I am working with Splunk add on builder to create REST API input.
I have put REST API e.g. https://abc.com/results?format=json in REST URL and passing username and password as data input parameters.
But I am getting below error:
The response status=401 for request which url=https://abc.com/results?format=json and method=GET

No other parameter has been added.

Can anyone help me to resolve this?

0 Karma

thambisetty
SplunkTrust
SplunkTrust

I believe there is an issue with authentication. first find authentication type supported by REST API. If its oauth2 then you can't achieve with default functionality of Splunk Add-on Builder. you need to write your own code.

————————————
If this helps, give a like below.
0 Karma

fed_kerr
Explorer

Did you find any solutions on this?

0 Karma

fed_kerr
Explorer

did you find any solutions?

0 Karma

p_gurav
Champion

Any help guys!!

0 Karma
Get Updates on the Splunk Community!

Introducing the 2024 SplunkTrust!

Hello, Splunk Community! We are beyond thrilled to announce our newest group of SplunkTrust members!  The ...

Introducing the 2024 Splunk MVPs!

We are excited to announce the 2024 cohort of the Splunk MVP program. Splunk MVPs are passionate members of ...

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, ...