journalbeat: set logging host
This commit is contained in:
parent
2fbc48e116
commit
2be650b93e
|
@ -1,4 +1,4 @@
|
||||||
{ config, pkgs, lib, ... }:
|
{ hostRegistry, config, pkgs, lib, ... }:
|
||||||
|
|
||||||
let
|
let
|
||||||
|
|
||||||
|
@ -47,8 +47,8 @@ in {
|
||||||
output.logstash:
|
output.logstash:
|
||||||
# Boolean flag to enable or disable the output module.
|
# Boolean flag to enable or disable the output module.
|
||||||
enabled: true
|
enabled: true
|
||||||
hosts: ["logging.serv.zentralwerk.org:5044", "172.20.73.13:5044"]
|
hosts: ["${hostRegistry.hosts.logging.ip4}:5044"]
|
||||||
'';
|
'';
|
||||||
};
|
};
|
||||||
|
|
||||||
services.prometheus.exporters.node.enable = true;
|
services.prometheus.exporters.node.enable = true;
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
{ config, pkgs, lib, modulesPath, ... }:
|
{ hostRegistry, config, pkgs, lib, modulesPath, ... }:
|
||||||
|
|
||||||
{
|
{
|
||||||
imports = [
|
imports = [
|
||||||
|
@ -74,8 +74,8 @@
|
||||||
output.logstash:
|
output.logstash:
|
||||||
# Boolean flag to enable or disable the output module.
|
# Boolean flag to enable or disable the output module.
|
||||||
enabled: true
|
enabled: true
|
||||||
hosts: ["logging.serv.zentralwerk.org:5044", "172.20.73.13:5044"]
|
hosts: ["${hostRegistry.hosts.logging.ip4}:5044"]
|
||||||
'';
|
'';
|
||||||
};
|
};
|
||||||
|
|
||||||
# Required for remote deployment
|
# Required for remote deployment
|
||||||
|
|
Loading…
Reference in New Issue