Coder Social home page Coder Social logo

vmpielk's Introduction

WORK IN PROGRESS...

try at your own!

vmpielk

ELK 7.11.1 SUITE for Raspberry pi 4 (4GB arm64) with beats (auditbeat, filebeat, heartbeat, metricbeat and packetbeat)

Results of Metricbeat RPi4 4GB (ELK suite + beats)

VMELK

OS Requirements

  • RPI 4 4GB (8GB recommended)
  • Raspbian or Ubuntu arm64 OS based (aarch64)
  • 64GB of Storage (boot from SSD recommended)
  • Clone FORK easyBEATS from vitorinux to compile BEATS (only for arm64 OS)
  • 2 cups of coffee

Install preconfigured Elasticsearch, Kibana and Logstash (not required but let's try)

Go to web link and download the following arm64 DEB files (select 7.11.1 release from https://www.elastic.co/downloads/)

  • elasticsearch-7.11.1-arm64.deb
  • kibana-7.11.1-arm64.deb
  • logstash-7.11.1-arm64.deb

ELK RAM Requirements (configure jvm.options file)

  • Elasticsearch (-Xms1g and -Xmx1g)
  • Logstash 600mb (-Xms600m and -Xmx600m)
  • Kibana (default)

In order to boot rpi and not take long time, there are SYSTEMD unit files to delay boot of kibana and logstash

Modify Kibana.service to start after elasticseearch.service

kibana.service

[Unit]
Description=Kibana
Documentation=https://www.elastic.co
Wants=network-online.target
After=network-online.target elasticsearch.service
...
... lines removed ...
...

Create a file .timer on the path of your .service file (wait 300s before start the process)

kibana.timer

[Unit]
Description=Start KIBANA after 300s

[Timer]
OnBootSec=300s

[Install]
WantedBy=timers.target

Do the same for Logstash

logstash.service

[Unit]
Description=logstash
Wants=network-online.target
After=network-online.target elasticsearch.service
...
... lines removed ...
...

logstash.timer

[Unit]
Description=Start LOGSTASH after 300s

[Timer]
OnBootSec=300s

[Install]
WantedBy=timers.target

Install BEATS arm64 with easyBEATS

Follow instructions...

vmpielk's People

Contributors

vitorinux avatar

Stargazers

 avatar  avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.