i am a Graylog newbie since today and have installed Graylog basically and integrated a host via sidecar. As I understood it, Sidecar itself is not a collector, but accesses other collectors (Logstash, Filebeat etc.).
I wonder why I can set the variable list_log_files in the sidecar config. I specified it with “/var/log” and get the log files including size and last modification date in the graylog frontend. What is the use of this information if Sidecar itself is not a collector and I cannot access the log files?
# A list of directories to scan for log files. The sidecar will scan each # directory for log files and submits them to the server on each update. # # Example: # list_log_files: # - "/var/log/nginx" # - "/opt/app/logs" # # Default: empty list list_log_files: - "/var/log"