# After Enabling X-Pack security,transactions doesn't appear in APM

**URL:** <https://discuss.elastic.co/t/after-enabling-x-pack-security-transactions-doesnt-appear-in-apm/210696>\
**Category:** APM\
**Tags:** ui\
**Created:** [December 5, 2019, 11:57am UTC](https://discuss.elastic.co/t/after-enabling-x-pack-security-transactions-doesnt-appear-in-apm/210696 "2019-12-05T11:57:17Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![David\_Mkheyan](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/david_mkheyan/32/52956_2.png) [@David\_Mkheyan](https://discuss.elastic.co/u/David_Mkheyan)\
**Post date:** [December 5, 2019, 11:57am UTC](https://discuss.elastic.co/t/after-enabling-x-pack-security-transactions-doesnt-appear-in-apm/210696/1 "2019-12-05T11:57:17Z")

</div>

Hello. I am using elastic search stack,all with version 7.5. When xpack.security.enabled is set to false everything works as expected. After enabling xpack.security,and enabling Kibana with elastic user (superuser) login and password,it doesn't work,no transactions are showing up,what can cause that issue and how can I fix that.

---

<div class="post-metadata">

**Author:** ![sqren](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/sqren/32/26110_2.png) [@sqren](https://discuss.elastic.co/u/sqren)\
**Post date:** [December 5, 2019, 12:45pm UTC](https://discuss.elastic.co/t/after-enabling-x-pack-security-transactions-doesnt-appear-in-apm/210696/2 "2019-12-05T12:45:31Z")

</div>

Hi David,

Sorry to hear you are running into issues with APM. My initial thought is that you don't have the necessary permissions, although you do say you're logged in as the superuser.

**Verify access to `apm*` indices**  
Let's verify that you can access the APM index and retrieve a list of services. Please run the following query in Kibana Dev Tools:

```auto
GET apm*/_search?terminate_after=100
{
  "size": 0,
  "query": {
    "bool": {
      "filter": [
        {
          "terms": {
            "processor.event": [
              "transaction",
              "error",
              "metric"
            ]
          }
        },
        {
          "range": {
            "observer.version_major": {
              "gte": 7
            }
          }
        }
      ]
    }
  },
  "aggs": {
    "services": {
      "terms": {
        "field": "service.name",
        "size": 5
      }
    }
  }
} 

```

Does that return anything?

**Errors in APM App**  
Additionally, can you try opening your browser's Dev Tool while on the APM app. When you click "Refresh" the list of services should be refetched from the endpoint `api/apm/services`. Do you see any errors? What does the endpoint return?

Thank you in advance.

---

<div class="post-metadata">

**Author:** ![David\_Mkheyan](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/david_mkheyan/32/52956_2.png) [@David\_Mkheyan](https://discuss.elastic.co/u/David_Mkheyan)\
**Post date:** [December 5, 2019, 3:31pm UTC](https://discuss.elastic.co/t/after-enabling-x-pack-security-transactions-doesnt-appear-in-apm/210696/3 "2019-12-05T15:31:23Z")

</div>

```
{

```

"took" : 2,  
"timed\_out" : false,  
"terminated\_early" : false,  
"\_shards" : {  
"total" : 6,  
"successful" : 6,  
"skipped" : 0,  
"failed" : 0  
},  
"hits" : {  
"total" : {  
"value" : 74,  
"relation" : "eq"  
},  
"max\_score" : null,  
"hits" :   
},  
"aggregations" : {  
"services" : {  
"doc\_count\_error\_upper\_bound" : 0,  
"sum\_other\_doc\_count" : 0,  
"buckets" : [  
{  
"key" : "VuukleCore",  
"doc\_count" : 74  
}  
]  
}  
}  
}  
Here is the result I've got back from Kibana Dev Tools.  
When checking APM dashboard,no errors when doing Services request.

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/elastic/original/3X/1/a/1ac57faf039f6b580b3f104ef42a2a89e41014de.png) [@system](https://discuss.elastic.co/u/system)\
**Post date:** [December 26, 2019, 11:31am UTC](https://discuss.elastic.co/t/after-enabling-x-pack-security-transactions-doesnt-appear-in-apm/210696/4 "2019-12-26T11:31:23Z")

</div>

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