APM Agent logs shown on Discover but not on APM UI

Ok great, then you've confirmed the cause. To recover:

  1. Stop your APM Server(s) so they are not writing any new documents
  2. Delete your existing apm-* indices either with DELETE apm-* in dev console or via the stack management UI, which looks like this:
  3. Start APM Server and ensure template setup is enabled - it's on by default, so make sure you don't have setup.template.enabled: false in your APM Server config (usually apm-server.yml)
  4. Verify the correct index templates were installed. That's either GET _template/apm-* in dev console or again via stack mangement UI, you're looking for their presence under "legacy index templates" like this:
1 Like