APM is not show transaction

Hi,
I'm trying APM server with my application run on Python 3

Kibana version: 7.4.0

Elasticsearch version: 7.4.0

APM Server version: 7.4.2

APM Agent language and version: APM python (elastic-apm 5.2.2)

Browser version: Chrome latest

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

Fresh install or upgraded from other version? Fresh install

Is there anything special in your setup? Output to ES. I have only APM server, no load balance APM server. I changed APM index (apm-metric=, apm-transaction- .... just remove version on index name)

Description of the problem including expected versus actual behavior. Please include screenshots (if relevant): I check data on Kibana, saw only metric data and onboaring data, no transaction.

My config:
In client

APM_SERVER = {
        'SERVICE_NAME': 'EagleEye Malbot',
        'ENVIRONMENT': 'development',
        'SERVER_URL': 'http://10.14.132.112:8200',
        'SECRET_TOKEN': 'dxbeb2V2vcGEt6mv'
    }
app.config['ELASTIC_APM'] = APM_SERVER

In server

apm-server:
  host: "0.0.0.0:8200"
  secret_token: dxbeb2V2vcGEt6mv
  rum:
    enabled: true

setup.template.name: "apm-%{[observer.version]}"
setup.template.pattern: "apm-*"

setup.template.fields: "${path.config}/fields.yml"

#setup.template.overwrite: false

# Elasticsearch template settings.
setup.template.settings:
  index:
    number_of_shards: 1
    codec: best_compression
    number_of_routing_shards: 30
    mapping.total_fields.limit: 2000

output.elasticsearch:
  hosts: ["https://10.14.132.22:9200"]
  protocol: "https"
  username: "test"
  password: "csc@123aA"
  worker: 1

  index: "apm-%{+yyyy.ww}"
  indices:
    - index: "apm-sourcemap"
      when.contains:
        processor.event: "sourcemap"

    - index: "apm-error-%{+yyyy.ww}"
      when.contains:
        processor.event: "error"

    - index: "apm-transaction-%{+yyyy.ww}"
      when.contains:
        processor.event: "transaction"

    - index: "apm-span-%{+yyyy.ww}"
      when.contains:
        processor.event: "span"

    - index: "apm-metric-%{+yyyy.ww}"
      when.contains:
        processor.event: "metric"

    - index: "apm-onboarding-%{+yyyy.ww}"
      when.contains:
        processor.event: "onboarding"

  ssl.enabled: true
  ssl.verification_mode: full
  ssl.certificate_authorities: ["/path/to/ca.crt"]
  ssl.certificate: "/path/to/crt.crt"

Errors in browser console (if relevant): no

Provide logs and/or server output (if relevant): APM server log

Nov 15 05:00:44 ES-APM apm-server[20291]: 2019-11-15T05:00:44.140-0500        INFO        [request]        middleware/log_middleware.go:76        request accepted        {"request_id": "2cba598e-77b9-42f3-a9db-931a3b8e5029", "method": "P>
Nov 15 05:01:09 ES-APM apm-server[20291]: 2019-11-15T05:01:09.455-0500        INFO        [request]        middleware/log_middleware.go:76        request accepted        {"request_id": "d33487e3-f072-448e-a059-4774183a1902", "method": "P>
Nov 15 05:01:15 ES-APM apm-server[20291]: 2019-11-15T05:01:15.244-0500        INFO        [request]        middleware/log_middleware.go:76        request accepted        {"request_id": "72071d04-758a-4369-af7e-08a10d31358c", "method": "P>
Nov 15 05:01:35 ES-APM apm-server[20291]: 2019-11-15T05:01:35.976-0500        INFO        [request]        middleware/log_middleware.go:76        request accepted        {"request_id": "a7acd932-6f88-4606-9c28-681c63b5a8ca", "method": "P>
Nov 15 05:01:36 ES-APM apm-server[20291]: 2019-11-15T05:01:36.237-0500        ERROR        [request]        middleware/log_middleware.go:74        forbidden request        {"request_id": "5dfffe60-07d7-4503-afe2-a0831fde5af7", "method": >
Nov 15 05:01:39 ES-APM apm-server[20291]: 2019-11-15T05:01:39.175-0500        INFO        [request]        middleware/log_middleware.go:76        request accepted        {"request_id": "29bb606f-2b70-4fbc-8ac2-b171750ff4ef", "method": "P>
Nov 15 05:02:08 ES-APM apm-server[20291]: 2019-11-15T05:02:08.974-0500        INFO        [request]        middleware/log_middleware.go:76        request accepted        {"request_id": "460ec722-0e65-4873-b4f1-289216765084", "method": "P>
Nov 15 05:02:14 ES-APM apm-server[20291]: 2019-11-15T05:02:14.306-0500        INFO        [request]        middleware/log_middleware.go:76        request accepted        {"request_id": "5832d7f3-071d-4bb2-a486-d9d9ca98a84e", "method": "P>
Nov 15 05:02:37 ES-APM apm-server[20291]: 2019-11-15T05:02:37.684-0500        INFO        [request]        middleware/log_middleware.go:76        request accepted        {"request_id": "863176fe-ab72-4f65-9ec9-4a452008fab8", "method": "P>
Nov 15 05:02:44 ES-APM apm-server[20291]: 2019-11-15T05:02:44.309-0500        INFO        [request]        middleware/log_middleware.go:76        request accepted        {"request_id": "c67c2387-c72c-4e2b-85b8-24dd30043031", "method": "P>
Nov 15 05:03:06 ES-APM apm-server[20291]: 2019-11-15T05:03:06.497-0500        ERROR        [request]        middleware/log_middleware.go:74        forbidden request        {"request_id": "80535ec6-a14a-4fa7-8e50-8029e44e08de", "method": >
Nov 15 05:03:08 ES-APM apm-server[20291]: 2019-11-15T05:03:08.645-0500        INFO        [request]        middleware/log_middleware.go:76        request accepted        {"request_id": "41d7ab63-28f6-4b7a-8fb2-bf810ed71ffd", "method": "P>
Nov 15 05:03:14 ES-APM apm-server[20291]: 2019-11-15T05:03:14.856-0500        INFO        [request]        middleware/log_middleware.go:76        request accepted        {"request_id": "677ef5ea-5803-4dcb-a65f-c5bba53ec390", "method": "P>
Nov 15 05:03:38 ES-APM apm-server[20291]: 2019-11-15T05:03:38.511-0500        INFO        [request]        middleware/log_middleware.go:76        request accepted        {"request_id": "555f1397-758b-4dc8-8ca2-95936e35925e", "method": "P>
Nov 15 05:03:45 ES-APM apm-server[20291]: 2019-11-15T05:03:45.261-0500        INFO        [request]        middleware/log_middleware.go:76        request accepted        {"request_id": "17e6edef-cd63-4132-868e-c864a2b6111c", "method": "

Thank you!

Have anyone got same problem with me? :cry:

1 Like

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