You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I want to use netdata's web logs collector to analyze my nginx-ingress logs.
Ideally, I want to find per-host bandwidth usage.
Description
Nginx-ingress only logs to stdout. ND wants a file.
Ideally ND child would mount the node's logs and find /var/log/containers/ingress-nginx-controller*
Importance
really want
Value proposition
Analyze nginx-ingress logs with existing collector
Potentially enable to analyze all kind of pod logs with custom integrations
Proposed implementation
Add a /var/log/container mount to ND child. Enable web log collector to search for log files using wildcards?
The text was updated successfully, but these errors were encountered:
I tried using the CSV log_type but I couldn't get it to match. The error message just said that it couldn't match the line.
For reference, this is a line '2024-03-24T13:17:51.265395971-03:00 stdout F netdata.test 10.42.0.76 - "GET /api/v2/ HTTP/1.1" 200 4039 "http://netdata.test/spaces/netdata-parent/rooms/local/nodes/cabc8b98-b969-11ee-9a5d-52540049cf1a" "Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/122.0.0.0 Safari/537.36" 1008 0.004 0.004 10.42.0.40:19999'
And this was my pattern: $time_local stdout F $host $remote_addr - "$request" $status $bytes_sent "$http_referer" "$http_user_agent" $request_length $request_time $upstream_response_time $upstream_addr
Problem
I want to use netdata's web logs collector to analyze my nginx-ingress logs.
Ideally, I want to find per-host bandwidth usage.
Description
Nginx-ingress only logs to stdout. ND wants a file.
Ideally ND child would mount the node's logs and find /var/log/containers/ingress-nginx-controller*
Importance
really want
Value proposition
Proposed implementation
Add a /var/log/container mount to ND child. Enable web log collector to search for log files using wildcards?
The text was updated successfully, but these errors were encountered: