All Apps and Add-ons

Splunk Stream TA - Unable to ping server

thetech
Explorer

Hello all,

I have a distributed environment containing the following:

  • 3 x Search heads (1 captain)
  • 4 x Indexers clustered
  • 1 x dedicated linux server for Splunk Stream (UF + TA addon)
  • 1 x deployment server
  • 1x SHCD
  • 1x CM

The problem I am having is that for unknown reasons the dedicated splunk stream server is now unable to ping the server with the splunk stream app.

This all was working but I fear I have made a config slip up somewhere.

The Splunk stream TA is deployed to the dedicated stream server from the deployment server and contains the following files/config

  • inputs.conf
  • streamfwdlog.conf

inputs.conf -

[streamfwd://streamfwd]
splunk_stream_app_location = https://<SERVER_IP>:8000/en-us/app/splunk_app_stream/
stream_forwarder_id =
disabled = 0

I am able to successfully navigate to the stream app location

But the streamfwd logs are showing the following error message

  • stream.CaptureServer - Unable to ping server (d6e0ed72-789a-4044-95f7-7de95ddbb221): /en-us/app/splunk_app_stream/ping/ status=303

If I navigate to the same URL with "ping" appended then it returns a 404.

If you require any other info please let me know.

Regards

Labels (3)
0 Karma
1 Solution

thetech
Explorer

### Update - Resolved ###

Issue has been resolved.

All the inputs.conf files had the following URL configured:

  • 8000/en-us/app/splunk_app_stream/

The Splunk Stream TA will try and append "ping" to the URL in the inputs.conf.

The appended ping only exists on the following URL

  • 8000/en-us/custom/splunk_app_stream/

So the fix is to change the URL to en-us/custom/splunk_app_stream/  instead of en-us/app/splunk_app_stream/     in your TA inputs.conf

 

 

View solution in original post

thetech
Explorer

### Update - Resolved ###

Issue has been resolved.

All the inputs.conf files had the following URL configured:

  • 8000/en-us/app/splunk_app_stream/

The Splunk Stream TA will try and append "ping" to the URL in the inputs.conf.

The appended ping only exists on the following URL

  • 8000/en-us/custom/splunk_app_stream/

So the fix is to change the URL to en-us/custom/splunk_app_stream/  instead of en-us/app/splunk_app_stream/     in your TA inputs.conf

 

 

freddy_Guo
Path Finder

You deserve all the kudos. 

We had app and custom did the trick. 

0 Karma

dm1
Contributor

This really helped me fix my problem.

this should definitely go in the Splunk Stream docs. There are numerous additions required to the docs.

Please convert your reply into an "answer"

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!

Tech Talk Recap | Mastering Threat Hunting

Mastering Threat HuntingDive into the world of threat hunting, exploring the key differences between ...

Observability for AI Applications: Troubleshooting Latency

If you’re working with proprietary company data, you’re probably going to have a locally hosted LLM or many ...

Splunk AI Assistant for SPL vs. ChatGPT: Which One is Better?

In the age of AI, every tool promises to make our lives easier. From summarizing content to writing code, ...