Skip to content

Commit

Permalink
Merge remote-tracking branch 'upstream/master'
Browse files Browse the repository at this point in the history
  • Loading branch information
apoland committed Mar 6, 2019
2 parents ce1a026 + 14f94c0 commit 8172d35
Show file tree
Hide file tree
Showing 11 changed files with 9,613 additions and 77 deletions.
2 changes: 2 additions & 0 deletions .vscode/settings.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
{
}
8 changes: 4 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# LogTrail - Log Viewer plugin for Kibana

[![Github All Releases](https://img.shields.io/github/downloads/sivasamyk/logtrail/total.svg)](https://github.com/sivasamyk/logtrail/releases) [![Kibana 6.4.1](https://img.shields.io/badge/Kibana-v6.4.1-blue.svg)](https://www.elastic.co/downloads/past-releases/kibana-6.4.1)
[![Github All Releases](https://img.shields.io/github/downloads/sivasamyk/logtrail/total.svg)](https://github.com/sivasamyk/logtrail/releases) [![Kibana 6.6.1](https://img.shields.io/badge/Kibana-v6.6.1-blue.svg)](https://www.elastic.co/guide/en/kibana/6.6/release-notes-6.6.1.html)
[![License](https://img.shields.io/github/license/sivasamyk/logtrail.svg)](https://github.com/sivasamyk/logtrail) [![Donate](https://img.shields.io/badge/Donate-PayPal-green.svg)](https://paypal.me/sivasamyk)

LogTrail is a plugin for Kibana to view, analyze, search and tail log events from multiple hosts in realtime with devops friendly interface inspired by [Papertrail](https://papertrailapp.com/).
Expand All @@ -22,11 +22,11 @@ Features
Installation
------------
- Prerequisites
- Download and install Elasticsearch , Logstash and Kibana
- Download and install Elasticsearch and Kibana
- Logtrail is supported and tested with Kibana 6.x and 5.x
- Install logtrail plugin (requires restart of Kibana after install)
- Kibana 6.4.1 : `./bin/kibana-plugin install https://github.com/sivasamyk/logtrail/releases/download/v0.1.30/logtrail-6.4.1-0.1.30.zip`
- Kibana 5.6.5 : `./bin/kibana-plugin install https://github.com/sivasamyk/logtrail/releases/download/v0.1.23/logtrail-5.6.5-0.1.23.zip`
- Kibana 6.6.1 : `./bin/kibana-plugin install https://github.com/sivasamyk/logtrail/releases/download/v0.1.31/logtrail-6.6.1-0.1.31.zip`
- Kibana 5.6.5 : `./bin/kibana-plugin install https://github.com/sivasamyk/logtrail/releases/download/v0.1.23/logtrail-5.6.6.0.1.23.zip`
- Other versions : [https://github.com/sivasamyk/logtrail/releases](https://github.com/sivasamyk/logtrail/releases)
- Kibana requires exact match of plugin version to the Kibana version. If you can't find logtrail plugin release for a Kibana release, follow the instrcutions [here](docs/how_to.md#2-update-kibanaversion-in-logtrail-plugin-archive) to update Kibana version in your logtrail plugin archive.
- Refer [Logtrail Config Examples Repo](https://github.com/sivasamyk/logtrail-config-examples) for sample configurations for syslog, Java app, Kubernetes logs.
Expand Down
16 changes: 5 additions & 11 deletions index.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
var serverRoute = require('./server/routes/server');

export default function (kibana) {
return new kibana.Plugin({
name: 'logtrail',
Expand All @@ -7,17 +8,10 @@ export default function (kibana) {
app: {
title: 'LogTrail',
description: 'Plugin to view, search & tail logs in Kibana',
main: 'plugins/logtrail/app',
url: '/app/logtrail',
// injectVars: function (server, options) {
// var config = server.config();
// return {
// kbnIndex: config.get('kibana.index'),
// esShardTimeout: config.get('elasticsearch.shardTimeout'),
// esApiVersion: config.get('elasticsearch.apiVersion')
// };
// }
}
main: 'plugins/logtrail/app'
},
hacks: [
]
},
init: function (server, options) {
// Add server routes and initalize the plugin here
Expand Down
Loading

0 comments on commit 8172d35

Please sign in to comment.