elastic/support-diagnostics

Any reason for export-monitoring.sh to limit interval between 1 to 12 hours?

Camilleli opened this issue · 1 comments

Is there any reason that explains why export-monitoring.sh would limit the interval from 1 to 12 hours?

public List<String> validateInterval(int val){
if(val <1 || val > 12){
return Collections.singletonList("Interval must be 1-12.");
}
return null;
}

I don't know the original intent, but I would assume that it related to the size of the resulting output and trying to limit that. Barring a strong reason for a longer time interval, I'm inclined to leave it in order to avoid massive uploads.