maifusha / kubernetes-efk

Kubernetes compose orchestra for EFK:ElasticSech(With Curator、ElastAlert)、Fluentd、Kibana

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Kubernetes compose orchestra for EFK:ElasticSech(With Curator、ElastAlert)、Fluentd、Kibana

Quick Start

  1. kubectl label nodes your-desired-node efk-node=true
  2. cp -a .env.example .env and update it (avoid the # char)
  3. ./deploy
  4. 创建ES索引
    • 创建日志存储的索引(要求使用@timestamp字段存储时间)
    • 进入elastalert容器中执行命令python /opt/elastalert/elastalert/create_index.py创建elastalert的状态存储索引
  5. Kibana配置
    • 目标检索的index patternphp.error-*application.error-*

Reference

About

Kubernetes compose orchestra for EFK:ElasticSech(With Curator、ElastAlert)、Fluentd、Kibana

License:MIT License


Languages

Language:Shell 100.0%