There's no APM index pattern available. To use the Query bar 6.5.4

Kibana version: 6.5.4

Elasticsearch version: 6.5.4

APM Server version: 6.5.4

APM Agent language and version: java 1.4.0

Browser version: Version 69.0.3497.100 (Official Build) (64-bit)

Original install method (e.g. download page, yum, deb, from source, etc.) and version: docker

Fresh install or upgraded from other version? upgrade from 6.3

Is there anything special in your setup? For example, are you using the Logstash or Kafka outputs? Are you using a load balancer in front of the APM Servers? Have you changed index pattern, generated custom templates, changed agent configuration etc.
Nope, use elasticsearch output

Description of the problem including expected versus actual behavior. Please include screenshots (if relevant):

apm-server.yml

setup.kibana.host: "kibana-host"
setup.dashboards.enabled: true
setup.dashboards.index: "apm*"
setup.dashboards.retry.enabled: true

max_procs: 4
queue.mem.events: 4096

apm-server.host: 0.0.0.0:8200
apm-server.concurrent_requests: 5
apm-server.rum.enabled: true

apm_oss.indexPattern: apm*
apm_oss.errorIndices: apm*
apm_oss.spanIndices: apm*
apm_oss.transactionIndices: apm*
apm_oss.onboardingIndices: apm*

output.elasticsearch:
hosts: "elasticsearch-host"
indices:
- index: "apm-%{[beat.version]}-sourcemap"
when.contains:
processor.event: "sourcemap"
- index: "apm-%{[beat.version]}-error-%{+yyyy.MM.dd}"
when.contains:
processor.event: "error"
- index: "apm-%{[beat.version]}-transaction-%{+yyyy.MM.dd}"
when.contains:
processor.event: "transaction"
- index: "apm-%{[beat.version]}-span-%{+yyyy.MM.dd}"
when.contains:
processor.event: "span"
- index: "apm-%{[beat.version]}-metric-%{+yyyy.MM.dd}"
when.contains:
processor.event: "metric"
- index: "apm-%{[beat.version]}-onboarding-%{+yyyy.MM.dd}"
when.contains:
processor.event: "onboarding"

Did you tried to click on this button in Kibana at <Your_Kibana_Domain>/app/kibana#/home/tutorial/apm

I tried this many times. But it's still not working

Have you tried to go to the Kibana management page, select Kibana index patterns, and click "create index pattern" there?

Index pattern created automatically after start apm-server

Have you tried accessing the index from the console, like do a query against it? In the Index management page, do you see the index properly set up? Try also refreshing the index via the management page

Yep.

Hi Eugeny,

This might be caused by a bug affecting 6.5 where the APM index pattern sometimes cannot be found if you have more than ~20 index patterns.
This has been fixed in 6.6: https://github.com/elastic/kibana/pull/26245

Can you please see how many index patterns you have listed in the Mangement section?
Thanks!

1 Like

Yes, you are right, we have more than 20 index patterns. After upgrade to 6.6.1 problem has disappeared

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