Metricbeat: upload output file to elasticsearch manually

When I remove the '@timestamp' field, the error remains the same but about the 'unknown setting [index.beat.hostname]" field.

I am not using any pipeline or mapping, just a auto-created index.