# Работа filebeat завершилась ошибкой: ERROR \[logstash\] logstash/async.go:280

**URL:** <https://discuss.elastic.co/t/filebeat-error-logstash-logstash-async-go-280/291395>\
**Category:** Вопросы на русском языке\
**Created:** [December 10, 2021, 7:34am UTC](https://discuss.elastic.co/t/filebeat-error-logstash-logstash-async-go-280/291395 "2021-12-10T07:34:09Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![cva](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/cva/32/85514_2.png) [@cva](https://discuss.elastic.co/u/cva)\
**Post date:** [December 10, 2021, 7:34am UTC](https://discuss.elastic.co/t/filebeat-error-logstash-logstash-async-go-280/291395/1 "2021-12-10T07:34:09Z")

</div>

Failbeat перестал отдавать данные в logstash, в лога failbeat вижу ошибку:

```auto
ERROR	[logstash]	logstash/async.go:280	Failed to publish events caused by: write tcp 10.0.10.5:53536->10.0.10.6:5044: wsasend: An existing connection was forcibly closed by the remote host.
panic: reflect.Select: too many cases (max 65536)

```

В чем может быть проблема, почему останавливается filebeat?

Мой конфиг filebeat:

```auto
filebeat.inputs:
- type: filestream
  enabled: true
  paths:
    - C:\logs\GT\xml\*\*.log
  fields_under_root: true
  fields:
    system: xml
    subsystem: GT  
  parsers:
    - multiline:
        type: pattern
        pattern: '^\[[0-9]{4}-[0-9]{2}-[0-9]{2}'
        negate: true
        match: after

- type: filestream
  paths:
    - C:\logs\ERRORS\xml\*\*.log
  fields_under_root: true
  fields:
    system: xml
    subsystem: errors
  parsers:
    - multiline:
        type: pattern
        pattern: '^\[[0-9]{4}-[0-9]{2}-[0-9]{2}'
        negate: true
        match: after

filebeat.config.modules:
  path: ${path.config}/modules.d/*.yml
  reload.enabled: false

setup.template.settings:
  index.number_of_shards: 1
  
tags: [xmlgate]

output.logstash:
  hosts: ["10.0.10.6:5044"]
  template.name: "xmlgate"
  template.path: "filebeat.template.json"
  template.overwrite: false

logging.metrics.enabled: false

```

---

<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:** [January 7, 2022, 9:34am UTC](https://discuss.elastic.co/t/filebeat-error-logstash-logstash-async-go-280/291395/2 "2022-01-07T09:34:14Z")

</div>

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