Merge pull request #324698 from bbenno/graylog-6_0

This commit is contained in:
Sandro 2024-07-16 14:24:21 +02:00 committed by GitHub
commit 0397741f8a
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
3 changed files with 18 additions and 0 deletions

View File

@ -15,6 +15,7 @@ let
message_journal_dir = ${cfg.messageJournalDir}
mongodb_uri = ${cfg.mongodbUri}
plugin_dir = /var/lib/graylog/plugins
data_dir = ${cfg.dataDir}
${cfg.extraConfig}
'';
@ -93,6 +94,12 @@ in
description = "List of valid URIs of the http ports of your elastic nodes. If one or more of your elasticsearch hosts require authentication, include the credentials in each node URI that requires authentication";
};
dataDir = mkOption {
type = types.str;
default = "/var/lib/graylog/data";
description = "Directory used to store Graylog server state.";
};
messageJournalDir = mkOption {
type = types.str;
default = "/var/lib/graylog/data/journal";

View File

@ -0,0 +1,9 @@
{ callPackage, lib, ...}:
let
buildGraylog = callPackage ./graylog.nix {};
in buildGraylog {
version = "6.0.4";
sha256 = "sha256-PU7AepIRwx7FibBkZaQUWUy3v2MeM7cS77FH28aj8I8=";
maintainers = with lib.maintainers; [ bbenno ];
license = lib.licenses.sspl;
}

View File

@ -8499,6 +8499,8 @@ with pkgs;
graylog-5_2 = callPackage ../tools/misc/graylog/5.2.nix { };
graylog-6_0 = callPackage ../tools/misc/graylog/6.0.nix { };
graylogPlugins = recurseIntoAttrs (
callPackage ../tools/misc/graylog/plugins.nix { }
);