Skip to content

Latest commit

 

History

History
26 lines (19 loc) · 1011 Bytes

File metadata and controls

26 lines (19 loc) · 1011 Bytes

elk

This is a simple project to explore the ELK stack and logspout capabilities.

logspout is not an ideal solution for production workloads, good alternatives would be fluentd and beats platform

Pre-req: docker, docker compose

Clone project and cd into elk folder

  1. build docker images: docker-compose build
  2. start the ELK stack: docker-compose up
  3. start logspout: ./run_logspout.sh
  4. start simple app: ./run_busy_box.sh
  5. open browser, for kibana: localhost:5601
    • first time run requires to create an index pattern, under Settings -> Indices
    • on the time-field name, select @timestamp and click Create button
    • after that, click on the Discover top menu and explore your data
  6. open browser, for cadvisor: localhost:8080

To explore the sample visualizations and dashboard:

  1. Kibana -> Settings -> Object
  2. Click on Import button
  3. Select kibana-ui-config.json from elk/resources folder

This is a handy tool when building logstash filters: https://grokdebug.herokuapp.com