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