title: Filebeat and LogStash -- data in multiple different formats
body: <p>I have Filebeat, Logstash, ElasticSearch and Kibana. Filebeat is on a separate server and it's supposed to receive data in different formats: syslog, json, from a database, etc and send it to Logstash. </p>
  
  <p>I know how to setup Logstash to make it handle a single format, but since there are multiple data formats, how would I configure Logstash to handle each data format properly?</p>
  
  <p>In fact, how can I setup them both, Logstash and Filebeat, so that all the data in different formats get sent from Filebeat and submitted to  Logstash properly? I mean, the config setting which handle sending and receiving data.</p>