How to disable shutdown API?

You just need to add action.disable_shutdown : true as is in the
elasticsearch.yml (don't put it in any namespace) and then restart the node.

On 29 May 2013 17:41, Damien damien.soulard@gmail.com wrote:

Hello,

I'm using FOQ elastica bundle and I'm trying to disable shutdown API for
security reasons.
According to this link
Elasticsearch Platform — Find real-time answers at scale | Elastic,
you just need to add this line: action.disable_shutdown in the node
configuration. So here is my elasticsearch.yml structure:
foq_elastica:
clients:
search1:
host: %elasticsearch-server%
port: %elasticsearch-port%

default_client: search1

indexes:
    website:
        client: search1
        settings:
            index:
                analysis:
                    analyzer: ...
                    filter: ...
            types: ...

I've tried to put "node: action.disable_shutdown" in the "settings"
namespace but it does not work I'm still able to shutdown ES.
I have no idea where to put this code so if someone has an idea that would
be great. And also, I restart and populate each time I made a modification.
Thanks!

--
You received this message because you are subscribed to the Google Groups
"elasticsearch" group.
To unsubscribe from this group and stop receiving emails from it, send an
email to elasticsearch+unsubscribe@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.

--
Met vriendelijke groet,

Martijn van Groningen

--
You received this message because you are subscribed to the Google Groups "elasticsearch" group.
To unsubscribe from this group and stop receiving emails from it, send an email to elasticsearch+unsubscribe@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.