Is there a way I can have multiple types with filebeat and logstash? I have multiple app logs I want to send to different indices. BUT they will be processed the same way
Yes, you can do this. You can add tags (or fields) in the prospector configuration and make everything in the logstash configuration conditional upon what tags the event has (or the value of some field, if you want to add a field in filebeat).
No. Filebeat puts the line from the file in the event field message. It then adds the additional fields or tags that you configured. They are attached as fields or tags, they do not modify the message field.
I believe the "even better" substitution would work if you use a %{} reference.
Apache, Apache Lucene, Apache Hadoop, Hadoop, HDFS and the yellow elephant
logo are trademarks of the
Apache Software Foundation
in the United States and/or other countries.