mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-25 08:23:09 +00:00
Merge pull request #89617 from omniitgmbh/graylog_3.3.0_with_plugins
graylog: 3.2.5 -> 3.3.0 (+ plugins)
This commit is contained in:
commit
7d3dd35e42
@ -2,11 +2,11 @@
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
pname = "graylog";
|
||||
version = "3.2.5";
|
||||
version = "3.3.0";
|
||||
|
||||
src = fetchurl {
|
||||
url = "https://packages.graylog2.org/releases/graylog/graylog-${version}.tgz";
|
||||
sha256 = "1sbws735w0qww3nj8ai105a743nyrf1iprmcl89w5h8yirq2z1r9";
|
||||
sha256 = "1ydplg2lifql5s4bh64a4lwqp1q5vrvbljhn1pnxv9vz0ab73q1k";
|
||||
};
|
||||
|
||||
dontBuild = true;
|
||||
|
@ -38,10 +38,10 @@ in {
|
||||
auth_sso = glPlugin rec {
|
||||
name = "graylog-auth-sso-${version}";
|
||||
pluginName = "graylog-plugin-auth-sso";
|
||||
version = "3.1.0";
|
||||
version = "3.3.0";
|
||||
src = fetchurl {
|
||||
url = "https://github.com/Graylog2/${pluginName}/releases/download/${version}/${pluginName}-${version}.jar";
|
||||
sha256 = "0hwgpq1j3qk0j1zgap5f1avh2nvkcscgds81x8xr0gamphgps8y2";
|
||||
sha256 = "1g47hlld8vzicd47b5i9n2816rbrhv18vjq8gp765c7mdg4a2jn8";
|
||||
};
|
||||
meta = {
|
||||
homepage = "https://github.com/Graylog2/graylog-plugin-auth-sso";
|
||||
@ -61,6 +61,25 @@ in {
|
||||
description = "Message filter plugin can be used to do DNS lookups for the source field in Graylog messages";
|
||||
};
|
||||
};
|
||||
enterprise-integrations = glPlugin rec {
|
||||
name = "graylog-enterprise-integrations-${version}";
|
||||
pluginName = "graylog-plugin-enterprise-integrations";
|
||||
version = "3.3.0";
|
||||
src = fetchurl {
|
||||
url = "https://downloads.graylog.org/releases/graylog-enterprise-integrations/graylog-enterprise-integrations-plugins-${version}.tgz";
|
||||
sha256 = "1480ccii3nzvm0jp1xm2iddgc789zcwbgd19201q7p3v0ph02yj8";
|
||||
};
|
||||
installPhase = ''
|
||||
mkdir -p $out/bin
|
||||
tar --strip-components=2 -xf $src
|
||||
cp ${pluginName}-${version}.jar $out/bin/${pluginName}-${version}.jar
|
||||
'';
|
||||
meta = {
|
||||
homepage = "https://docs.graylog.org/en/3.2/pages/integrations.html#enterprise";
|
||||
description = "Integrations are tools that help Graylog work with external systems (unfree enterprise integrations)";
|
||||
license = stdenv.lib.licenses.unfree;
|
||||
};
|
||||
};
|
||||
filter-messagesize = glPlugin rec {
|
||||
name = "graylog-filter-messagesize-${version}";
|
||||
pluginName = "graylog-plugin-filter-messagesize";
|
||||
@ -74,6 +93,24 @@ in {
|
||||
description = "Prints out all messages that have an estimated size crossing a configured threshold during processing";
|
||||
};
|
||||
};
|
||||
integrations = glPlugin rec {
|
||||
name = "graylog-integrations-${version}";
|
||||
pluginName = "graylog-plugin-integrations";
|
||||
version = "3.3.0";
|
||||
src = fetchurl {
|
||||
url = "https://downloads.graylog.org/releases/graylog-integrations/graylog-integrations-plugins-${version}.tgz";
|
||||
sha256 = "08cpxviwk2p4zsgbr2h3symr88rf3fjfz1kkg4iglvdc5mqf71xx";
|
||||
};
|
||||
installPhase = ''
|
||||
mkdir -p $out/bin
|
||||
tar --strip-components=2 -xf $src
|
||||
cp ${pluginName}-${version}.jar $out/bin/${pluginName}-${version}.jar
|
||||
'';
|
||||
meta = {
|
||||
homepage = https://github.com/Graylog2/graylog-plugin-integrations;
|
||||
description = "A collection of open source Graylog integrations that will be released together";
|
||||
};
|
||||
};
|
||||
internal-logs = glPlugin rec {
|
||||
name = "graylog-internal-logs-${version}";
|
||||
pluginName = "graylog-plugin-internal-logs";
|
||||
@ -142,10 +179,10 @@ in {
|
||||
pagerduty = glPlugin rec {
|
||||
name = "graylog-pagerduty-${version}";
|
||||
pluginName = "graylog-plugin-pagerduty";
|
||||
version = "1.3.0";
|
||||
version = "2.0.0";
|
||||
src = fetchurl {
|
||||
url = "https://github.com/graylog-labs/${pluginName}/releases/download/${version}/${pluginName}-${version}.jar";
|
||||
sha256 = "1g63c6rm5pkz7f0d73wb2lmk4zm430jqnhihbyq112cm4i7ymglh";
|
||||
sha256 = "0xhcwfwn7c77giwjilv7k7aijnj9azrjbjgd0r3p6wdrw970f27r";
|
||||
};
|
||||
meta = {
|
||||
homepage = "https://github.com/graylog-labs/graylog-plugin-pagerduty";
|
||||
@ -178,6 +215,19 @@ in {
|
||||
description = "Can notify Slack or Mattermost channels about triggered alerts in Graylog (Alarm Callback)";
|
||||
};
|
||||
};
|
||||
snmp = glPlugin rec {
|
||||
name = "graylog-snmp-${version}";
|
||||
pluginName = "graylog-plugin-snmp";
|
||||
version = "0.3.0";
|
||||
src = fetchurl {
|
||||
url = "https://github.com/graylog-labs/${pluginName}/releases/download/${version}/${pluginName}-${version}.jar";
|
||||
sha256 = "1hkaklwzcsvqq45b98chwqxqdgnnbj4dg68agsll13yq4zx37qpp";
|
||||
};
|
||||
meta = {
|
||||
homepage = https://github.com/graylog-labs/graylog-plugin-snmp;
|
||||
description = "Graylog plugin to receive SNMP traps";
|
||||
};
|
||||
};
|
||||
spaceweather = glPlugin rec {
|
||||
name = "graylog-spaceweather-${version}";
|
||||
pluginName = "graylog-plugin-spaceweather";
|
||||
|
Loading…
Reference in New Issue
Block a user