Created
March 11, 2016 12:18
-
-
Save globin/15ff7d53988e20221b97 to your computer and use it in GitHub Desktop.
nix elk
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
elasticsearch = { | |
enable = true; | |
}; | |
logstash = { | |
enable = true; | |
outputConfig = '' | |
elasticsearch { | |
protocol => http | |
} | |
''; | |
filterConfig = ""; | |
inputConfig = '' | |
pipe { | |
command => "${pkgs.systemd}/bin/journalctl -f -o json" | |
type => "syslog" codec => json {} | |
} | |
''; | |
}; | |
kibana = { | |
enable = true; | |
}; | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment