Unable to GET endpoint

I am having an issue running the command curl -XGET -k -u username:password https://localhost:9200/_cat/health on Elasticsearch 6.2.2 with X-Pack installed. It is returning a 500 error whenever the xpack.security.audit.enabled option is set to 'true'. However other endpoints such as "https://localhost:9200/_cat/nodes" work fine when the option is set to true.

Output from running command:

{"error":{"root_cause":[{"type":"null_pointer_exception","reason":null}],"type":"null_pointer_exception","reason":null},"status":500}

Any help would be greatly appreciated.

I moved this to #x-pack.
Do you have a stacktrace in elasticsearch logs?
If so could you share it?

Thanks for your response, I do have a stack trace but it seems that the WARN message is too long to be posted here.

I'm afraid that you've run into a known bug in 6.2.
It will be fixed in the next release.

Thanks for your time!

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.