APM is sucess but there is no data in kibana

If you are asking about a problem you are experiencing, please use the following template, as it will help us help you. If you have a different problem, please delete all of this text :slight_smile:

Kibana version:
6.5.4
Elasticsearch version:
6.5.4
APM Server version:
7.0.0
APM Agent language and version:
java apm-agent-attach 1.5.0
Browser version:
chome latest
Original install method (e.g. download page, yum, deb, from source, etc.) and version:
yum
Fresh install or upgraded from other version?
Fresh install
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.
no anything special
Description of the problem including expected versus actual behavior. Please include screenshots (if relevant):

Steps to reproduce:
1.apm server is success
2.apm agent is success
3.kibana has no data to display

Errors in browser console (if relevant):
no errors in browser
Provide logs and/or server output (if relevant):
2019-04-16 16:46:40.311 [http-nio-8080-exec-1] DEBUG co.elastic.apm.agent.bci.ElasticApmAgent - Type match for advice StartAsyncInstrumentation: (not(isInterface()) and hasSuperType(erasure(name(equals(javax.servlet.ServletRequest))))) matches class org.apache.catalina.connector.RequestFacade
2019-04-16 16:46:40.315 [http-nio-8080-exec-1] DEBUG co.elastic.apm.agent.bci.ElasticApmAgent - Type match for advice RequestStreamRecordingInstrumentation: (hasSuperType(erasure(name(equals(javax.servlet.ServletRequest)))) and not(isInterface())) matches class org.apache.catalina.connector.RequestFacade
2019-04-16 16:46:40.412 [http-nio-8080-exec-1] DEBUG co.elastic.apm.agent.bci.ElasticApmAgent - Method match for advice RequestStreamRecordingInstrumentation: (name(equals(getInputStream)) and returns(erasure(name(equals(javax.servlet.ServletInputStream))))) matches public javax.servlet.ServletInputStream org.apache.catalina.connector.RequestFacade.getInputStream() throws java.io.IOException
2019-04-16 16:46:40.418 [http-nio-8080-exec-1] DEBUG co.elastic.apm.agent.bci.ElasticApmAgent - Method match for advice StartAsyncInstrumentation: (((isPublic() and name(equals(startAsync))) and returns(erasure(name(equals(javax.servlet.AsyncContext))))) and (hasParameter(ofSize(0)) or (hasParameter(hasTypes(with(0 matches erasure(name(equals(javax.servlet.ServletRequest)))))) and hasParameter(hasTypes(with(1 matches erasure(name(equals(javax.servlet.ServletResponse))))))))) matches public javax.servlet.AsyncContext org.apache.catalina.connector.RequestFacade.startAsync() throws java.lang.IllegalStateException
2019-04-16 16:46:40.420 [apm-request-timeout-timer] DEBUG co.elastic.apm.agent.report.IntakeV2ReportingEventHandler - Request flush because the request timeout occurred
2019-04-16 16:46:40.421 [http-nio-8080-exec-1] DEBUG co.elastic.apm.agent.bci.ElasticApmAgent - Method match for advice StartAsyncInstrumentation: (((isPublic() and name(equals(startAsync))) and returns(erasure(name(equals(javax.servlet.AsyncContext))))) and (hasParameter(ofSize(0)) or (hasParameter(hasTypes(with(0 matches erasure(name(equals(javax.servlet.ServletRequest)))))) and hasParameter(hasTypes(with(1 matches erasure(name(equals(javax.servlet.ServletResponse))))))))) matches public javax.servlet.AsyncContext org.apache.catalina.connector.RequestFacade.startAsync(javax.servlet.ServletRequest,javax.servlet.ServletResponse) throws java.lang.IllegalStateException
2019-04-16 16:46:40.432 [apm-reporter] DEBUG co.elastic.apm.agent.report.IntakeV2ReportingEventHandler - Receiving FLUSH event (sequence 3)
2019-04-16 16:46:40.434 [apm-reporter] DEBUG co.elastic.apm.agent.report.IntakeV2ReportingEventHandler - Flushing 1334 uncompressed 570 compressed bytes
2019-04-16 16:46:40.461 INFO 81630 --- [nio-8080-exec-1] o.a.c.c.C.[Tomcat].[localhost].[/] : Initializing Spring DispatcherServlet 'dispatcherServlet'
2019-04-16 16:46:40.464 INFO 81630 --- [nio-8080-exec-1] o.s.web.servlet.DispatcherServlet : Initializing Servlet 'dispatcherServlet'
2019-04-16 16:46:40.524 INFO 81630 --- [nio-8080-exec-1] o.s.web.servlet.DispatcherServlet : Completed initialization in 60 ms
2019-04-16 16:46:40.534 [http-nio-8080-exec-1] DEBUG co.elastic.apm.agent.bci.ElasticApmAgent - Type match for advice FilterChainInstrumentation: (not(isInterface()) and hasSuperType(erasure(name(equals(javax.servlet.FilterChain))))) matches class org.apache.catalina.core.ApplicationFilterChain
2019-04-16 16:46:40.544 [http-nio-8080-exec-1] DEBUG co.elastic.apm.agent.bci.ElasticApmAgent - Method match for advice FilterChainInstrumentation: ((name(equals(doFilter)) and hasParameter(hasTypes(with(0 matches erasure(name(equals(javax.servlet.ServletRequest))))))) and hasParameter(hasTypes(with(1 matches erasure(name(equals(javax.servlet.ServletResponse))))))) matches public void org.apache.catalina.core.ApplicationFilterChain.doFilter(javax.servlet.ServletRequest,javax.servlet.ServletResponse) throws java.io.IOException,javax.servlet.ServletException
2019-04-16 16:46:40.598 [http-nio-8080-exec-1] DEBUG co.elastic.apm.agent.impl.ElasticApmTracer - startTransaction '' 00-5569759ab0e361443150703ccc838553-39ff8c4f88aafe27-01 {
2019-04-16 16:46:40.598 [http-nio-8080-exec-1] DEBUG co.elastic.apm.agent.impl.ElasticApmTracer - Activating 00-5569759ab0e361443150703ccc838553-39ff8c4f88aafe27-01 on thread 47
2019-04-16 16:46:40.806 [http-nio-8080-exec-1] DEBUG co.elastic.apm.agent.impl.ElasticApmTracer - Deactivating 00-5569759ab0e361443150703ccc838553-39ff8c4f88aafe27-01 on thread 47
2019-04-16 16:46:40.806 [http-nio-8080-exec-1] DEBUG co.elastic.apm.agent.impl.ElasticApmTracer - } endTransaction 'ServRestController#test' 00-5569759ab0e361443150703ccc838553-39ff8c4f88aafe27-01
2019-04-16 16:46:40.810 [apm-reporter] DEBUG co.elastic.apm.agent.report.IntakeV2ReportingEventHandler - Receiving TRANSACTION event (sequence 4)
2019-04-16 16:46:40.810 [apm-reporter] DEBUG co.elastic.apm.agent.report.IntakeV2ReportingEventHandler - Starting new request to http://192.168.1.133:8200/intake/v2/events
2019-04-16 16:46:40.816 [apm-reporter] DEBUG co.elastic.apm.agent.report.IntakeV2ReportingEventHandler - Scheduling request timeout in 10s

everything is fine but just no data to display in kibana

Hi @liucyu,

Welcome to the forum :tada: and thanks for your question!

You need to use Kibana 7.0.0 in order to view data ingested by APM Server 7.0.0. I'd suggest updating Elasticsearch as well. But it might also work with the older Elasticsearch version.

Best,
Felix

if i change the version to 6.5.4 that is ok?

thx man, it works.:+1::+1::+1:

1 Like

Downgrading APM Server also works.

thx。

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