Reputation: 253
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!
Upvotes: 23
Views: 49355
Reputation: 73
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
Upvotes: 0
Reputation: 39
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
Upvotes: 0
Reputation: 2302
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/.
Upvotes: 2
Reputation: 1366
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.
Upvotes: 0
Reputation: 921
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
From GitHub
Upvotes: 20
Reputation: 821
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
Upvotes: 3
Reputation: 711
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
Upvotes: 0
Reputation: 3730
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.
Upvotes: 12