Can you past a sample of the YML files in config/?
The syntax is a bit different in the sense that when using the new option, the fragment YAML should contain an array of prospectors, while in the old one, the filebeat.prospectors "header" was needed.
Hm, so I just redid all the steps again and I think it is working? I see this in the log:
2017-11-17T12:14:51-05:00 INFO Loading and starting Prospectors completed. Enabled prospectors: 0
2017-11-17T12:14:51-05:00 INFO Config reloader started
2017-11-17T12:14:51-05:00 INFO Starting 2 runners ...
2017-11-17T12:14:51-05:00 INFO Starting prospector of type: log; id: 10730498759109995509
2017-11-17T12:14:51-05:00 INFO Starting prospector of type: log; id: 15532996734736054351
2017-11-17T12:14:51-05:00 INFO Loading of config files completed.
2017-11-17T12:14:51-05:00 INFO Harvester started for file: /opt/jboss/px-web-jsp/log/localhost_access_log.log
2017-11-17T12:14:51-05:00 INFO Harvester started for file: /opt/jboss/px-web-jsp/log/px-web-jsp.json
So... it looks like there are 0 prospectors but it is harvesting the logs? Not sure how that is possible. As far as what fixed it I'm not sure, the only thing I did difference was remove the "filebeat.prospectors" line from the yml file instead of commenting it out
You have to remove the filebeat.prospector namespace. The files in conf.d are supposed to contain lists of prospector configurations only. An Example is given in the docs.
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.