Logstash
========

.. toctree::
   :maxdepth: 2

.. note:: Analiza los ficheros de entrada y los envía elasticsearch


Instalación
############

.. code-block:: bash

   yum install logstash

Configuración
##############

**Fichero de configuración /etc/logstash/logstash.yml**

.. code-block:: bash

   # ------------ Metrics Settings --------------
   #
   # Bind address for the metrics REST endpoint
   #
   http.host: "127.0.0.1"
   #
   # Bind port for the metrics REST endpoint, this option also accept a range
   # (9600-9700) and logstash will pick up the first available ports.
   #
   http.port: 9600-9700


Inicio del servicio
####################

.. code-block:: bash

   systemctl start logstash