Add kibana, visualize logs and time-stamped data

This commit is contained in:
Jaka Hudoklin 2014-09-15 11:33:07 +02:00
parent 0fe76c441a
commit 79a6bddc1e
2 changed files with 31 additions and 0 deletions

View File

@ -0,0 +1,29 @@
{ stdenv, fetchurl, unzip, conf ? null }:
with stdenv.lib;
stdenv.mkDerivation rec {
name = "kibana-${version}";
version = "3.1.0";
src = fetchurl {
url = "https://download.elasticsearch.org/kibana/kibana/${name}.zip";
sha256 = "05i97zi08rxwx951hgs92fbhk6cchpvdlikrfz07v1dpn787xz8j";
};
buildInputs = [ unzip ];
phases = ["unpackPhase" "installPhase"];
installPhase = ''
mkdir -p $out && cp -R * $out
${optionalString (conf!=null) ''cp ${conf} $out/config.js''}
'';
meta = {
description = "Visualize logs and time-stamped data";
homepage = http://www.elasticsearch.org/overview/kibana;
license = licenses.asl20;
maintainers = [ maintainers.offline ];
};
}

View File

@ -1429,6 +1429,8 @@ let
keychain = callPackage ../tools/misc/keychain { };
kibana = callPackage ../development/tools/misc/kibana { };
kismet = callPackage ../applications/networking/sniffers/kismet { };
less = callPackage ../tools/misc/less { };