I am getting Courier Fetch shard failed errors when trying to build a visualization. I have narrowed it down to one field I am trying to map as number to obtain an average. I even try clearing data mapping, and I still get the error. The process I follow is:
- stop logstash clients
- delete mapping:
Invoke-RestMethod http://localhost:9200/logstash-*/_mapping/IISLog -Method Delete - reset mapping
Invoke-RestMethod http://localhost:9200/logstash-*/_mapping/IISLog -Method Put -Body '{"properties":{"timetaken":{"type":"double"},"uristem":{"type":"string","index":"not_analyzed"}}}' - delete index
- recreate index
I still get the error when trying to build the visualization. What I have noticed though, if I clear today's logstash data, the courier fetch error stops, but then of course I have no data to visualize. I can validate that the timetaken field is of type number.
Thanks,
Jason