Skip to content

Commit

Permalink
many changes
Browse files Browse the repository at this point in the history
  • Loading branch information
valentinsiryk committed Jan 20, 2017
1 parent 8eaae3d commit bc266e5
Show file tree
Hide file tree
Showing 9 changed files with 503 additions and 162 deletions.
58 changes: 58 additions & 0 deletions Elastic/X-Pack.txt
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,63 @@
X-Pack
======

**X-Pack** (security, alerting, monitoring, reporting, and graph capabilities into one easy-to-install package)


Installation
------------

.. note::

Full newer instruction here - https://www.elastic.co/guide/en/x-pack/current/installing-xpack.html


On host with Elasticsearch and Kibana run next commands::

# install X-Pack plugin for Elasticsearch
sudo /usr/share/elasticsearch/bin/elasticsearch-plugin install x-pack --batch

# restart Elasticsearch
sudo service elasticsearch restart

# install X-Pack plugin for Kibana
sudo /usr/share/kibana/bin/kibana-plugin install x-pack

# restart Kibana
sudo service kibana restart


.. note::

To log in to Kibana, you can use the built-in ``elastic`` user and the password ``changeme``. In Kibana WEB UI select ``Management->Users`` and change default passwords for ``elastic`` and ``kibana`` users.

After changing the password for the ``kibana`` user, you will need to update ``/etc/kibana/kibana.yml``::

elasticsearch.username: "kibana"
elasticsearch.password: "<kibana_user_password>"


And restart Kibana::

sudo service kibana restart


Removing
--------

On host with Elasticsearch and Kibana run next commands::

# remove X-Pack plugin for Elasticsearch
sudo /usr/share/elasticsearch/bin/elasticsearch-plugin remove x-pack
sudo service elasticsearch restart

# remove X-Pack plugin for Kibana
sudo /usr/share/kibana/bin/kibana-plugin remove x-pack
sudo service kibana restart




Enabling and Disabling X-Pack Features
--------------------------------------

Expand All @@ -22,4 +79,5 @@ By default, all X-Pack features are enabled. You can explicitly enable or disabl
# Set to false to disable X-Pack reporting. Configure in kibana.yml only.
xpack.reporting.enabled



12 changes: 12 additions & 0 deletions Elastic/elasticsearch.txt
Original file line number Diff line number Diff line change
Expand Up @@ -6,3 +6,15 @@ Elasticsearch
Clear index::

curl -XDELETE localhost:9200/*


Start/restart Elasticsearch::

# Ubuntu 14.04
sudo service elasticsearch start
sudo service elasticsearch restart

# Ubuntu 16.04

sudo systemctl start elasticsearch.service
sudo systemctl stop elasticsearch.service
2 changes: 1 addition & 1 deletion Elastic/elk_stack.svg
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

0 comments on commit bc266e5

Please sign in to comment.