# APM server to Logstash: "data\_streams.wait\_for\_integration:false doesn't work"

**URL:** <https://discuss.elastic.co/t/apm-server-to-logstash-data-streams-wait-for-integration-false-doesnt-work/378207>\
**Category:** APM\
**Tags:** server\
**Created:** [May 16, 2025, 4:39am UTC](https://discuss.elastic.co/t/apm-server-to-logstash-data-streams-wait-for-integration-false-doesnt-work/378207 "2025-05-16T04:39:57Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![nhannhathegreat](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/nhannhathegreat/32/143146_2.png) [@nhannhathegreat](https://discuss.elastic.co/u/nhannhathegreat)\
**Post date:** [May 16, 2025, 4:39am UTC](https://discuss.elastic.co/t/apm-server-to-logstash-data-streams-wait-for-integration-false-doesnt-work/378207/1 "2025-05-16T04:39:57Z")

</div>

I’m currently setting up APM Server to send data to Logstash without connecting to Elasticsearch or Kibana, using the output.logstash configuration. However, the APM Server keeps shutting down with the following error:

> error waiting for server to be ready: cannot wait for integration without either Kibana or Elasticsearch config

According to the [Elastic Discussion Topic](https://discuss.elastic.co/t/issue-on-apm-server-with-only-logstash-output/360702), setting data\_streams.wait\_for\_integration: false should disable this behavior. But it doesn’t seem to have any effect in my case.

Here is my APM Server Helm values.yaml (version 8.5.1):

```auto
apmConfig:
  apm-server.yml: |
    apm-server:
      host: "0.0.0.0:8200"
      auth:
        anonymous:
          enabled: true

    data_streams:
      wait_for_integration: false

    queue: {}

    output.logstash:
      enabled: true
      hosts: ["logstash-logstash:5044"]

    kibana:
      enabled: false

    output.elasticsearch:
      enabled: false

```

The APM Server still tries to wait for Elasticsearch or Kibana even with wait\_for\_integration: false. I’ve confirmed the key is being applied properly inside the container.

Any ideas? Is this a bug in 8.5.1, or am I missing something in the configuration?

Thanks in advance!

---

<div class="post-metadata">

**Author:** ![simitt](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/simitt/32/106406_2.png) [@simitt](https://discuss.elastic.co/u/simitt)\
**Post date:** [May 16, 2025, 7:14am UTC](https://discuss.elastic.co/t/apm-server-to-logstash-data-streams-wait-for-integration-false-doesnt-work/378207/2 "2025-05-16T07:14:59Z")

</div>

Hi @nhannhathegreat ,  
please try with nesting `data_streams.wait_for_integration` under the `apm-server` key (`apm-server.data_streams.wait_for_integration`).
