Skip to content

Commit

Permalink
OwlH to ELK
Browse files Browse the repository at this point in the history
  • Loading branch information
Jose Antonio izquierdo lopez committed Oct 28, 2020
1 parent f0d6187 commit 7e5b19e
Show file tree
Hide file tree
Showing 4 changed files with 80 additions and 2 deletions.
4 changes: 2 additions & 2 deletions source/main/OwlH-elk.rst
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@

Sync with ELK 7.x
=================
Sync with ELK 7.x using Wazuh
=============================

.. warning::

Expand Down
76 changes: 76 additions & 0 deletions source/main/OwlH-node-elk.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,76 @@

Sync with ELK 7.x
=================

.. warning::

Be sure you are running ELK (elasticsearch, filebeat and kibana) with version >7.3.2

.. include:: keepincontact.rst

This process will allow you to connect your OwlH environment directly to ELK.

You will do:

* install filebeat on OwlH Nodes
* install OwlH-Filebeat module
* import OwlH-Kibana objects in Kibana
* load OwlH template in Elasticsearch
* modify Filebeat main configuration to include OwlH module


.. note::
Please, check URLs and paths to ensure you use the right commands and that you adapt command lines as needed.


Download files and prepare
^^^^^^^^^^^^^^^^^^^^^^^^^^

::
# cd /tmp
# mkdir /tmp/owlhfilebeat
# cd /tmp/owlhfilebeat
# wget repo.owlh.net/fbit/owlh-module.tar.gz
# tar -C /tmp/owlhfilebeat -xf owlh-module.tar.gz


Install OwlH module
-------------------

::

# tar -C /usr/share/filebeat/module/ -xf /tmp/owlhfilebeat/owlh-filebeat-7.9.x.tar.gz


Modify filebeat
^^^^^^^^^^^^^^^

Modify Filebeat configuration
-----------------------------

::

# cp /tmp/owlhfilebeat/filebeat.yml /etc/filebeat/filebeat.yml

.. attention::
be sure to update properly your filebeat.yml file to point to your elasticsearch server.



Restart Filebeat
----------------

You should be done. check your kibana to see the OwlH dashboards in dashboards section, and indices in discovery section.

::

Restart Filebeat

# systemctl restart filebeat

Check Filebeat output

# journalctl -f -u filebeat

From your web browser, check kibana->discovery for owlh indices.
1 change: 1 addition & 0 deletions source/main/OwlHInstall.rst
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,7 @@ Visualization
-------------

* :doc:`OwlH dashboards integration Wazuh-ELK</main/OwlH-elk>`
* :doc:`OwlH dashboards integration ELK</main/OwlH-node-elk>`

Appendices
----------
Expand Down
1 change: 1 addition & 0 deletions source/main/install/ins-owlh-node.rst
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@ install owlh node
- install suricata
- install zeek
- install wazuh
- connect OwlH to ELK
- install owlh interface
- install software tap related packets
- configure your firewall
Expand Down

0 comments on commit 7e5b19e

Please sign in to comment.