How to install ICU plugin for elastic search 6.1? - elasticsearch

The command given in official documentation is not working for me.
the command is:
./bin/plugin -install elasticsearch/elasticsearch-analysis-icu/$VERSION
replaced $VERSION as 2.7.0
./bin/plugin -install elasticsearch/elasticsearch-analysis-icu/2.7.0
I am running the command from the elastic search home directory.
~/elasticsearch-6.1.1$

You must be referring to outdated documentation.
The correct way to install the ICU analysis plugin on 6.1.1 is described here, i.e. run this command from our $ES_HOME folder
bin/elasticsearch-plugin install analysis-icu

Related

Is there a ingest-attachment plugin for Elasticsearch-6.4.2?

Recently i'm using Elasticsearch-6.4.2 and i want to add the Ingest-Attachment plugin into the my Elasticsearch,so that I've went to the official website and download the plugin,however,i only found the plugin for Elasticsearch-6.4.3 and cannot support my version.
You can simply run the following command and the right version will be installed:
bin/elasticsearch-plugin install ingest-attachment
Otherwise, you can also download it from here: https://artifacts.elastic.co/downloads/elasticsearch-plugins/ingest-attachment/ingest-attachment-6.4.2.zip
And then simply install it like this with the offline file:
bin/elasticsearch-plugin install file:///path/to/ingest-attachment-6.4.2.zip

Issue trying to install ElasticSearch plugins in Mac OS El Capitan

I've been trying to install marvel plugin in elastic search.
I've already installed ElasticSearch as following:
brew update
brew install elasticsearch
This installed the 2.3.1 version.
Accordingly to the instructions, to install a plugin I had to go to the ES folder/bin and use the plugin script.
But in that folder there was no plugin script that helped me install the plugins. All there was in the bin folder was the elasticsearch script.
Thanks in advance for any help you can provide me.
For Mac OS, the plugin executable should be available in /usr/local/opt/elasticsearch/bin/plugin
Follow next command and see where plugin system is installed brew list elasticsearch|grep -m1 plugin

elasticsearch marvel installation on windows

I have downloaded elasticsearch2.0 and it runs with no problems. I want to add marvel plugin and tried all instruction on the https://www.elastic.co/guide/en/marvel/current/installing-marvel.html and Install marvel plugin for Elasticsearch - it didn't help.
I am trying to install the plugin on windows8.1 64bit. When I typed
bin/plugin install elasticsearch/marvel/latest
from elasticsearch directory it says:
bin is not recognized as an internal or external command, operable program or batch file
when I typed
plugin install elasticsearch/marvel/latest
from elasticsearch/bin directory it says:
Failed to install elasticsearch/marvel/latest, reason: failed to download out of
all possible locations..., use -verbose to get detailed information
I also tried manual installation. I downloaded latest marvel (2.0) and put in elasticsearch/plugin/marvel directory then run
plugin install marvel -u marvelfilepath
It gives error
unrecognized option -u "-i , -u " commands are not recognized from cmd.
How can I install marvel plugin. Any help is welcome.
Try,copying extracted marvel binaries folder in ES_HOME/plugins directory and restart your node.Restarting the node will automatically pickup plugins available in ES_HOME/plugins directory.

how to install plugin/head for elastic search?

I have installed elastic search and its plugin head but when i enter the
**url
"localhost:9200/_plugin/head/"**
It does not shows any thing?
And I have also install marvel/SENSE for monitoring purpose.
I have installed plugin/head using
sudo elasticsearch/bin/plugin -install mobz/elasticsearch-head
But its also not working .
Error: console not found on url
http://www.elasticsearch.org/guide/en/elasticsearch/guide/current/sense_widget.html?snippets/010_Intro/10_Info.json
BTW I am new to elastic search.
So if you could tell me why it is not showing anything or have i made any mistake.
Thank in advance!
If someone tries with version 5 or else:
for Elasticsearch 5.x: plugins are not supported. Run elasticsearch-head as a standalone
for Elasticsearch 2.x – 4.x:
sudo elasticsearch/bin/plugin install mobz/elasticsearch-head
for Elasticsearch 1.x:
sudo elasticsearch/bin/plugin -install mobz/elasticsearch-head/1.x
for Elasticsearch 0.9:
sudo elasticsearch/bin/plugin -install mobz/elasticsearch-head/0.9
From GitHub
I've just installed ES using 1.4.4. on windows. Please check if you've got the confirmation that the plugging is installed. Also double check your commands. See below.
The following are what I used on my Ubuntu 14.04 elasticsearch 2.0.0.
instead of -i, you need to use the word install ( without dash )
with proxy:
/opt/elasticsearch/bin/plugin install -DproxyPort=80 -DproxyHost=www.example.com mobz/elasticsearch-head
without proxy:
/opt/elasticsearch/bin/plugin install mobz/elasticsearch-head
Updating the already existing answers for CentOS/RHEL 7.
Since v5.x the ElasticSearch Head plugin is deprecated and es-head must be run as a standalone server. Here's how to install on CentOS/RHEL 7.
First, install Node.js and Git.
Then run these commands:
git clone git://github.com/mobz/elasticsearch-head.git
cd elasticsearch-head
npm install
npm run start
Assuming that your ES installation runs on http://localhost:9200/, you can now access es-head on http://localhost:9100/.
If you have to use proxy to access external websites, you can the following command to install it:
bin/plugin -i -DproxyPort=80 -DproxyHost=www.example.com mobz/elasticsearch-head
You can also run elastic-search head as a chrome extension "ElasticSearch Head". Click the extension icon in the toolbar of your web browser after installing.
If you are on Ubuntu 16.04 or any other version, This command will surely run,
elasticsearch/bin/plugin install -DproxyPort=80 -DproxyHost=www.example.com mobz/elasticsearch-head
You can create systemd unit with npm run start. Like this:
[Unit]
Description=Elasticsearch-head
After=syslog.target
After=network.target
[Service]
ExecStart=/usr/bin/npm run start
WorkingDirectory=/usr/share/elasticsearch/elasticsearch-head
Restart=always
StandardOutput=syslog
StandardError=syslog
User=user
Group=user
[Install]
WantedBy=multi-user.target

unable to install elasticsearch plugin

I've downloaded elastic search plugin from
https://github.com/downloads/spinscale/elasticsearch-suggest-plugin/elasticsearch-suggest-0.0.3-0.18.6.zip
I've unzipped the folder and I know i'm supposed to put the 3 jar files in the lib/ directory (of play itself or of the application I'm creating or that of elasticsearch). but which lib/ directory shall i put it in? also, what shall i do next. i tried to understand the documentation on the website but i didn't.
I'll really appreciate any help as I've been trying for 2 days to install this plugin. I'm using play 1.2.4
Using current homebrew installation (March 2016 -- 2.2.0_1 version) resulted in the plugin executable not being linked, therefore i had to do:
$ ~HOMEBREW_ROOT/Cellar/elasticsearch/2.2.0_1/libexec/bin/plugin install mobz/elasticsearch-head
MAC OS - with brew elasticsearch base install
Install the elasticsearch package with brew :
brew install elasticsearch
Install the elasticsearch_head plugin to get a simple browser :
cd /usr/local/Cellar/elasticsearch/1.4.0/
sudo bin/plugin -install mobz/elasticsearch-head
open "http://127.0.0.1:9200/_plugin/head/"
Grab the plugin script path by using this command on Mac OS
brew info elasticsearch
Then, use the plugin script path to install:
/usr/local/Cellar/elasticsearch/2.3.3/libexec/bin/plugin install some/es-plugin
Download elastic search deb file from this link elastic search
and once installed then check elastic search status like sudo service elasticsearch status
To view elastic search index in GUI, run this command from your /usr/share directory
sudo elasticsearch/bin/plugin -install mobz/elasticsearch-head
open "http://localhost:9200/_plugin/head/"
Try the builtin bin/plugin utility:
% bin/plugin -url https://github.com/downloads/spinscale/elasticsearch-suggest-plugin/elasticsearch-suggest-0.0.3-0.18.6.zip -install elasticsearch-suggest
-> Installing elasticsearch-suggest...
Trying https://github.com/downloads/spinscale/elasticsearch-suggest-plugin/elasticsearch-suggest-0.0.3-0.18.6.zip...
Downloading ..............................................................................DONE
Installed elasticsearch-suggest
% find plugins/elasticsearch-suggest
plugins/elasticsearch-suggest
plugins/elasticsearch-suggest/elasticsearch-suggest-0.0.3.jar
plugins/elasticsearch-suggest/lucene-misc-3.5.0.jar
plugins/elasticsearch-suggest/lucene-spellchecker-3.5.0.jar
%
In one line:
sudo /usr/share/elasticsearch/bin/plugin -install mobz/elasticsearch-head
For ElasticSearch 7.10 in Ubuntu:
cd /usr/share/elasticsearch
sudo bin/elasticsearch-plugin install analysis-phonetic

Resources