tweaks: vector logging
This commit is contained in:
parent
5f1ae8a24f
commit
a177443337
@ -190,6 +190,7 @@
|
||||
data_dir = "/var/lib/vector";
|
||||
api = {
|
||||
enabled = true;
|
||||
address = "127.0.0.1:8686";
|
||||
};
|
||||
sources = {
|
||||
prometheus = {
|
||||
|
@ -28,8 +28,14 @@ with lib;
|
||||
|
||||
launchd.daemons.vector = mkIf config.services.vector.enable {
|
||||
serviceConfig = {
|
||||
Program = "${pkgs.vector}/bin/vector";
|
||||
ProgramArguments = [
|
||||
"${pkgs.clio}/bin/clio"
|
||||
"--out-path=${config.services.vector.stdoutPath}"
|
||||
"--err-path=${config.services.vector.stdoutPath}"
|
||||
"--pid-file=${config.services.vector.pidPath}"
|
||||
"--paranoid"
|
||||
"--"
|
||||
"${pkgs.vector}/bin/vector"
|
||||
"--verbose"
|
||||
"--watch-config"
|
||||
"--config=/etc/${config.environment.etc."vector.yaml".target}"
|
||||
|
Loading…
x
Reference in New Issue
Block a user