We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
clean_inactive
CleanInactive
modified filebeat/input/filestream/config.go @@ -38,7 +38,6 @@ type config struct { Close closerConfig `config:"close"` FileWatcher *conf.Namespace `config:"prospector"` FileIdentity *conf.Namespace `config:"file_identity"` - CleanInactive time.Duration `config:"clean_inactive" validate:"min=0"` CleanRemoved bool `config:"clean_removed"` HarvesterLimit uint32 `config:"harvester_limit" validate:"min=0"` IgnoreOlder time.Duration `config:"ignore_older"` @@ -98,7 +97,6 @@ func defaultConfig() config { Reader: defaultReaderConfig(), Paths: []string{}, Close: defaultCloserConfig(), - CleanInactive: 0, CleanRemoved: true, HarvesterLimit: 0, IgnoreOlder: 0,
filebeat/tests/system/test_registrar.py
test_clean_inactive
modified filebeat/tests/system/test_registrar.py @@ -779,7 +779,8 @@ class Test(BaseTest): clean_inactive="3s", ignore_older="2s", close_inactive="0.2s", - scan_frequency="0.1s" + scan_frequency="0.1s", + type="filestream", )
cd filebeat mage buildSystemTestBinary source $(mage pythonVirtualEnv)/bin/activate pytest -k test_clean_inactive ./tests/system/test_registrar.py
The text was updated successfully, but these errors were encountered:
clean_removed
belimawr
Successfully merging a pull request may close this issue.
Steps to Reproduce:
CleanInactive
from the Filestream inputfilebeat/tests/system/test_registrar.py
so thetest_clean_inactive
test uses the filestream input instead of the log input:The text was updated successfully, but these errors were encountered: