title: Trouble parsing XML in logstash
body: <p>Our applications are unstable and generate 1000's of elmah error log files. We are trying to see which areas of the applications are error prone and unstable. We have decided to use ElasticSearch, LogStash, Kibana to search through these logs and generate trends. I am trying to configure logstash for this scenario. I am getting the "Something is wrong with your configuration." error when running the "logstash agent -f logstash-simple2.conf" command. What could I be doing wrong? Any pointers are appreciated. </p>
  
  <p><strong>logstash-simple2.conf:</strong></p>
  
  <pre><code>input {
    stdin {
      type =&gt; "stdin-type"
    }
  
    file {
       type =&gt; "file"
       pattern =&gt; ["Z:/PROD/availability2/2014-04-15/00/**/*.xml"]
      }
  }
  
  output {
    stdout { }
    elasticsearch { embedded =&gt; true }
  }
  </code></pre>
  
  <p><strong>Input file:</strong></p>
  
  <p></p>
  
  <p><strong>Actual Error:</strong></p>
  
  <pre><code>?[33mUsing milestone 2 input plugin 'file'. This plugin should be stable, but if you see strange behavior, please let us know! For more information on plugin milestones, see http://logstash.net/docs/1.4.0/plugin-milestones {:level=&gt;:warn}?[0m?[31mUnknown setting 'pattern' for file {:level=&gt;:error}?[0m
  Error: Something is wrong with your configuration.You may be interested in the '--configtest' flag which you can use to validate logstash's configuration before you choose to restart a running system.
  </code></pre>