Cannot output to redis

my config.yml is like this:

    filebeat.inputs:
    - type: log
      enabled: true
      paths:
        - 'D:\1021\*.log'
      #scan_frequency: '60s'
      #multiline.pattern: '^\[\d{4}\-\d{2}'
      #multiline.negate: true
      #multiline.match: after
      fields:
          host: '10.101.222.81'
          app: 'selfservice'
          sublei: 'csharp'
      tail_files: true
      #ignore_older: '24h'
    filebeat.config.modules:
      path: ${path.config}\modules.d\*.yml
      reload.enabled: true
    setup.template.settings:
      index.number_of_shards: 1
    setup.kibana:
    output.redis:
      hosts: '10.101.242.111:6379'
      db: 4
      timeout: 10
      key: 'csharp'    

in filebeat logs i find output like this:

"pipeline": {
	"clients": 1,
	"events": {
		"active": 0,
		"filtered": 6,
		"total": 6
	}
}

is this means my log file was filtered, why?

Hi @vincentchao, welcome to the Elastic Community Forums!

What version of Filebeat are you using?

Could you try temporarily changing your output from redis to console and see if any events are published to STDOUT? Or you might try the file output and see if any events are being collected in the specified file.

Could you also re-run Filebeat with logging.level: debug set and post the logs from start up until you see the filtered events log entry you posted earlier?

thank you for your answer.
i think i have found the reson, it's not about filebeat.

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.