Skip to content

IP addresses in the log events in k8s deployment #2217

@taojing2002

Description

@taojing2002

When CNs processes the log records harvested from ADC, I saw lots of errors like:

[ERROR] 2025-07-21 20:08:05,709 [LogAggregationQuartzScheduler_Worker-5]  (GeoIPService:initLocation:102) Location not found for IP address: "192.168.141.254"
[ERROR] 2025-07-21 20:08:06,456 [LogAggregationQuartzScheduler_Worker-5]  (GeoIPService:initLocation:102) Location not found for IP address: "192.168.141.254"
[ERROR] 2025-07-21 20:08:07,165 [LogAggregationQuartzScheduler_Worker-5]  (GeoIPService:initLocation:102) Location not found for IP address: "192.168.141.254"
[ERROR] 2025-07-21 20:08:07,167 [LogAggregationQuartzScheduler_Worker-5]  (GeoIPService:initLocation:102) Location not found for IP address: "192.168.141.254"

I am wondering if the local ip address 192.168.141.254 is used when Nginx forwards requests to Metacat. So Metacat logs the local address as the original address.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions