I can't install bulk plugin

I'm trying to install bulk but get this error.

plugin install -v bulk
-> Installing bulk...
Trying https://download.elastic.co/elasticsearch/release/org/elasticsearch/plugin/bulk/2.3.1/bulk-2.3.1.zip ...
Failed: SocketTimeoutException[connect timed out]
ERROR: failed to download out of all possible locations..., use --verbose to get detailed information

What is the bulk plugin?

is a plugin needed to use in log4j2 lib

_bulk is an API endpoint that exists in ES by default.

:worried:

why i can access http://localhost:9200/_bulk

{"error":{"root_cause":[{"type":"illegal_argument_exception","reason":"No feature for name [_bulk]"}],"type":"illegal_argument_exception","reason":"No feature for name [_bulk]"},"status":400}

You can't just call _bulk like that, see https://www.elastic.co/guide/en/elasticsearch/reference/2.3/docs-bulk.html

thanks.. i will open another question about log4j2. thks

Dear @jonas.lima if you have questions about my plugin, you can also open an issue at github https://github.com/jprante/log4j2-elasticsearch-http/issues

There is no "bulk plugin" required, the error you get is expected, because _bulk endpoint of Elasticsearch does not accept HTTP GET method. The message No feature for... is misleading.

Now log4j appender have sent messages. Tnks by your library. you could be put in maven repository?