Howdy,
We are using 3.2, and I cannot get log.count or logrt.count to work.
I checked all the usual; it is an active check, permissions are correct, the hostname in the config matches server-side config, log and logrt both work correctly (the agent can read the logs).
I tried setting up a minimal test case;
log.count[/var/log/test.log,WARN,,,,]
Which leads to...
28022:20161110:162205.940 active check "log.count[/var/log/test.log,WARN,,,,]" is not supported: Unsupported item key.
I've tried quoting the regex and the path with both log and logrt variants (logrt both using an actual regex that would capture rotated files and just the path to a single file). I've also tried a ton of variants, experiments with the other parameters, 'skip' or 'all', etc.
I'm stumped. Is this just broken?
We are using 3.2, and I cannot get log.count or logrt.count to work.
I checked all the usual; it is an active check, permissions are correct, the hostname in the config matches server-side config, log and logrt both work correctly (the agent can read the logs).
I tried setting up a minimal test case;
log.count[/var/log/test.log,WARN,,,,]
Which leads to...
28022:20161110:162205.940 active check "log.count[/var/log/test.log,WARN,,,,]" is not supported: Unsupported item key.
I've tried quoting the regex and the path with both log and logrt variants (logrt both using an actual regex that would capture rotated files and just the path to a single file). I've also tried a ton of variants, experiments with the other parameters, 'skip' or 'all', etc.
I'm stumped. Is this just broken?
Comment