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!

Dashboards: Hiding charts while search is being executed and other uses for tokens

There are a couple of features of SimpleXML / Classic dashboards that can be used to enhance the user ...

Splunk Observability Cloud's AI Assistant in Action Series: Explaining Metrics and ...

This is the fourth post in the Splunk Observability Cloud’s AI Assistant in Action series that digs into how ...

Brains, Bytes, and Boston: Learn from the Best at .conf25

When you think of Boston, you might picture colonial charm, world-class universities, or even the crack of a ...