Git Product home page Git Product logo

docker-elkonlaravel's Introduction

Docker-ELKonLaravel

E.L.K. example for PHP laravel via docker.

如何使用

  1. 安裝 Docker

    官方安裝文件

  2. 產生 環境變數

    $ cp .env.example .env
  3. 啟動

    $ make dev
  4. 安裝 PHP 相關套件

    $ make install
  5. 等待 E.L.K. 相關環境執行完畢 (約 1 ~ 5 分鐘)

  6. 進入 Kibana 查看網站是否正常執行
    http://127.0.0.1:{KB_PORT}/

    KB_PORT 預設值: 5601

  7. Management 分頁 找到 Kibana Index Patterns 連結

image

  1. 設定 E.L.K. index 資訊

image

image

  1. Discover 分頁 即可看到相關資訊。

image

新增一筆資料

URL

[POST] http://127.0.0.1:{APP_PORT}/api/log

BODY (application/json)

{
    "msg": "你想要的內容"
}

設定

Logstash

系統設定

./ELK/logstash/config/logstash.yml

官方說明文件

條件設定

./ELK/logstash/pipeline/logstash.conf

官方說明文件

docker-elkonlaravel's People

Contributors

trend-andy-pan avatar

Stargazers

Nathan.Lu avatar Jason Hong avatar

Watchers

James Cloos avatar Andy Pan 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.