Issue on APM server with only logstash output

Hello,

I need to update my apm-server from 7.5.1 to a version 8.X (here it would be 8.13.3) on a kubernetes platform.
I have some issues when I deploy my pod with the new version.
My apm-server need to send his metrics to a logstash and nothing else, we have some environments restrictions and we need to send our metrics through some servers.
With the 7.5.1 version on apm-server I don't have the issue with the same config, but with the new version the only output logstash don't work on my deployment.
The issue I have :
Error : error waiting for server to be ready: cannot wait for integration without either Kibana or Elasticsearch config

I didn't find a response for this issue, but maybe it's a bit specific since I only have logstash output.

Here is my config :

apm-server.yml :
apm-server:
  host: "0.0.0.0:8200"
  frontend:
    enabled: false
  secret_token: ${SECRET_TOKEN}
queue.mem.events: 50000
output.logstash:
  enabled: true
  hosts: ['${LOGSTASH_HOST:logstash}:${LOGSTASH_PORT:5044}']
  worker: 10

I tried to force Kibana and Elasticsearch to enabled:false but it didn't work.

Thank you for your answers.

Hi @Valentin_Mace,

You can disable this mode by setting data_streams.wait_for_integration: false in your configuration file.

I couldn't find the setting in the 8.13 docs, but it seems to be documented for the 7.17 branch: General configuration options | APM User Guide [7.17] | Elastic.

Hi @marclop,

It works !
Thanks a lot.

Have a nice day.