Logstash cannot index to Elasticsearch

Hi,
The resolution begins first by understanding the reason for the WARN logging.
In particular "reason"=>"[include_in_all] is not allowed for indices created on or after version 6.0.0 as [_all] is deprecated. As a replacement, you can use an [copy_to] on mapping fields to create your own catch all field."}}}}}

You may need to review your mapping with this in mind: https://www.elastic.co/guide/en/elasticsearch/reference/current/copy-to.html