Hi,
I have a general question about field types.
I have a field with type double. But sometimes my log line doesn't have this field and it just stays as "-" (string).
In that case Logstash refuses to index this log in ElasticSearch for obvious reasons.
You can try converting it to a zero value or just not sending anything (ie drop the field), but that may cause issues with aggregations and data not being 100% representative.
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.