filebeat does not create daily indices into elasticsearch automatically.
for example I have to manually create a indice like filebeat-2017.04.24, with this, filebeat can then auto harvest and dump logs.
if no indice is there today, the following error shows up:
2017/04/24 02:58:07.022131 output.go:109: DBG output worker: publish 10 events
2017/04/24 02:58:07.024207 client.go:658: INFO Connected to Elasticsearch version 5.3.0
2017/04/24 02:58:07.024242 output.go:301: INFO Trying to load template for client: http://localhost:9200
2017/04/24 02:58:07.024668 output.go:322: INFO Template already exists and will not be overwritten.
2017/04/24 02:58:07.026254 client.go:250: ERR Failed to perform any bulk index operations: 404 Not Found
2017/04/24 02:58:07.026271 single.go:91: INFO Error publishing events (retrying): 404 Not Found
2017/04/24 02:58:08.027925 client.go:658: INFO Connected to Elasticsearch version 5.3.0
2017/04/24 02:58:08.027958 output.go:301: INFO Trying to load template for client: http://localhost:9200
2017/04/24 02:58:08.028454 output.go:322: INFO Template already exists and will not be overwritten.
2017/04/24 02:58:08.030287 client.go:250: ERR Failed to perform any bulk index operations: 404 Not Found
2017/04/24 02:58:08.030305 single.go:91: INFO Error publishing events (retrying): 404 Not Found
stack & environment:
filebeat => elasticsearch => kibana (with x-pack)
elasticsearch version 5.3.0
filebeat version 5.3.1 (amd64), libbeat 5.3.1
config: