I am a consumer of an elastic stack (filebeat, es, kibana) that gets structured json logs from a kubernetes cluster (writing to stdout). The stack is slef hosted by a group at my workplace and unfortunately it does not get the required attention (i.e disks fill up, rouge services spam the logs)
Some thing has happened in the last few days after an incident (where spamming indexes had to be deleted) and after that a set of log entries from my app have stopped appearing in Kibana. Upon inspection i can see that i can get those logs when i do kubectl logs. Other logs that come before in a transaction, from same pod/app/ingest method are working fine.
I have observed that one of the keys of the structured log has conflict in indexes (it appearss as text, keyword and object). Can it be that there is a conflict and a whole entry gets ignored.
I checked the type of the field and it is text, ignore_above: 1024 and the text i get in raw logs is never longer than 500. So that may not be an issue.
What could have changed?
I have been scratching my head over this for 10 days now. Any pointers would be greatly appreciated