• This repository has been archived on 22/Nov/2017
  • Stars
    star
    1,195
  • Rank 39,145 (Top 0.8 %)
  • Language
    JavaScript
  • License
    Other
  • Created almost 13 years ago
  • Updated about 8 years ago

Reviews

There are no reviews yet. Be the first to send feedback to the community and the maintainers!

Repository Details

Kibana was acquired by Elastic in 2013. See elastic/kibana. More info at http://kibana.org

Kibana

NOTE: You probably don't want this repo! Kibana 2 is EOL. The latest version can be found at https://github.com/elastic/kibana

Copyright 2012 Rashid Khan <rashidkpc #kibana irc.freenode.net>

Kibana is a browser based interface for Logstash and ElasticSearch that allows you to efficiently search, visualize, analyze and otherwise make sense of your logs.

More information at http://www.kibana.org

Requirements

Base

  • ruby >= 1.8.7 (probably?)
  • bundler
  • logstash >= 1.1.0
  • elasticsearch >= 0.18.0

JRuby

  • java >= 1.6
  • warbler if you want to create an executable standalone war file

Installation

Install

  1. git clone --branch=kibana-ruby https://github.com/rashidkpc/Kibana.git
  2. cd Kibana
  3. gem install bundler
  4. bundle install

Configure
Set your elasticsearch server in KibanaConfig.rb:
Elasticsearch = "elasticsearch:9200"

Run
ruby kibana.rb

Use
Point your browser at http://localhost:5601

JRuby

To run Kibana with JRuby, e.g. if you have to run in on a windows machine, you can create a (executable) WAR archive.

git clone --branch=kibana-ruby https://github.com/rashidkpc/Kibana.git	
cd Kibana  	
jruby -S gem install bundler  
jruby -S bundle install   

Configure your environment (see above). jruby -S rake war or
jruby -S warble executable war if you want to include a webserver (default: jetty).

Run: java [-Djetty.port=5601] -jar Kibana.war

Todo: Externalize the configuration. Any help would be appreciated.

FAQ

Q: Why is there no last button?
A: ElasticSearch isn't so hot at going to the last result of a many million result query.

Q: Why is this Ruby instead of PHP now?
A: Closer integration with logstash, Ruby is shiny. Its mostly javascript anyway. If you want it in something else, it shouldn't be too hard to port.

Q: Why do I have to set a limit on events to analyze?
A: Big result sets take a long time to retrieve from elasticsearch and parse out

Q: Well then why don't you use the Elastic Search terms facet?
A: I've found the terms facet to cause out of memory crashes with large result sets. I don't know a way to limit the amount of memory a facet may use. Until there's a way to run a facet and know for sure it won't crash Elastic Search, I'm going to keep analysis features implemented in Ruby. I'm open to other suggestions though. I suggest you be careful with the Statistics mode, its more stable than terms, and I try to detect when it might be dangerous but can still bite you.

Q: Why do some results not show up when I search for a string I know is in the elasticsearch indexes?
A: If you are searching analyzed fields, which is the default in ES for string fields, remember that they are broken down into terms. For instance, a search for "test" will match records containing [email protected], since @ is a term boundary and is broken down into "test" and "bleh.com". However, this will NOT match records containing [email protected] because "test.com" is the full term and you are searching for an exact match. You would need to use test to match both of these records. Note you may also want to configure the ES analyze behavior for certain fields if this is not the desired behavior. Helpful References:

http://www.elasticsearch.org/guide/reference/mapping/core-types.html
http://www.elasticsearch.org/guide/reference/api/admin-indices-templates.html

Q: How do I run Kibana under Apache? A: There's a few samples in the sample/apache directory on how to do this.

Q: Kibana is great, but I want to make it so users have to authenticate in order to access it. How do I do that? A: This can be handled a number of ways. The best way is to run Kibana with Passenger and Apache or Nginx. There's sample configurations in the sample directory. You can then handle your preferred authentication mechanism with Apache or Nginx.

Q: Where can I get some help with this?
A: Find me on Freenode - rashidkpc in #logstash

More Repositories

1

graphital

A simple ruby daemon to send host vitals to graphite
Ruby
55
star
2

poopmail

A hacky node.js ad-hoc throw-away address mail forwarder.
JavaScript
38
star
3

kibana-keynote

A kibana plugin for playing keynote presentations exported as a directory of PNGs
JavaScript
12
star
4

kibana-hacks

Hack plugins for Kibana
JavaScript
12
star
5

timelion-extras

All my extra functions for timelion that I, for whatever reason, haven't gotten into core.
JavaScript
12
star
6

timelion-random

An example plugin for timelion
JavaScript
6
star
7

kable

JavaScript
6
star
8

timelion-usafacts

A timelion plugin for the usafacts.org API. Highly experimental.
JavaScript
6
star
9

kibana-reveal

*Deprecated* See kibana-keynote
HTML
5
star
10

snmp2graphite

Snmp2Graphite is a very (~34 lines) simple ruby daemon for shipping snmp metrics to graphite
Ruby
4
star
11

Outlets

***Unmaintained*** A SNMP/ajaxy/php browser based PDU manager
JavaScript
2
star
12

rattlecad-tf

Tcl
2
star
13

xiproxy

A transparent nodejs based HTTP proxy that understand the xip.io hostname format and rewrites HTTP headers accordingly
JavaScript
2
star
14

canvas-rashid

Rashid's personal Canvas plugin of doom. This is all garbage. Pure garbage.
JavaScript
2
star
15

tx7nu-decode

A wiringPi based decoder for the La Crosse TX7NU
C++
1
star
16

canvas-dynamic-layout

An experiment in data driven layouting for Canvas
JavaScript
1
star
17

timelion-yfinance

A yahoo finance powered stocks plugin for timelion
JavaScript
1
star
18

relay

Experimental Kibana app for measuring contributor impact on a Github organization
JavaScript
1
star