Getting Data In

Splunk Docker container behind NGINX proxy - JSON error


I am trying to use Splunk in a docker container behind an NGINX proxy. It is working for the most part but I get error when trying to upload lookup files or modify any server settings -

"Your entry was not saved. The following error was reported: SyntaxError: Unexpected token < in JSON at position 0."

Has anyone seen this before or have experience working with Splunk behind NGINX proxy?

Note: I have web.conf configured with "root_endpoint = /splunk"


0 Karma


I never quite figured this out but found that keeping splunk as the root / in NGINX instead of /splunk fixed the problem. 

0 Karma
Get Updates on the Splunk Community!

Observability Highlights | January 2023 Newsletter

 January 2023New Product Releases Splunk Network Explorer for Infrastructure MonitoringSplunk unveils Network ...

Security Highlights | January 2023 Newsletter

January 2023 Splunk Security Essentials (SSE) 3.7.0 ReleaseThe free Splunk Security Essentials (SSE) 3.7.0 app ...

Platform Highlights | January 2023 Newsletter

 January 2023Peace on Earth and Peace of Mind With Business ResilienceAll organizations can start the new year ...