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.
What is the best practice in this case?