I cat the registry file
[{"source":"/opt/ibm/wlp/output/defaultServer/logs/messages.log","offset":2633,"timestamp":"2018-01-31T14:20:47.845439-08:00","ttl":-2,"type":"log","FileStateOS":{"inode":8593601013,"device":16777220}},{"source":"/opt/ibm/wlp/output/defaultServer/FileNet/tracy/P8_trace.log","offset":1282,"timestamp":"2018-01-31T14:20:47.845992-08:00","ttl":-2,"type":"log","FileStateOS":{"inode":8593600609,"device":16777220}},{"source":"/var/log/fsck_hfs.log","offset":6632,"timestamp":"2018-01-31T15:29:47.692424-08:00","ttl":-2,"type":"log","FileStateOS":{"inode":8591435052,"device":16777221}},{"source":"/var/log/displaypolicyd.stdout.log","offset":119,"timestamp":"2018-01-31T15:29:47.686712-08:00","ttl":-2,"type":"log","FileStateOS":{"inode":8590699300,"device":16777221}},{"source":"/var/log/ecprint.log","offset":94,"timestamp":"2018-01-31T15:29:47.686747-08:00","ttl":-2,"type":"log","FileStateOS":{"inode":8592059817,"device":16777221}},{"source":"/var/log/hfs_convert.log","offset":4642,"timestamp":"2018-01-31T15:29:47.689854-08:00","ttl":-2,"type":"log","FileStateOS":{"inode":8590699264,"device":16777221}},{"source":"/var/log/wifi.log","offset":191271,"timestamp":"2018-01-31T15:29:48.555387-08:00","ttl":-2,"type":"log","FileStateOS":{"inode":8593560039,"device":16777221}},{"source":"/var/log/corecaptured.log","offset":1720936,"timestamp":"2018-01-31T15:29:53.009902-08:00","ttl":-2,"type":"log","FileStateOS":{"inode":8590700760,"device":16777221}},{"source":"/var/log/fsck_apfs.log","offset":29865,"timestamp":"2018-01-31T15:29:48.127108-08:00","ttl":-2,"type":"log","FileStateOS":{"inode":8590699340,"device":16777221}},{"source":"/var/log/install.log","offset":2495426,"timestamp":"2018-01-31T15:29:53.009895-08:00","ttl":-2,"type":"log","FileStateOS":{"inode":8589935151,"device":16777221}},{"source":"/var/log/jamf.log","offset":409511,"timestamp":"2018-01-31T15:29:49.127767-08:00","ttl":-2,"type":"log","FileStateOS":{"inode":8590699938,"device":16777221}},{"source":"/var/log/wifi-01-31-2018__09:40:00.650.log","offset":1946579,"timestamp":"2018-01-31T15:29:53.009899-08:00","ttl":-2,"type":"log","FileStateOS":{"inode":8593643037,"device":16777221}},{"source":"/var/log/acroUpdaterTools.log","offset":11416,"timestamp":"2018-01-31T15:29:47.694559-08:00","ttl":-2,"type":"log","FileStateOS":{"inode":8591290631,"device":16777221}},
I just want to do a test, so using that path as the only log file.
I deleted the registry and restart the filebeat. Same result
ixin.rb", :line=>"154", :method=>"config_init"}
config LogStash::Inputs::Beats/@client_inactivity_timeout = 60 {:level=>:debug, :file=>"logstash/config/mixin.rb", :line=>"154", :method=>"config_init"}
starting agent {:level=>:info, :file=>"logstash/agent.rb", :line=>"213", :method=>"execute"}
starting pipeline {:id=>"main", :level=>:info, :file=>"logstash/agent.rb", :line=>"487", :method=>"start_pipeline"}
Settings: Default pipeline workers: 8
log4j java properties setup {:log4j_level=>"DEBUG", :level=>:debug, :file=>"logstash/logging.rb", :line=>"89", :method=>"setup_log4j"}
Beats inputs: Starting input listener {:address=>"0.0.0.0:5044", :level=>:info, :file=>"logstash/inputs/beats.rb", :line=>"160", :method=>"register"}
Starting pipeline {:id=>"main", :pipeline_workers=>8, :batch_size=>125, :batch_delay=>5, :max_inflight=>1000, :level=>:info, :file=>"logstash/pipeline.rb", :line=>"188", :method=>"start_workers"}
Pipeline main started {:file=>"logstash/agent.rb", :line=>"491", :method=>"start_pipeline"}
Pushing flush onto pipeline {:level=>:debug, :file=>"logstash/pipeline.rb", :line=>"458", :method=>"flush"}
...
Filebeat
➜ filebeat-6.1.3-darwin-x86_64 git:(feature_logstash_poc) ✗ sudo ./filebeat -c filebeat.yml -e --d "publish,logstash"
2018/02/01 17:30:12.897174 beat.go:436: INFO Home path: [/Users/tracywan/work/BoxRelay/filebeat-6.1.3-darwin-x86_64] Config path: [/Users/tracywan/work/BoxRelay/filebeat-6.1.3-darwin-x86_64] Data path: [/Users/tracywan/work/BoxRelay/filebeat-6.1.3-darwin-x86_64/data] Logs path: [/Users/tracywan/work/BoxRelay/filebeat-6.1.3-darwin-x86_64/logs]
2018/02/01 17:30:12.897237 metrics.go:23: INFO Metrics logging every 30s
2018/02/01 17:30:12.897303 beat.go:443: INFO Beat UUID: 53057e74-34bc-4e56-91ab-1823fc94c8eb
2018/02/01 17:30:12.897318 beat.go:203: INFO Setup Beat: filebeat; Version: 6.1.3
2018/02/01 17:30:12.897992 logger.go:18: DBG [publish] start pipeline event consumer
2018/02/01 17:30:12.898014 module.go:76: INFO Beat name: box_relay_shipper
2018/02/01 17:30:12.898412 beat.go:276: INFO filebeat start running.
2018/02/01 17:30:12.898502 registrar.go:88: INFO Registry file set to: /Users/tracywan/work/BoxRelay/filebeat-6.1.3-darwin-x86_64/data/registry
2018/02/01 17:30:12.898574 registrar.go:108: INFO Loading registrar data from /Users/tracywan/work/BoxRelay/filebeat-6.1.3-darwin-x86_64/data/registry
2018/02/01 17:30:12.898808 registrar.go:119: INFO States Loaded from registrar: 17
2018/02/01 17:30:12.898836 filebeat.go:261: WARN 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.
2018/02/01 17:30:12.898849 crawler.go:48: INFO Loading Prospectors: 1
2018/02/01 17:30:12.898893 registrar.go:150: INFO Starting Registrar
2018/02/01 17:30:12.899159 prospector.go:87: INFO Starting prospector of type: log; ID: 10432274863013843907
2018/02/01 17:30:12.899287 crawler.go:82: INFO Loading and starting Prospectors completed. Enabled prospectors: 1
2018/02/01 17:30:12.899374 reload.go:127: INFO Config reloader started
2018/02/01 17:30:12.899980 reload.go:219: INFO Loading of config files completed.
2018/02/01 17:30:42.910268 metrics.go:39: INFO Non-zero metrics in the last 30s: beat.info.uptime.ms=30002 beat.memstats.gc_next=4194304 beat.memstats.memory_alloc=1353040 beat.memstats.memory_total=2927272 filebeat.events.added=1 filebeat.events.done=1 filebeat.harvester.open_files=0 filebeat.harvester.running=0 libbeat.config.module.running=0 libbeat.config.reloads=1 libbeat.output.type=logstash libbeat.pipeline.clients=1 libbeat.pipeline.events.active=0 libbeat.pipeline.events.filtered=1 libbeat.pipeline.events.total=1 registrar.states.current=17 registrar.states.update=1 registrar.writes=1
2018/02/01 17:31:12.916644 metrics.go:39: INFO Non-zero metrics in the last 30s: beat.info.uptime.ms=30000 beat.memstats.gc_next=4194304 beat.memstats.memory_alloc=1390840 beat.memstats.memory_total=2965072 filebeat.harvester.open_files=0 filebeat.harvester.running=0 libbeat.config.module.running=0 libbeat.pipeline.clients=1 libbeat.pipeline.events.active=0 registrar.states.current=17
BTW, I don't think I ever seen any events .. that could be the problem.