I have a custom image for filebeat and metricbeat. So every time when they restart, filebeat setup and metricbeat setup will run before filebeat and metricbeat.
I wonder which folders I should mount under a named volumn in order to avoid duplicate actions.
I know that data folder for firebeat should be mount or there will be duplicated logs.
Should I mount data for metricbeat as well? Should I mount kibana for both metricbeat and filebeat. There is no doc out there about this, or at least I haven't found them.
Thank you all.