14 lines
437 B
ApacheConf
14 lines
437 B
ApacheConf
# Apache: Access-Log → Loki (roh) + optional Request-Metriken → Prometheus
|
|
[[inputs.tail]]
|
|
files = ["${APACHE_LOG}"]
|
|
from_beginning = false
|
|
name_override = "apache_log"
|
|
data_format = "value"
|
|
data_type = "string"
|
|
[inputs.tail.tags]
|
|
source = "apache"
|
|
|
|
# Optional: mod_status (a2enmod status; ExtendedStatus On; /server-status?auto lokal freigeben)
|
|
# [[inputs.apache]]
|
|
# urls = ["http://localhost/server-status?auto"]
|