# Search Profile is not working

**URL:** <https://discuss.elastic.co/t/search-profile-is-not-working/89052>\
**Category:** Elasticsearch\
**Created:** [June 12, 2017, 1:53pm UTC](https://discuss.elastic.co/t/search-profile-is-not-working/89052 "2017-06-12T13:53:53Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![Yashpal\_Singh](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/yashpal_singh/32/43209_2.png) [@Yashpal\_Singh](https://discuss.elastic.co/u/Yashpal_Singh)\
**Post date:** [June 12, 2017, 1:53pm UTC](https://discuss.elastic.co/t/search-profile-is-not-working/89052/1 "2017-06-12T13:53:53Z")

</div>

Hi, I am getting below error while profiling the basic query.

`Cannot read property 'stack' of undefined`

Have tried installing the X-PACK plugin as well.

Given the simple query is working fine.

ES Version: 5.2.1  
Kiaban:5.2.1

Attached the SS as well.

 ![](https://us1.discourse-cdn.com/elastic/original/3X/6/a/6ac3873b9e26c1aed6c9c44dcc11e515cda8fe86.png)file:///home/yash/Downloads/Screenshot%20from%202017-06-12%2019-22-48.png

---

<div class="post-metadata">

**Author:** ![Stacey\_Gammon](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/stacey_gammon/32/14025_2.png) [@Stacey\_Gammon](https://discuss.elastic.co/u/Stacey_Gammon)\
**Post date:** [June 12, 2017, 8:16pm UTC](https://discuss.elastic.co/t/search-profile-is-not-working/89052/2 "2017-06-12T20:16:38Z")

</div>

Strange, I attempted the same on 5.2.1 and it's working fine for me. Is there any additional information you can supply that might help me reproduce the issue?

Has it always been broken for you, or did this just recently start? Do you see any errors in the Kibana terminal console, elasticsearch terminal console or browser console? Does it fail if you try it using an incognito browser?

---

<div class="post-metadata">

**Author:** ![Yashpal\_Singh](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/yashpal_singh/32/43209_2.png) [@Yashpal\_Singh](https://discuss.elastic.co/u/Yashpal_Singh)\
**Post date:** [June 13, 2017, 1:17pm UTC](https://discuss.elastic.co/t/search-profile-is-not-working/89052/3 "2017-06-13T13:17:57Z")

</div>

Hi Stacey,

Thanks for quick revert.

We have tried it for the first time and I can confirm that it is also not working in incognito mode.

We are only getting some warning in kibana logs.

log [13:04:40.956] [info][status][plugin:kibana@5.2.1] Status changed from uninitialized to green - Ready  
log [13:04:41.038] [info][status][plugin:elasticsearch@5.2.1] Status changed from uninitialized to yellow - Waiting for Elasticsearch  
log [13:04:41.048] [info][status][plugin:xpack\_main@5.2.1] Status changed from uninitialized to yellow - Waiting for Elasticsearch  
log [13:04:41.335] [info][status][plugin:graph@5.2.1] Status changed from uninitialized to yellow - Waiting for Elasticsearch  
log [13:04:41.348] [info][status][plugin:monitoring@5.2.1] Status changed from uninitialized to green - Ready  
log [13:04:41.354] [warning][reporting] Generating a random key for xpack.reporting.encryptionKey. To prevent pending reports from failing on restart, please set xpack.reporting.encryptionKey in kibana.yml  
log [13:04:41.363] [info][status][plugin:reporting@5.2.1] Status changed from uninitialized to yellow - Waiting for Elasticsearch  
log [13:04:46.579] [info][status][plugin:xpack\_main@5.2.1] Status changed from yellow to yellow - No existing Kibana index found  
log [13:04:46.581] [info][status][plugin:graph@5.2.1] Status changed from yellow to yellow - No existing Kibana index found  
log [13:04:46.582] [info][status][plugin:reporting@5.2.1] Status changed from yellow to yellow - No existing Kibana index found  
log [13:04:46.582] [info][status][plugin:elasticsearch@5.2.1] Status changed from yellow to yellow - No existing Kibana index found  
log [13:04:47.319] [info][status][plugin:elasticsearch@5.2.1] Status changed from yellow to green - Kibana index ready  
log [13:04:47.491] [info][license][xpack] Imported license information from Elasticsearch: mode: trial | status: active | expiry date: 2017-07-13T12:53:30+00:00  
log [13:04:47.508] [info][status][plugin:monitoring@5.2.1] Status changed from green to yellow - Waiting for Monitoring Health Check  
log [13:04:47.510] [info][status][plugin:xpack\_main@5.2.1] Status changed from yellow to green - Ready  
log [13:04:47.512] [info][status][plugin:graph@5.2.1] Status changed from yellow to green - Ready  
log [13:04:47.514] [info][status][plugin:reporting@5.2.1] Status changed from yellow to green - Ready  
log [13:04:50.296] [info][status][plugin:monitoring@5.2.1] Status changed from yellow to green - Ready  
log [13:04:56.027] [info][status][plugin:security@5.2.1] Status changed from uninitialized to green - Ready  
log [13:04:56.028] [warning][security] Generating a random key for xpack.security.encryptionKey. To prevent sessions from being invalidated on restart, please set xpack.security.encryptionKey in kibana.yml  
log [13:04:56.037] [warning][security] Session cookies will be transmitted over insecure connections. This is not recommended.  
log [13:04:56.096] [info][status][plugin:searchprofiler@5.2.1] Status changed from uninitialized to green - Ready  
log [13:04:56.105] [info][status][plugin:tilemap@5.2.1] Status changed from uninitialized to green - Ready  
log [13:04:56.121] [info][status][plugin:console@5.2.1] Status changed from uninitialized to green - Ready  
log [13:04:56.299] [info][status][plugin:timelion@5.2.1] Status changed from uninitialized to green - Ready

---

<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:** [July 11, 2017, 1:18pm UTC](https://discuss.elastic.co/t/search-profile-is-not-working/89052/4 "2017-07-11T13:18:09Z")

</div>

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