1 { lib, stdenv, fetchurl, unzip, graylog-5_1 }:
16 cp $src $out/bin/${pluginName}-${version}.jar
20 stdenv.mkDerivation (a // {
23 nativeBuildInputs = [ unzip ];
25 platforms = graylog-5_1.meta.platforms;
26 maintainers = (a.meta.maintainers or []) ++ [ maintainers.fadenb ];
27 sourceProvenance = with sourceTypes; [ binaryBytecode ];
31 aggregates = glPlugin rec {
32 name = "graylog-aggregates-${version}";
33 pluginName = "graylog-plugin-aggregates";
36 url = "https://github.com/cvtienhoven/${pluginName}/releases/download/${version}/${pluginName}-${version}.jar";
37 sha256 = "1c48almnjr0b6nvzagnb9yddqbcjs7yhrd5yc5fx9q7w3vxi50zp";
40 homepage = "https://github.com/cvtienhoven/graylog-plugin-aggregates";
41 description = "Plugin that enables users to execute term searches and get notified when the given criteria are met";
44 auth_sso = glPlugin rec {
45 name = "graylog-auth-sso-${version}";
46 pluginName = "graylog-plugin-auth-sso";
49 url = "https://github.com/Graylog2/${pluginName}/releases/download/${version}/${pluginName}-${version}.jar";
50 sha256 = "1g47hlld8vzicd47b5i9n2816rbrhv18vjq8gp765c7mdg4a2jn8";
53 homepage = "https://github.com/Graylog2/graylog-plugin-auth-sso";
54 description = "SSO support for Graylog through trusted HTTP headers set by load balancers or authentication proxies";
57 dnsresolver = glPlugin rec {
58 name = "graylog-dnsresolver-${version}";
59 pluginName = "graylog-plugin-dnsresolver";
62 url = "https://github.com/graylog-labs/${pluginName}/releases/download/${version}/${pluginName}-${version}.jar";
63 sha256 = "0djlyd4w4mrrqfbrs20j1xw0fygqsb81snz437v9bf80avmcyzg1";
66 homepage = "https://github.com/graylog-labs/graylog-plugin-dnsresolver";
67 description = "Message filter plugin can be used to do DNS lookups for the source field in Graylog messages";
70 enterprise-integrations = glPlugin rec {
71 name = "graylog-enterprise-integrations-${version}";
72 pluginName = "graylog-plugin-enterprise-integrations";
75 url = "https://downloads.graylog.org/releases/graylog-enterprise-integrations/graylog-enterprise-integrations-plugins-${version}.tgz";
76 sha256 = "0yr2lmf50w8qw5amimmym6y4jxga4d7s7cbiqs5sqzvipgsknbwj";
80 tar --strip-components=2 -xf $src
81 cp ${pluginName}-${version}.jar $out/bin/${pluginName}-${version}.jar
84 homepage = "https://docs.graylog.org/en/3.3/pages/integrations.html#enterprise";
85 description = "Integrations are tools that help Graylog work with external systems (unfree enterprise integrations)";
86 license = licenses.unfree;
89 filter-messagesize = glPlugin rec {
90 name = "graylog-filter-messagesize-${version}";
91 pluginName = "graylog-plugin-filter-messagesize";
94 url = "https://github.com/graylog-labs/${pluginName}/releases/download/${version}/${pluginName}-${version}.jar";
95 sha256 = "1vx62yikd6d3lbwsfiyf9j6kx8drvn4xhffwv27fw5jzhfqr61ji";
98 homepage = "https://github.com/graylog-labs/graylog-plugin-filter-messagesize";
99 description = "Prints out all messages that have an estimated size crossing a configured threshold during processing";
102 integrations = glPlugin rec {
103 name = "graylog-integrations-${version}";
104 pluginName = "graylog-plugin-integrations";
107 url = "https://downloads.graylog.org/releases/graylog-integrations/graylog-integrations-plugins-${version}.tgz";
108 sha256 = "0q858ffmkinngyqqsaszcrx93zc4fg43ny0xb7vm0p4wd48hjyqc";
112 tar --strip-components=2 -xf $src
113 cp ${pluginName}-${version}.jar $out/bin/${pluginName}-${version}.jar
116 homepage = "https://github.com/Graylog2/graylog-plugin-integrations";
117 description = "Collection of open source Graylog integrations that will be released together";
120 internal-logs = glPlugin rec {
121 name = "graylog-internal-logs-${version}";
122 pluginName = "graylog-plugin-internal-logs";
125 url = "https://github.com/graylog-labs/${pluginName}/releases/download/${version}/${pluginName}-${version}.jar";
126 sha256 = "1jyy0wkjapv3xv5q957xxv2pcnd4n1yivkvkvg6cx7kv1ip75xwc";
129 homepage = "https://github.com/graylog-labs/graylog-plugin-internal-logs";
130 description = "Graylog plugin to record internal logs of Graylog efficiently instead of sending them over the network";
133 ipanonymizer = glPlugin rec {
134 name = "graylog-ipanonymizer-${version}";
135 pluginName = "graylog-plugin-ipanonymizer";
138 url = "https://github.com/graylog-labs/${pluginName}/releases/download/${version}/${pluginName}-${version}.jar";
139 sha256 = "0hd66751hp97ddkn29s1cmjmc2h1nrp431bq7d2wq16iyxxlygri";
142 homepage = "https://github.com/graylog-labs/graylog-plugin-ipanonymizer";
143 description = "Graylog-server plugin that replaces the last octet of IP addresses in messages with xxx";
146 jabber = glPlugin rec {
147 name = "graylog-jabber-${version}";
148 pluginName = "graylog-plugin-jabber";
151 url = "https://github.com/graylog-labs/${pluginName}/releases/download/${version}/${pluginName}-${version}.jar";
152 sha256 = "0zy27q8y0bv7i5nypsfxad4yiw121sbwzd194jsz2w08jhk3skl5";
155 homepage = "https://github.com/graylog-labs/graylog-plugin-jabber";
156 description = "Jabber Alarmcallback Plugin for Graylog";
159 metrics = glPlugin rec {
160 name = "graylog-metrics-${version}";
161 pluginName = "graylog-plugin-metrics";
164 url = "https://github.com/graylog-labs/${pluginName}/releases/download/${version}/${pluginName}-${version}.jar";
165 sha256 = "1v1yzmqp43kxigh3fymdwki7pn21sk2ym3kk4nn4qv4zzkhz59vp";
168 homepage = "https://github.com/graylog-labs/graylog-plugin-metrics";
169 description = "Output plugin for integrating Graphite, Ganglia and StatsD with Graylog";
172 mongodb-profiler = glPlugin rec {
173 name = "graylog-mongodb-profiler-${version}";
174 pluginName = "graylog-plugin-mongodb-profiler";
177 url = "https://github.com/graylog-labs/${pluginName}/releases/download/${version}/${pluginName}-${version}.jar";
178 sha256 = "1hadxyawdz234lal3dq5cy3zppl7ixxviw96iallyav83xyi23i8";
181 homepage = "https://github.com/graylog-labs/graylog-plugin-mongodb-profiler";
182 description = "Graylog input plugin that reads MongoDB profiler data";
185 pagerduty = glPlugin rec {
186 name = "graylog-pagerduty-${version}";
187 pluginName = "graylog-plugin-pagerduty";
190 url = "https://github.com/graylog-labs/${pluginName}/releases/download/${version}/${pluginName}-${version}.jar";
191 sha256 = "0xhcwfwn7c77giwjilv7k7aijnj9azrjbjgd0r3p6wdrw970f27r";
194 homepage = "https://github.com/graylog-labs/graylog-plugin-pagerduty";
195 description = "Alarm callback plugin for integrating PagerDuty into Graylog";
198 redis = glPlugin rec {
199 name = "graylog-redis-${version}";
200 pluginName = "graylog-plugin-redis";
203 url = "https://github.com/graylog-labs/${pluginName}/releases/download/${version}/${pluginName}-${version}.jar";
204 sha256 = "0dfgh6w293ssagas5y0ixwn0vf54i5iv61r5p2q0rbv2da6xvhbw";
207 homepage = "https://github.com/graylog-labs/graylog-plugin-redis";
208 description = "Redis plugin for Graylog";
211 slack = glPlugin rec {
212 name = "graylog-slack-${version}";
213 pluginName = "graylog-plugin-slack";
216 url = "https://github.com/graylog-labs/${pluginName}/releases/download/${version}/${pluginName}-${version}.jar";
217 sha256 = "067p8g94b007gypwyyi8vb6qhwdanpk8ah57abik54vv14jxg94k";
220 homepage = "https://github.com/graylog-labs/graylog-plugin-slack";
221 description = "Can notify Slack or Mattermost channels about triggered alerts in Graylog (Alarm Callback)";
224 smseagle = glPlugin rec {
225 name = "graylog-smseagle-${version}";
226 pluginName = "graylog-plugin-smseagle";
229 url = "https://bitbucket.org/proximus/smseagle-graylog/raw/b99cfc349aafc7c94d4c2503f7c3c0bde67684d1/jar/graylog-plugin-smseagle-1.0.1.jar";
230 sha256 = "sha256-rvvftzPskXRGs1Z9dvd/wFbQoIoNtEQIFxMIpSuuvf0=";
233 homepage = "https://bitbucket.org/proximus/smseagle-graylog/";
234 description = "Alert/notification callback plugin for integrating the SMSEagle into Graylog";
235 license = licenses.gpl3Only;
238 snmp = glPlugin rec {
239 name = "graylog-snmp-${version}";
240 pluginName = "graylog-plugin-snmp";
243 url = "https://github.com/graylog-labs/${pluginName}/releases/download/${version}/${pluginName}-${version}.jar";
244 sha256 = "1hkaklwzcsvqq45b98chwqxqdgnnbj4dg68agsll13yq4zx37qpp";
247 homepage = "https://github.com/graylog-labs/graylog-plugin-snmp";
248 description = "Graylog plugin to receive SNMP traps";
251 spaceweather = glPlugin rec {
252 name = "graylog-spaceweather-${version}";
253 pluginName = "graylog-plugin-spaceweather";
256 url = "https://github.com/graylog-labs/${pluginName}/releases/download/${version}/spaceweather-input.jar";
257 sha256 = "1mwqy3fhyy4zdwyrzvbr565xwf96xs9d3l70l0khmrm848xf8wz4";
260 homepage = "https://github.com/graylog-labs/graylog-plugin-spaceweather";
261 description = "Correlate proton density to the response time of your app and the ion temperature to your exception rate";
264 splunk = glPlugin rec {
265 name = "graylog-splunk-${version}";
266 pluginName = "graylog-plugin-splunk";
267 version = "0.5.0-rc.1";
269 url = "https://github.com/graylog-labs/graylog-plugin-splunk/releases/download/0.5.0-rc.1/graylog-plugin-splunk-0.5.0-rc.1.jar";
270 sha256 = "sha256-EwF/Dc8GmMJBTxH9xGZizUIMTGSPedT4bprorN6X9Os=";
273 homepage = "https://github.com/graylog-labs/graylog-plugin-splunk";
274 description = "Graylog output plugin that forwards one or more streams of data to Splunk via TCP";
275 license = licenses.gpl3Only;
278 twiliosms = glPlugin rec {
279 name = "graylog-twiliosms-${version}";
280 pluginName = "graylog-plugin-twiliosms";
283 url = "https://github.com/graylog-labs/${pluginName}/releases/download/${version}/${pluginName}-${version}.jar";
284 sha256 = "0kwfv1zfj0fmxh9i6413bcsaxrn1vdwrzb6dphvg3dx27wxn1j1a";
287 homepage = "https://github.com/graylog-labs/graylog-plugin-twiliosms";
288 description = "Alarm callback plugin for integrating the Twilio SMS API into Graylog";
291 twitter = glPlugin rec {
292 name = "graylog-twitter-${version}";
293 pluginName = "graylog-plugin-twitter";
296 url = "https://github.com/graylog-labs/${pluginName}/releases/download/${version}/${pluginName}-${version}.jar";
297 sha256 = "1pi34swy9nzq35a823zzvqrjhb6wsg302z31vk2y656sw6ljjxyh";
300 homepage = "https://github.com/graylog-labs/graylog-plugin-twitter";
301 description = "Graylog input plugin that reads Twitter messages based on keywords in realtime";