Skip to content

Instantly share code, notes, and snippets.

@globin
Created March 11, 2016 12:18
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save globin/15ff7d53988e20221b97 to your computer and use it in GitHub Desktop.
Save globin/15ff7d53988e20221b97 to your computer and use it in GitHub Desktop.
nix elk
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