# Pipeline/output.go:121 Failed to publish events: temporary bulk send failure

**URL:** https://discuss.elastic.co/t/pipeline-output-go-121-failed-to-publish-events-temporary-bulk-send-failure/176223
**Category:** Beats
**Tags:** filebeat
**Created:** [April 10, 2019, 1:07pm UTC](https://discuss.elastic.co/t/pipeline-output-go-121-failed-to-publish-events-temporary-bulk-send-failure/176223 "2019-04-10T13:07:50Z")
**Posts on this page:** 2
**Page:** 1

<div class="post-metadata">

### Author: ![setiseta](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/setiseta/32/29949_2.png) [@setiseta](https://discuss.elastic.co/u/setiseta)
#### Post date: [April 10, 2019, 1:07pm UTC](https://discuss.elastic.co/t/pipeline-output-go-121-failed-to-publish-events-temporary-bulk-send-failure/176223/1 "2019-04-10T13:07:50Z")

</div>

Hi,

im stuck at getting the obove error. don't know what went wrong.  
maybe someone here has some hints?

Here is a log snippet:

```auto
DEBUG [elasticsearch] elasticsearch/client.go:338 PublishEvents: 2 events have been published to elasticsearch in 4.416258ms.
DEBUG [elasticsearch] elasticsearch/client.go:532 Bulk item insert failed (i=0, status=500): {"type":"string_index_out_of_bounds_exception","reason":"String index out of range: 0"}
DEBUG [elasticsearch] elasticsearch/client.go:532 Bulk item insert failed (i=1, status=500): {"type":"string_index_out_of_bounds_exception","reason":"String index out of range: 0"}
INFO [publisher] pipeline/retry.go:166 retryer: send wait signal to consumer
INFO [publisher] pipeline/retry.go:168 done
ERROR pipeline/output.go:121 Failed to publish events: temporary bulk send failure

```

filebeat.yml:

```auto
filebeat.autodiscover:
  providers:
    - type: docker
      templates:
        - config:
            - type: docker
              containers.ids:
                - "${data.docker.container.id}"
              fields:
                autodiscover: 'default'

fields:
  env: 'test'

setup.kibana:
  host: "http://kibana:5602"

output.elasticsearch:
  hosts: ["elasticsearch:9201"]
  bulk_max_size: 2
  index: test-%{[beat.version]}-%{+yyyy.MM.dd}

setup.template.name: "test"
setup.template.pattern: "test-*"
setup.dashboards.index: "test-*"
logging.level: debug

```

is more information needed?

---

<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: [May 8, 2019, 1:07pm UTC](https://discuss.elastic.co/t/pipeline-output-go-121-failed-to-publish-events-temporary-bulk-send-failure/176223/2 "2019-05-08T13:07:57Z")

</div>

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