Harvester doesnt read file


(Janko Šarmír) #1

I have this configuration (v 5.x)

  • input_type: log
    document_type: nginx.error
    paths:
    • /var/log/nginx/error*.log*
    • /var/www/urba/var/logs/nginx_error.log;
      exclude_files: [".gz$"]

first rule of paths finds all files and harvests correctly
second rule doesnt start harvester even file exists and is updated
i cannot figure out, why its not reading


(Janko Šarmír) #2

solved
after spending many hours debugging and reading docs, i found a typo ";"
i can enhance it in this format, cool

/var/www/*/var/logs/nginx_error.log


(system) #3

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.