Icinga / icinga-logstash-pipeline

Logstash rules for Icinga logs
GNU General Public License v3.0
5 stars 0 forks source link

Review "logposition" in apilistener file #56

Open widhalmt opened 3 years ago

widhalmt commented 3 years ago

We create a field logposition that we parse and then remove. This part of the code seems to have two problems:

  1. Creating and removing a field is not necessary. We could just use the @metadata toplevel field. That's removed automatically
  2. The field we remove seems to be named log_position so it doesn't work anyway

We should fix that.