I tried to follow the "Just Four Lines of Code Will Get You Started" install directions here:
https://www.elastic.co/solutions/apm
But I've hit a roadblock in Kibana when I try to see the APM data. I get a "No data found" message.
Here's my install steps-
- Ubuntu 16.04
- Java 8 installed with apt repo: ppa:webupd8team/java
- Elasticsearch and kibana apt-get installed with repo: https://artifacts.elastic.co/packages/6.x/apt stable main
- X-pack installed in elasticsearch: bin/elasticsearch-plugin install x-pack
- X-pack installed in kibana: bin/kibana-plugin install x-pack
- Passwords generated with: elasticsearch/bin/x-pack/setup-passwords auto
- In /etc/kibana/kibana.yml I updated elasticsearch.username and elasticsearch.password with the elastic credentials from setup-password.
- I installed and ran apm-server setup
- And I have apm-server -e running
All other configurations are defaults. I have nginx configured as reverse proxy to Kibana and APM server. Kibana loads and I can login with the kibana credentials generated from setup-passwords. However, when clicking the "Check APM Server Status" button on the APM screen I get a "No data found" message. The same applies to "Check APM agent status" even though I can successfully send a test message from the installed python client in a django project.
I'm brand new to elastic stack, but have experience with opbeat and django development. So forgive me if I'm missing something basic here. I'm not sure where to look for the problem since neither the elasticsearch or apm logs show errors.
Thanks!
Edit 12/30:
When I try to load the dashboard in Kibana I have an error at the top of the screen with a stack trace:
Error: No matching indices found: No indices match pattern "apm-*"
Under Management > Index Patterns I see the apm-* index.
But this leads me to believe there's a problem when running apm-server setup, rather than a connection issue.