diff options
Diffstat (limited to 'nixpkgs/nixos/modules/services/logging/logstash.nix')
-rw-r--r-- | nixpkgs/nixos/modules/services/logging/logstash.nix | 24 |
1 files changed, 12 insertions, 12 deletions
diff --git a/nixpkgs/nixos/modules/services/logging/logstash.nix b/nixpkgs/nixos/modules/services/logging/logstash.nix index 22292dbd931b..53e2e91d6212 100644 --- a/nixpkgs/nixos/modules/services/logging/logstash.nix +++ b/nixpkgs/nixos/modules/services/logging/logstash.nix @@ -51,7 +51,7 @@ in enable = mkOption { type = types.bool; default = false; - description = lib.mdDoc "Enable logstash."; + description = "Enable logstash."; }; package = mkPackageOption pkgs "logstash" { }; @@ -60,13 +60,13 @@ in type = types.listOf types.path; default = [ ]; example = literalExpression "[ pkgs.logstash-contrib ]"; - description = lib.mdDoc "The paths to find other logstash plugins in."; + description = "The paths to find other logstash plugins in."; }; dataDir = mkOption { type = types.str; default = "/var/lib/logstash"; - description = lib.mdDoc '' + description = '' A path to directory writable by logstash that it uses to store data. Plugins will also have access to this path. ''; @@ -75,31 +75,31 @@ in logLevel = mkOption { type = types.enum [ "debug" "info" "warn" "error" "fatal" ]; default = "warn"; - description = lib.mdDoc "Logging verbosity level."; + description = "Logging verbosity level."; }; filterWorkers = mkOption { type = types.int; default = 1; - description = lib.mdDoc "The quantity of filter workers to run."; + description = "The quantity of filter workers to run."; }; listenAddress = mkOption { type = types.str; default = "127.0.0.1"; - description = lib.mdDoc "Address on which to start webserver."; + description = "Address on which to start webserver."; }; port = mkOption { type = types.str; default = "9292"; - description = lib.mdDoc "Port on which to start webserver."; + description = "Port on which to start webserver."; }; inputConfig = mkOption { type = types.lines; default = "generator { }"; - description = lib.mdDoc "Logstash input configuration."; + description = "Logstash input configuration."; example = literalExpression '' ''' # Read from journal @@ -114,7 +114,7 @@ in filterConfig = mkOption { type = types.lines; default = ""; - description = lib.mdDoc "logstash filter configuration."; + description = "logstash filter configuration."; example = '' if [type] == "syslog" { # Keep only relevant systemd fields @@ -132,7 +132,7 @@ in outputConfig = mkOption { type = types.lines; default = "stdout { codec => rubydebug }"; - description = lib.mdDoc "Logstash output configuration."; + description = "Logstash output configuration."; example = '' redis { host => ["localhost"] data_type => "list" key => "logstash" codec => json } elasticsearch { } @@ -142,7 +142,7 @@ in extraSettings = mkOption { type = types.lines; default = ""; - description = lib.mdDoc "Extra Logstash settings in YAML format."; + description = "Extra Logstash settings in YAML format."; example = '' pipeline: batch: @@ -154,7 +154,7 @@ in extraJvmOptions = mkOption { type = types.lines; default = ""; - description = lib.mdDoc "Extra JVM options, one per line (jvm.options format)."; + description = "Extra JVM options, one per line (jvm.options format)."; example = '' -Xms2g -Xmx2g |