macoselasticsearchasdf

Changing asdf installed elasticsearch settings on MacBook Pro


I have installed elasticsearch 7.x (7.10.2) and 8.x (8.1.2) successfully with asdf and both appear to run on my local system without issue.

I'm unable to find out where elasticsearch was installed on my local machine and how to change the security settings to make 8.x work like 7.x.

There's not much documentation that does along with asdf-elasticsearch and almost all google searches land with articles about homebrew-installed elasticsearch (which ceased as the package manager after elasticsearch 7.x)

How can you find out where elasticsearch was installed by asdf on a mac and how can you change the security settings on the 8.x version?


Solution

  • Find the location of the installation

    To allow for all anonymous requests, edit the following

    # Enable security features
    xpack.security.enabled: false
    

    Note: This will remove all security features of elasticsearch on your local (or whatever server) you choose. YMMV