I am attempting to do a 'hello-world' with filebeat by reading from a file and outputing to stdout or another file. I find that filebeat does not detect any changes to the log files.
instance/beat.go:292 Setup Beat: filebeat; Version: 7.3.1
2019-09-03T21:24:45.120Z INFO [publisher] pipeline/module.go:97 Beat name: ubuntu-bionic
2019-09-03T21:24:45.121Z WARN beater/filebeat.go:152 Filebeat is unable to load the Ingest Node pipelines for the configured modules because the Elasticsearch output is not configured/enabled. If you have already loaded the Ingest Node pipelines or are using Logstash pipelines, you can ignore this warning.
2019-09-03T21:24:45.122Z INFO instance/beat.go:421 filebeat start running.
2019-09-03T21:24:45.124Z INFO registrar/registrar.go:145 Loading registrar data from /var/lib/filebeat/registry/filebeat/data.json
2019-09-03T21:24:45.125Z INFO registrar/registrar.go:152 States Loaded from registrar: 0
2019-09-03T21:24:45.126Z WARN beater/filebeat.go:368 Filebeat is unable to load the Ingest Node pipelines for the configured modules because the Elasticsearch output is not configured/enabled. If you have already loaded the Ingest Node pipelines or are using Logstash pipelines, you can ignore this warning.
2019-09-03T21:24:45.127Z INFO crawler/crawler.go:72 Loading Inputs: 1
2019-09-03T21:24:45.128Z INFO crawler/crawler.go:106 Loading and starting Inputs completed. Enabled inputs: 0
2019-09-03T21:24:45.129Z INFO [monitoring] log/log.go:118 Starting metrics logging every 30s
2019-09-03T21:24:45.130Z INFO cfgfile/reload.go:171 Config reloader started
2019-09-03T21:24:45.130Z INFO cfgfile/reload.go:226 Loading of config files completed.
2019-09-03T21:24:48.120Z INFO add_cloud_metadata/add_cloud_metadata.go:347 add_cloud_metadata: hosting provider type not detected.
How can I configure filebeat to send data from one location to another?
I've repeated the above examples 3 times. Once on OSX, once on the official filebeat docker image, and once with an ubuntu 18.04 vagrant vm. All 3 have the same result where filebeat fails to read from a file.
EDIT is that still the output section show the output section of filebeat.yml
Also what version are you running and it appears you have modules enabled from the first log, what modules did you enable? I am not sure modules plus output to console is supported since the use ingest pipelines which looks like perhaps the error from the the original post.
for reading symlinks please use the following setting
# If symlinks is enabled, symlinks are opened and harvested. The harvester is opening the
# original for harvesting but will report the symlink name as source.
symlinks: true
make sure that only console output is enabled and other outputs (Kafka, Redis, Logstash, ElasticSearch, etc ) are disabled
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.