How to store metricbeat data in local disk

It is on the thread.

kindly check this link

Metricbeat fail safe/over function on output - #8 by jogoinar10