title: What is the format of logstash config file
body: <p>Does logstash use its own file syntax in config file? Is there any parser or validator for config file syntax?</p>
  
  <p>For anyone that does not use logstash but have idea about file formats here is a sample syntax:</p>
  
  <pre><code>input {
    file {
      path =&gt; "/var/log/messages"
      type =&gt; "syslog"
    }
  
    file {
      path =&gt; "/var/log/apache/access.log"
      type =&gt; "apache"
    }
  }
  </code></pre>