Getting Data In

Splunk Docker container behind NGINX proxy - JSON error

DanielleM
Explorer

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"

Thanks!

0 Karma

DanielleM
Explorer

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!

Splunk at Cisco Live 2025: Learning, Innovation, and a Little Bit of Mr. Brightside

Pack your bags (and maybe your dancing shoes)—Cisco Live is heading to San Diego, June 8–12, 2025, and Splunk ...

Splunk App Dev Community Updates – What’s New and What’s Next

Welcome to your go-to roundup of everything happening in the Splunk App Dev Community! Whether you're building ...

The Latest Cisco Integrations With Splunk Platform!

Join us for an exciting tech talk where we’ll explore the latest integrations in Cisco &#43; Splunk! We’ve ...