APM server 6.6.2 does not create indexes on ELK 6.5.4

Hi,

I am using ELK 6.5.4 and have a separate apm-server 6.6.1. When I am checking my Index management I only see the following indices:

  • apm-6.6.1-metric-2019.03.11
  • apm-6.6.1-onboarding-2019.03.11

Any idea why the other indices like transactions is not being created?

Cheers.

Hi and thanks for checking out Elastic APM.

A transaction index will only be created when you connect an agent to the APM Server which actually sends up transactions. So make sure to execute some requests to your instrumented application and wait for ~10s.

If you are still having trouble, some more details on the agent used and agent logs would be helpful. See also https://www.elastic.co/guide/en/apm/get-started/current/doc-directory.html#_troubleshooting

Cheers,
Felix

Hi Felix,

Thanks for the reply. I already generated some data on my application, but still cannot see any transaction indexes being created. I can see from the logs that metrics data in being sent to APM server, but still no transaction data.

I followed the troubleshooting page already and I could not find any of the typical errors in my setup.

I was wondering if you can give me some more hint?

Cheers,

Have you checked you are using one of the supported technologies? If yes, could you upload the agent debug logs of the startup up to when you make the first request to your application?

Thanks for the reply. Here is the logs from the agent.

(Just to recap: I only can see Metric events in my Kibana Discover tab, and it just creates Metric index. I only see the data/visualization for CPU/Memory and not any transaction data).

APM cloud Server : 6.6.2
APM attache agent: 1.4.0

============
2019-03-19 10:40:59.704 [apm-server-healthcheck] DEBUG co.elastic.apm.agent.report.ApmServerHealthChecker - Starting healthcheck to https://{APM-SERVER-ADDR}
2019-03-19 10:40:59.965 [Attach Listener] DEBUG co.elastic.apm.agent.impl.payload.SystemInfo - container ID is XYZ
.....
.....
.....
2019-03-19 10:41:01.071 [apm-server-healthcheck] INFO co.elastic.apm.agent.report.ApmServerHealthChecker - Elastic APM server is available: {"ok":{"build_date":"2019-03-06T14:11:42Z","build_sha":"sdadwkugugkfyfdsrsrs","version":"6.6.2"}}
....
....
....
2019-03-19 10:44:29.897 [apm-reporter] DEBUG co.elastic.apm.agent.report.IntakeV2ReportingEventHandler - Receiving METRICS event (sequence 12)
2019-03-19 10:44:29.898 [apm-reporter] DEBUG co.elastic.apm.agent.report.IntakeV2ReportingEventHandler - Starting new request to https://{{APM-SERVER}}/intake/v2/events
2019-03-19 10:44:30.002 [apm-reporter] DEBUG co.elastic.apm.agent.report.IntakeV2ReportingEventHandler - Scheduling request timeout in 10s
10:44:39.034 DEBUG [clojure-agent-send-off-pool-2] xy.service.job-service - - Job service master alive
2019-03-19 10:44:40.010 [apm-request-timeout-timer] DEBUG co.elastic.apm.agent.report.IntakeV2ReportingEventHandler - Request flush because the request timeout occurred
2019-03-19 10:44:40.016 [apm-reporter] DEBUG co.elastic.apm.agent.report.IntakeV2ReportingEventHandler - Receiving FLUSH event (sequence 13)
2019-03-19 10:44:40.022 [apm-reporter] DEBUG co.elastic.apm.agent.report.IntakeV2ReportingEventHandler - Flushing 1371 uncompressed 592 compressed bytes

Which web framework and application server are you using?

Hi, Sorry, since I dont have much development knowledge, I am dumping the content of dependencies section in project.clj file.

:dependencies

             [clj-http ""
              :exclusions [commons-logging com.fasterxml.jackson.core/jackson-core potemkin]]
             [com.draines/postal ""]
             [http-kit ""]
             [compojure ""]
             [liberator ""]
             [com.ebaxt/ring-ratelimit "" :exclusions [org.clojure/clojure]]
             [metrics-clojure-ring ""]
             [net.logstash.logback/logstash-logback-encoder ""]
             [org.slf4j/jcl-over-slf4j ""]
             [ring/ring-core ""]
             [javax.servlet/servlet-api ""]
             [compojure ""]

I see. Unfortunately, we don't have out-of-the-box support for Clojure Ring yet. You can have a look at this community project though: https://github.com/Yleisradio/clojure-elastic-apm.

1 Like

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