I've just walked through the documentation on creating a new filebeat module, tested my parser with the simulation API and then copied the files over to a docker container and fired it up. However, when it loads the module I'm getting a pretty unhelpful error:
Which config file is this referring to? That serverlog is the one my module is configured to pick up, so it seems intuitive that my module isn't quite right. I've checked all the .yml files in my module, I've copied over the modules.d/passion.yml.disabled, and I've run 'make update' and put the kibana/{5,6} files in the right place, etc. Would be nice if the error could give a hint as to the path it died on.
Could you share your configuration file? Also the directory tree of your module?
Also, does this happen when you run Filebeat without config reloading?
and the directory structure of my module is this:
./_meta
./_meta/config.yml
./_meta/docs.asciidoc
./_meta/fields.yml
./_meta/kibana
./_meta/kibana/6
./api
./api/_meta
./api/_meta/fields.yml
./api/config
./api/config/api.yml
./api/ingest
./api/ingest/pipeline.json
./api/manifest.yml
./api/test
./module.yml
This happens even with config reload off. Also wondering if "Enabled modules/filesets: nginx (access, error), system (auth, syslog), passion (api), ()" <-- that empty paren set at the end might be a bad thing?
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.