title: Linux filebeat input collector for Graylog
body: <p>I'm try to configure a Graylog collector [filebeat] for Liunx. The part that I'm having an issue with is the paths:</p>
  <p>The path I want to collect logs from has many log files contained in it. I only want to collect the files that have the format (example) 20201020.catalina.out</p>
  <p>from a the command line I run this and it works on the server:</p>
  <pre><code>vi /var/log/oscar/`(date +&quot;%Y%m%d.catalina.out&quot;)`
  </code></pre>
  <p>Bring up the file with today's date.</p>
  <p>Example of my filebeat config:</p>
  <pre><code>&gt; # Needed for Graylog fields_under_root: true fields.collector_node_id: ${sidecar.nodeName} fields.gl2_source_collector: ${sidecar.nodeId}
  &gt; 
  &gt; filebeat.inputs:
  &gt; - input_type: log
  &gt; 
  &gt;   paths:
  &gt;     
  &gt;     - /var/log/oscar/error-ssl.log
  &gt;     - /var/log/oscar/access-ssl.log
  &gt;     - /var/log/oscar/`(date +&quot;%Y%m%d.catalina.out&quot;)`
  </code></pre>
  <p>When the collector is running it only captures only the  error-ssl.log and access-ssl.log [logs]</p>