My setup is as follows:
- Servers ship logs to a centralized RSYSLOG box.
- Log Server ships logs to loki via promtail
- Loki Ingests loks and grafana is used to sort and filter them
Problem:
I have a LOT of logs and each time I try to search / sort / query them I get:
but I can see logs if I just use {job=~“.+”}|=“error” but only for a period < 1 hour. It seems loki is timing out during the requests.However it will retrieve results if a lesser time is selected.
Question:
Should I NOT aggregate my logs before shipping and create custom promtail configs for each of my servers? I have a requirement to ship all logs in every folder so using …//* or …//*.log is advisable?