Coder Social home page Coder Social logo

baozoumanhua / elk-rtf Goto Github PK

View Code? Open in Web Editor NEW
2.0 14.0 0.0 193.8 MB

elk(Elasticsearch, Logstash and Kibana) ready to fly

License: Apache License 2.0

Shell 0.57% CSS 8.20% HTML 3.43% JavaScript 80.13% Smarty 0.01% Ruby 0.24% C 4.24% C++ 2.74% DTrace 0.08% Groff 0.25% Batchfile 0.11%

elk-rtf's Introduction

elk-rtf

elk(Elasticsearch, Logstash and Kibana) ready to fly

这是一个带有简单配置的elk仓库,已经为elasticsearch安装了一些需要用到的插件,并带有一个以redis为input的logstash配置,可用于快速创建、测试、部署elk。

各组件版本

elasticsearch: 1.4.4

logstash: 1.5.0

kibana: 4.0.1

下载

git clone https://github.com/baozoumanhua/elk-rtf.git

运行elastichsearch

Important: 在es中集成了elasticsearch-servicewrapper组件,可以通过service模式运行elasticsearch,并在elasticsearch/bin/service/elasticsearch.conf中配置jvm参数。

本地开启console:

cd elasticsearch
./bin/service/elasticsearch console

运行logstash以及kibana3

现在logstash集成了kibana3,提供了很方便的命令行工具,具体可参考logstash-10-minute-walkthrough

命令:

cd logstash
./bin/logstash agent -f ../configs/logstash-indexer.conf

同时启动kibana3:

./bin/logstash agent -f ../configs/logstash-indexer.conf web

运行kibana4

kibana4是基于node.js的全新的web客户端,作为web service独立运行。

环境中的2个kibana4,kibana-4-darwin-x64 是macosx的版本,kibana-4-linux-x64 是linux的版本。

运行命令:./bin/kibana

在linux下,以后台方式静默运行:./bin/kibana -q &

配置文件

按需修改./configs/logstash-indexer.conf

功能脚本

在scripts目录下,提供了一些额外的功能脚本。

logstash-indexer: logstash service化脚本,该脚本在ubuntu 14.04下测试通过,其他环境请自行测试。 使用方法:放入/etc/init.d/下,执行update-rc.d logstash-indexer defaults

作者

Copyright (c) 2014-2014 暴走漫画. All Rights Reserved. Released under the Artistic License.

elk-rtf's People

Contributors

lyy avatar

Stargazers

Mark Shaw avatar Zhengyi Lai avatar

Watchers

代码之力 avatar Tim avatar Michael Ding avatar James Cloos avatar Han avatar Ke Pan avatar John Tai avatar Onet away avatar Hging avatar Remer avatar feature avatar David Hu avatar  avatar Alex Xu 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.