searchtechnologies / kibana-logbrowser

The Search Technologies Log Browser
25 stars 9 forks source link
kibana kibana-plugin logging

The Kibana Log Browser from Search Technologies

Browse your log files directly from Elasticsearch Kibana

Why?

Screen Shots

alt text

alt text

alt text

Features

Requirements

  1. Kibana 5

  2. You must have the following index fields:

    • message – Holds the text of the log line

      • Can be multi-line
    • message40 – Holds the first 40 characters of "message"

      • Used for sorting on the message
    • @timestamp – The ingestion time of the log line

      • Automatically added by logstash
    • host – The server host which gathered the log

      • IP or hostname
    • log_time – The time parsed out of the log line

    • type – The type of server

      • Used to browse log files of a particular type

      • Examples: apache, nginx, myapp1, myapp2, etc.

    • source - the filename path of the log file on the server

      • Note: This is not friendly with "\" (backslash), we recommend replacing backslash with forward slash

Mappings

{
  "host": { "type": "keyword" }, 

  "message": { "type": "text" }, 

  "message40": { "type": "keyword" }, 

  "source": { "type": "keyword" }, 

  "type": { "type": "keyword" } ,

  "@timestamp": { "type": "date" }, 

  "log_time": { "type": "date" }
}

Installation

For Kibana 5:

kibana-plugin install https://github.com/searchtechnologies/kibana-logbrowser/releases/download/1.0.2/log_browser.zip 

License

This software is licensed under the Apache License, version 2 ("ALv2"), quoted below.

Copyright 2017 Search Technologies Corporation (http://www.searchtechnologies.com)

Licensed under the Apache License, Version 2.0 (the "License"); you may not
use this file except in compliance with the License. You may obtain a copy of
the License at

    http://www.apache.org/licenses/LICENSE-2.0

Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
License for the specific language governing permissions and limitations under
the License.