filebeat 收割机的最长 close_inactive 时间

Maximum close_inactive time for filebeat harvesters

我想知道在 close_inactive 字段中可以设置的最长时间是多少,因为我希望它尽可能长(since we cannot set it as infinite by any means). Their documentation does not precise it, they just put examples,例如 2h5m.

close_inactive时间没有限制。 您可以在 FileBeat git 中看到它 另外,如果你喜欢,可以在这个repository里面搜索变量CloseInactive,自己看看