Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
This repository was archived by the owner on Jul 12, 2021. It is now read-only.
/logiqPublic archive

Monitoring Web UI for Elastic Logstash

NotificationsYou must be signed in to change notification settings

sloniki/logiq

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

36 Commits
 
 
 
 
 
 

Repository files navigation

LogIQ

LogIQ is a simple monitoring front end for Elastic Logstash. It uses MonitoringAPI.

Tested on Logstash versions 6.x-7.x

example_image

Usage

Open the html page and add your Logstash hosts with port number. You need internet connection as the page uses external libraries like bootstrap, jquery and echarts.

Logstash Configuration

You need to enable remote connections on Logstash, just add the line in Logstash config file (default /path/to/logstash/config/logstash.yml):

http.host: "0.0.0.0"

Logstash may not allow CORS calls, you can use proxy tofix this.Install Nginx and add this section in /etc/nginx/nginx.conf:

server {        listen       9601;        location / {          if ($request_method = 'GET') {          add_header 'Access-Control-Allow-Origin' '*';          add_header 'Access-Control-Allow-Methods' 'GET';          add_header 'Access-Control-Allow-Headers' 'DNT,X-CustomHeader,Keep-Alive,User-Agent,X-Requested-With,If-Modified-Since,Cache-Control,Content-Type,Content-Range,Range';          add_header 'Access-Control-Expose-Headers' 'DNT,X-CustomHeader,Keep-Alive,User-Agent,X-Requested-With,If-Modified-Since,Cache-Control,Content-Type,Content-Range,Range';          }          proxy_pass http://logstash:9600;        }    }

Don't forget to set your logstash hostname and exposed port.After Nginx restart it will proxy requests from port 9601 to 9600 with right headeres.

TO-DO

  • Add Logstash disconnections handling
  • Add charts
  • Make as a browser plugin

About

Monitoring Web UI for Elastic Logstash

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages


[8]ページ先頭

©2009-2025 Movatter.jp