summary refs log tree commit diff
path: root/nixos/modules/services/logging
diff options
context:
space:
mode:
authorEelco Dolstra <eelco.dolstra@logicblox.com>2015-09-24 11:42:32 +0200
committerEelco Dolstra <eelco.dolstra@logicblox.com>2015-09-24 11:50:58 +0200
commit89e983786a4e2cf6dd238af4df6da373cc01e62b (patch)
tree857ecb8eab59fe1855b1fb311e6e1e9ec8303bdc /nixos/modules/services/logging
parente73b19ae4e984f58cebe4dd4f82cda622da552ab (diff)
downloadnixpkgs-89e983786a4e2cf6dd238af4df6da373cc01e62b.tar
nixpkgs-89e983786a4e2cf6dd238af4df6da373cc01e62b.tar.gz
nixpkgs-89e983786a4e2cf6dd238af4df6da373cc01e62b.tar.bz2
nixpkgs-89e983786a4e2cf6dd238af4df6da373cc01e62b.tar.lz
nixpkgs-89e983786a4e2cf6dd238af4df6da373cc01e62b.tar.xz
nixpkgs-89e983786a4e2cf6dd238af4df6da373cc01e62b.tar.zst
nixpkgs-89e983786a4e2cf6dd238af4df6da373cc01e62b.zip
Manual: Remove store path references
Diffstat (limited to 'nixos/modules/services/logging')
-rw-r--r--nixos/modules/services/logging/logstash.nix4
1 files changed, 2 insertions, 2 deletions
diff --git a/nixos/modules/services/logging/logstash.nix b/nixos/modules/services/logging/logstash.nix
index aec45d9286d..3a798c6f372 100644
--- a/nixos/modules/services/logging/logstash.nix
+++ b/nixos/modules/services/logging/logstash.nix
@@ -84,10 +84,10 @@ in
         type = types.lines;
         default = ''stdin { type => "example" }'';
         description = "Logstash input configuration.";
-        example = ''
+        example = literalExample ''
           # Read from journal
           pipe {
-            command => "${pkgs.systemd}/bin/journalctl -f -o json"
+            command => "''${pkgs.systemd}/bin/journalctl -f -o json"
             type => "syslog" codec => json {}
           }
         '';