ali hbz
09/19/2025, 5:12 PMhost.name
for logs (similar to traces), but I couldn’t get it to work — not sure what I’m missing here.
Another question: as you can see, I’m currently reading logs from multiple files. How can I categorize or separate these logs in the Logs tab, so that logs from each file are grouped or distinguished more clearly?Hien Le
09/19/2025, 5:36 PMhost.name
.
The filelog
watcher used by the signoz infra agent needs a container operator to add back the k8s info.Hien Le
09/19/2025, 8:45 PM/var/log
directly... it doesn't look like you're on k8s but just exporting logs for a service directly on a host?ali hbz
09/19/2025, 9:30 PMhost.name
to the logs read from the file using this part of the config:
processors:
attributes/common:
actions:
- key: host.name
value: common_microservice
action: upsert
attributes/nginx_access:
actions:
- key: service.name
value: nginx_access
action: upsert
attributes/nginx_error:
actions:
- key: service.name
value: nginx_error
action: upsert
attributes/php_fpm_error:
actions:
- key: service.name
value: php_fpm_error
action: upsert
attributes/whois_microservice_v1:
actions:
- key: service.name
value: whois_microservice_v1
action: upsert
...
pipelines:
logs/nginx_access:
receivers: [filelog/nginx_access]
processors: [attributes/common, attributes/nginx_access]
exporters: [otlp]
logs/nginx_error:
receivers: [ filelog/nginx_error ]
processors: [attributes/common, attributes/nginx_error]
exporters: [ otlp ]
logs/php_fpm_error:
receivers: [ filelog/php_fpm_error ]
processors: [attributes/common, attributes/php_fpm_error ]
exporters: [ otlp ]
logs/whois_microservice_v1:
receivers: [ filelog/whois_microservice_v1 ]
processors: [attributes/common, attributes/whois_microservice_v1 ]
exporters: [ otlp ]
ali hbz
09/19/2025, 9:34 PMali hbz
09/19/2025, 9:35 PMali hbz
09/19/2025, 9:36 PMHien Le
09/19/2025, 11:32 PMhost.name
.