# Cannot output to redis

**URL:** https://discuss.elastic.co/t/cannot-output-to-redis/248446
**Category:** Beats
**Tags:** filebeat
**Created:** [September 13, 2020, 5:52pm UTC](https://discuss.elastic.co/t/cannot-output-to-redis/248446 "2020-09-13T17:52:47Z")
**Posts on this page:** 4
**Page:** 1

<div class="post-metadata">

### Author: ![vincentchao](https://avatars.discourse-cdn.com/v4/letter/v/a698b9/32.png) [@vincentchao](https://discuss.elastic.co/u/vincentchao)
#### Post date: [September 13, 2020, 5:52pm UTC](https://discuss.elastic.co/t/cannot-output-to-redis/248446/1 "2020-09-13T17:52:48Z")

</div>

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?

---

<div class="post-metadata">

### Author: ![shaunak](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/shaunak/32/6643_2.png) [@shaunak](https://discuss.elastic.co/u/shaunak)
#### Post date: [September 14, 2020, 6:01pm UTC](https://discuss.elastic.co/t/cannot-output-to-redis/248446/2 "2020-09-14T18:01:20Z")

</div>

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`](https://www.elastic.co/guide/en/beats/filebeat/current/console-output.html) and see if any events are published to STDOUT? Or you might try the [`file`](https://www.elastic.co/guide/en/beats/filebeat/current/file-output.html) 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?

---

<div class="post-metadata">

### Author: ![vincentchao](https://avatars.discourse-cdn.com/v4/letter/v/a698b9/32.png) [@vincentchao](https://discuss.elastic.co/u/vincentchao)
#### Post date: [September 15, 2020, 7:14am UTC](https://discuss.elastic.co/t/cannot-output-to-redis/248446/3 "2020-09-15T07:14:45Z")

</div>

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

---

<div class="post-metadata">

### Author: ![system](https://us1.discourse-cdn.com/elastic/original/3X/1/a/1ac57faf039f6b580b3f104ef42a2a89e41014de.png) [@system](https://discuss.elastic.co/u/system)
#### Post date: [October 13, 2020, 9:14am UTC](https://discuss.elastic.co/t/cannot-output-to-redis/248446/4 "2020-10-13T09:14:49Z")

</div>

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