As in topic, I have LGTM with Alloy. It is well-described in documentation how to use it - loki.process | Grafana Alloy documentation - and that’s what I’d use in my config.
Is this the only way? TBH I have to check maybe 100 logs (and IPs) a week and it’s geo-location. What would you do if you were me?
Thanks
That’s opinionated question, which can’t be answered properly.
For example I would buy that MaxMind DB. But probably you think it is expensive option and you want to avoid that (but you didn’t mention it explicitly). The maybe you can try free MaxMind DB. But then you can have billions and billions other issues with that. So I would ask differently - specify what’s the problem and what are your boundaries.
This has to be for commercial use. For certain logs in a pod, I’d like to know the geo-location of the IP which made the request to my app. Is the MaxMind DB my only option?
IMHO not. But it is the most convenient option. Other options:
- develop your own geo ip enrichment of logs with your favorite geo IP provider
- develop geo ip lookup with your favorite geo IP provider on the dashboard
These options need development - there is no copy&paste doc for this case.