nixpkgs/pkgs/tools/misc/graylog/plugins.nix

169 lines
6.5 KiB
Nix
Raw Normal View History

2017-02-22 19:07:11 +01:00
{ pkgs, stdenv, fetchurl, fetchFromGitHub, unzip, graylog }:
with pkgs.lib;
let
glPlugin = a@{
pluginName,
version,
installPhase ? ''
mkdir -p $out/bin
cp $src $out/bin/${pluginName}-${version}.jar
'',
...
}:
stdenv.mkDerivation (a // {
inherit installPhase;
unpackPhase = "true";
buildInputs = [ unzip ];
meta = a.meta // {
platforms = graylog.meta.platforms;
maintainers = (a.meta.maintainers or []) ++ [ maintainers.fadenb ];
};
});
in {
2017-08-08 18:03:44 +02:00
aggregates = glPlugin rec {
name = "graylog-aggregates-${version}";
pluginName = "graylog-plugin-aggregates";
version = "1.1.1";
src = fetchurl {
url = "https://github.com/cvtienhoven/${pluginName}/releases/download/${version}/${pluginName}-${version}.jar";
sha256 = "1wx5i8ls7dgffsy35i91gkrj6p9nh2jbar9pgas190lfb9yk45bx";
};
meta = {
homepage = https://github.com/cvtienhoven/graylog-plugin-aggregates;
description = "SSO support for Graylog through trusted HTTP headers set by load balancers or authentication proxies";
};
};
2017-02-22 19:07:11 +01:00
auth_sso = glPlugin rec {
name = "graylog-auth-sso-${version}";
pluginName = "graylog-plugin-auth-sso";
2017-08-08 18:03:44 +02:00
version = "2.3.0";
2017-02-22 19:07:11 +01:00
src = fetchurl {
url = "https://github.com/Graylog2/${pluginName}/releases/download/${version}/${pluginName}-${version}.jar";
2017-08-08 18:03:44 +02:00
sha256 = "110ag10y0xyf3za6663vf68r5rwdi92315a37vysqvj00y7yak0l";
2017-02-22 19:07:11 +01:00
};
meta = {
homepage = https://github.com/Graylog2/graylog-plugin-auth-sso;
2017-02-22 19:07:11 +01:00
description = "SSO support for Graylog through trusted HTTP headers set by load balancers or authentication proxies";
};
};
2017-05-06 17:37:28 +02:00
internal-logs = glPlugin rec {
name = "graylog-internal-logs-${version}";
pluginName = "graylog-plugin-internal-logs";
version = "1.0.0";
src = fetchurl {
url = "https://github.com/graylog-labs/${pluginName}/releases/download/${version}/${pluginName}-${version}.jar";
sha256 = "1abl7wwr59k9vvr2fmrlrx4ipsjjl8xryqy19fy5irxhpwp93ixl";
};
meta = {
homepage = https://github.com/graylog-labs/graylog-plugin-internal-logs;
2017-05-06 17:37:28 +02:00
description = "Graylog plugin to record internal logs of Graylog efficiently instead of sending them over the network";
};
};
2017-02-22 19:07:11 +01:00
ipanonymizer = glPlugin rec {
name = "graylog-ipanonymizer-${version}";
pluginName = "graylog-plugin-ipanonymizer";
version = "1.1.2";
src = fetchurl {
url = "https://github.com/Graylog2/${pluginName}/releases/download/${version}/${pluginName}-${version}.jar";
sha256 = "0hd66751hp97ddkn29s1cmjmc2h1nrp431bq7d2wq16iyxxlygri";
};
meta = {
homepage = https://github.com/Graylog2/graylog-plugin-ipanonymizer;
2017-02-22 19:07:11 +01:00
description = "A graylog-server plugin that replaces the last octet of IP addresses in messages with xxx";
};
};
jabber = glPlugin rec {
name = "graylog-jabber-${version}";
pluginName = "graylog-plugin-jabber";
2017-08-08 18:03:44 +02:00
version = "2.0.0";
2017-02-22 19:07:11 +01:00
src = fetchurl {
2017-08-08 18:03:44 +02:00
url = "https://github.com/graylog-labs/${pluginName}/releases/download/${version}/${pluginName}-${version}.jar";
sha256 = "1bqj5g9zjnw08bva7379c2ar3nhmyiilj7kjxd16qvfdn2674r5h";
2017-02-22 19:07:11 +01:00
};
meta = {
2017-08-08 18:03:44 +02:00
homepage = https://github.com/graylog-labs/graylog-plugin-jabber;
2017-02-22 19:07:11 +01:00
description = "Jabber Alarmcallback Plugin for Graylog";
};
};
2017-05-06 17:37:28 +02:00
mongodb-profiler = glPlugin rec {
name = "graylog-mongodb-profiler-${version}";
pluginName = "graylog-plugin-mongodb-profiler";
version = "2.0.1";
src = fetchurl {
url = "https://github.com/graylog-labs/${pluginName}/releases/download/${version}/${pluginName}-${version}.jar";
sha256 = "1hadxyawdz234lal3dq5cy3zppl7ixxviw96iallyav83xyi23i8";
};
meta = {
homepage = https://github.com/graylog-labs/graylog-plugin-mongodb-profiler;
2017-05-06 17:37:28 +02:00
description = "Graylog input plugin that reads MongoDB profiler data";
};
};
2017-02-22 19:07:11 +01:00
netflow = glPlugin rec {
name = "graylog-netflow-${version}";
pluginName = "graylog-plugin-netflow";
version = "0.1.1";
src = fetchurl {
url = "https://github.com/Graylog2/${pluginName}/releases/download/${version}/${pluginName}-${version}.jar";
sha256 = "1pdv12f9dca1rxf62ds51n79cjhkkyj0gjny8kj1cq64vlayc9x9";
};
meta = {
homepage = https://github.com/Graylog2/graylog-plugin-netflow;
2017-02-22 19:07:11 +01:00
description = "Graylog NetFlow plugin";
};
};
redis = glPlugin rec {
name = "graylog-redis-${version}";
pluginName = "graylog-plugin-redis";
2017-08-08 18:03:44 +02:00
version = "0.1.1";
2017-02-22 19:07:11 +01:00
src = fetchurl {
2017-08-08 18:03:44 +02:00
url = "https://github.com/graylog-labs/${pluginName}/releases/download/${version}/${pluginName}-${version}.jar";
sha256 = "0dfgh6w293ssagas5y0ixwn0vf54i5iv61r5p2q0rbv2da6xvhbw";
2017-02-22 19:07:11 +01:00
};
meta = {
2017-08-08 18:03:44 +02:00
homepage = https://github.com/graylog-labs/graylog-plugin-redis;
2017-02-22 19:07:11 +01:00
description = "Redis plugin for Graylog";
};
};
spaceweather = glPlugin rec {
name = "graylog-spaceweather-${version}";
pluginName = "graylog-plugin-spaceweather";
version = "1.0";
src = fetchurl {
url = "https://github.com/Graylog2/${pluginName}/releases/download/${version}/spaceweather-input.jar";
sha256 = "1mwqy3fhyy4zdwyrzvbr565xwf96xs9d3l70l0khmrm848xf8wz4";
};
meta = {
homepage = https://github.com/Graylog2/graylog-plugin-spaceweather;
2017-02-22 19:07:11 +01:00
description = "Correlate proton density to the response time of your app and the ion temperature to your exception rate.";
};
};
threatintel = glPlugin rec {
name = "graylog-threatintel-${version}";
pluginName = "graylog-plugin-threatintel";
2017-05-06 17:37:28 +02:00
version = "0.10.0";
2017-02-22 19:07:11 +01:00
src = fetchurl {
url = "https://github.com/Graylog2/${pluginName}/releases/download/${version}/${pluginName}-${version}.jar";
2017-05-06 17:37:28 +02:00
sha256 = "0clg0vy8aipw122rfqww1lnjriazlnnh77pqiy5vnmv6ycjw0y4i";
2017-02-22 19:07:11 +01:00
};
meta = {
homepage = https://github.com/Graylog2/graylog-plugin-threatintel;
2017-02-22 19:07:11 +01:00
description = "Graylog Processing Pipeline functions to enrich log messages with IoC information from threat intelligence databases";
};
};
twitter = glPlugin rec {
name = "graylog-twitter-${version}";
pluginName = "graylog-plugin-twitter";
version = "2.0.0";
src = fetchurl {
url = "https://github.com/Graylog2/${pluginName}/releases/download/${version}/${pluginName}-${version}.jar";
sha256 = "1pi34swy9nzq35a823zzvqrjhb6wsg302z31vk2y656sw6ljjxyh";
};
meta = {
homepage = https://github.com/Graylog2/graylog-plugin-twitter;
2017-02-22 19:07:11 +01:00
description = "Graylog input plugin that reads Twitter messages based on keywords in realtime";
};
};
}