My log contains the following errors, repeated on every period:
2016-08-01T14:56:42-04:00 ERR Key does not exist in in data: gcc_version
2016-08-01T14:56:42-04:00 ERR Key does not exist in in data: config_file
These correspond to expected Redis INFO properties, but those particular properties do not exist in my (Windows) version of Redis. Metricbeat ends up sending this to its output:
"config_file": "",
"gcc_version": "",
I might suggest dropping the Redis module's "Key does not exist" log message to a WARN or INFO.
We already changed the behaviour here for the next version of metricbeat (5.0.0-alpha5). Non existing values will not be sent anymore: https://github.com/elastic/beats/pull/2034 On the non optional fields, an error will be logged. As these fields do not exist under Windows, it would probably make sense to make them optional. Why does config_file not exist?
The change you describe sounds good, though I wonder why any fields would need to be non-optional for just this reason. In any case, thank you for the response -- I'll look forward to future versions!
Apache, Apache Lucene, Apache Hadoop, Hadoop, HDFS and the yellow elephant
logo are trademarks of the
Apache Software Foundation
in the United States and/or other countries.