mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-24 06:31:02 +00:00
Add kibana, visualize logs and time-stamped data
This commit is contained in:
parent
0fe76c441a
commit
79a6bddc1e
29
pkgs/development/tools/misc/kibana/default.nix
Normal file
29
pkgs/development/tools/misc/kibana/default.nix
Normal 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 ];
|
||||
};
|
||||
}
|
|
@ -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 { };
|
||||
|
|
Loading…
Reference in a new issue