c:\Program Files\Filebeat>filebeat -c filebeat_user.yml -e -v -d "*"
2016/09/14 09:13:53.783830 beat.go:156: DBG Initializing output plugins
2016/09/14 09:13:53.785331 geolite.go:24: INFO GeoIP disabled: No paths were set under output.geoip.paths
2016/09/14 09:13:53.786845 outputs.go:120: ERR failed to initialize console plugin as output: console output initialization failed with: GetFileInformationByHandle /dev/stdout: Incorrect function.
Error Initialising publisher: console output initialization failed with: GetFileInformationByHandle /dev/stdout: Incorrect function.
2016/09/14 09:13:53.793105 beat.go:161: CRIT console output initialization failed with: GetFileInformationByHandle /dev/stdout: Incorrect function.
filebeat:
prospectors:
-
paths:
- valid path
input_type: log
fields_under_root: true
#ignore_older: 1m
#clear_inactive: 1m
#close_older: 100h
scan_frequency: 10m
idle_timeout: 10m
spool_size: 10000
harvester_buffer_size: 26384
output:
logstash:
hosts: ["ip:port"]
bulk_max_size: 3000
console:
enabled: true
pretty: true
I have given the path, IP and port properly