# Health Status is Unkown for a particular service

**URL:** <https://discuss.elastic.co/t/health-status-is-unkown-for-a-particular-service/326276>\
**Category:** APM\
**Tags:** elastic-stack-machine-learning, ui\
**Created:** [February 23, 2023, 8:08am UTC](https://discuss.elastic.co/t/health-status-is-unkown-for-a-particular-service/326276 "2023-02-23T08:08:06Z")\
**Posts on this page:** 11\
**Page:** 1

<div class="post-metadata">

**Author:** ![Divyanshu\_Raj](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/divyanshu_raj/32/100222_2.png) [@Divyanshu\_Raj](https://discuss.elastic.co/u/Divyanshu_Raj)\
**Post date:** [February 23, 2023, 8:08am UTC](https://discuss.elastic.co/t/health-status-is-unkown-for-a-particular-service/326276/1 "2023-02-23T08:08:06Z")

</div>

**Kibana version** : 7.17.0

**Elasticsearch version** : 7.17.0

**APM Server version** : 7.17.0

**APM Agent language and version** : java 1.11.0

**Browser version** : Chrome 89

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

**Fresh install or upgraded from other version?** upgraded

**Is there anything special in your setup?** Load balancer in front of APM servers.

**Description of the problem including expected versus actual behavior. Please include screenshots (if relevant)**:  
healthStatus for some services shows as "Unkown", given that apm-environment is set to "prod" and machine learning anomalies detection is enabled on this environment.  
anomalies score for this particular service is shown under anomalies detection tab, but it is not getting reflected on the services list ui.

Please see the below screenshots.

- _ **the second service is showing healthStatus as Unkown while first is showing as Healthy, both of the service have same environment as "prod"** _  

- _ **we can see that anomalies score is being calculated for the second service for time interval of 24 hrs** _  

my initial speculation is that anomalies score is being calculated for the service but it is not getting reflected in service dashboard ui, it might be the problem with ui but i am not sure.  
can anyone help me out here ?

**Errors in browser console (if relevant)**: N/A

**Provide logs and/or server output (if relevant)**: done  
​ ​ ​ ​

---

<div class="post-metadata">

**Author:** ![Yngrid\_Coello](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/yngrid_coello/32/146443_2.png) [@Yngrid\_Coello](https://discuss.elastic.co/u/Yngrid_Coello)\
**Post date:** [February 23, 2023, 9:41am UTC](https://discuss.elastic.co/t/health-status-is-unkown-for-a-particular-service/326276/2 "2023-02-23T09:41:09Z")

</div>

Hello @Divyanshu_Raj,

Which is the time frame you are using in the service inventory?  
**unknown** usually means the job has not generated any anomaly score in the given time range or there is no job for that environment.

---

<div class="post-metadata">

**Author:** ![Divyanshu\_Raj](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/divyanshu_raj/32/100222_2.png) [@Divyanshu\_Raj](https://discuss.elastic.co/u/Divyanshu_Raj)\
**Post date:** [February 23, 2023, 10:53am UTC](https://discuss.elastic.co/t/health-status-is-unkown-for-a-particular-service/326276/3 "2023-02-23T10:53:03Z")

</div>

@Yngrid_Coello  
thank you for the response.

in the following screenshot the anomalies score of last 4 hours are shown, there are two anomalies score as evident.

 ![Screenshot 2023-02-23 at 4.20.27 PM](https://us1.discourse-cdn.com/elastic/original/3X/3/c/3cabac08bfd7e498d2a4abae203e83c7169f062d.png)

and i used same time frame in services inventory, but the healthStatus is still UnKnown.

---

<div class="post-metadata">

**Author:** ![Divyanshu\_Raj](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/divyanshu_raj/32/100222_2.png) [@Divyanshu\_Raj](https://discuss.elastic.co/u/Divyanshu_Raj)\
**Post date:** [February 24, 2023, 8:57am UTC](https://discuss.elastic.co/t/health-status-is-unkown-for-a-particular-service/326276/4 "2023-02-24T08:57:20Z")

</div>

@Yngrid_Coello

An info update about system !

the service we are using does not contains any "request" type of transactions.

i am not sure how will that relate to the problem, but i thought it would help in understanding the problem in a better way.

---

<div class="post-metadata">

**Author:** ![Yngrid\_Coello](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/yngrid_coello/32/146443_2.png) [@Yngrid\_Coello](https://discuss.elastic.co/u/Yngrid_Coello)\
**Post date:** [February 24, 2023, 2:43pm UTC](https://discuss.elastic.co/t/health-status-is-unkown-for-a-particular-service/326276/5 "2023-02-24T14:43:37Z")

</div>

Thanks for this additional information.

Does this service have transaction of types **page-load** or **mobile**?

---

<div class="post-metadata">

**Author:** ![Divyanshu\_Raj](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/divyanshu_raj/32/100222_2.png) [@Divyanshu\_Raj](https://discuss.elastic.co/u/Divyanshu_Raj)\
**Post date:** [February 24, 2023, 3:33pm UTC](https://discuss.elastic.co/t/health-status-is-unkown-for-a-particular-service/326276/6 "2023-02-24T15:33:53Z")

</div>

No, this service only contains "messaging" and "Kafka" type of transactions.

---

<div class="post-metadata">

**Author:** ![Yngrid\_Coello](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/yngrid_coello/32/146443_2.png) [@Yngrid\_Coello](https://discuss.elastic.co/u/Yngrid_Coello)\
**Post date:** [February 24, 2023, 3:45pm UTC](https://discuss.elastic.co/t/health-status-is-unkown-for-a-particular-service/326276/7 "2023-02-24T15:45:22Z")

</div>

Thanks for checking.

In the services page we only retrieve anomalies for **request** , **page-load** and **mobile** transaction types.

---

<div class="post-metadata">

**Author:** ![Divyanshu\_Raj](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/divyanshu_raj/32/100222_2.png) [@Divyanshu\_Raj](https://discuss.elastic.co/u/Divyanshu_Raj)\
**Post date:** [February 27, 2023, 6:56am UTC](https://discuss.elastic.co/t/health-status-is-unkown-for-a-particular-service/326276/8 "2023-02-27T06:56:12Z")

</div>

oh that's the case !

but anyways, how can we see the healthStatus of our services having other types of transactions?

---

<div class="post-metadata">

**Author:** ![Yngrid\_Coello](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/yngrid_coello/32/146443_2.png) [@Yngrid\_Coello](https://discuss.elastic.co/u/Yngrid_Coello)\
**Post date:** [February 27, 2023, 10:24am UTC](https://discuss.elastic.co/t/health-status-is-unkown-for-a-particular-service/326276/9 "2023-02-27T10:24:13Z")

</div>

Hey @Divyanshu_Raj,  
unfortunately there are no options to check the healthStatus for other types of transactions.

What you can do is open an enhancement/feature [request](https://github.com/elastic/kibana/issues/new?assignees=&labels=&template=Feature_request.md) for us to evaluate it and prioritise it accordingly.

---

<div class="post-metadata">

**Author:** ![Divyanshu\_Raj](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/divyanshu_raj/32/100222_2.png) [@Divyanshu\_Raj](https://discuss.elastic.co/u/Divyanshu_Raj)\
**Post date:** [March 24, 2023, 6:49am UTC](https://discuss.elastic.co/t/health-status-is-unkown-for-a-particular-service/326276/10 "2023-03-24T06:49:48Z")

</div>

thank you so much for your input @Yngrid_Coello , that helped!

---

<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:** [April 21, 2023, 6:50am UTC](https://discuss.elastic.co/t/health-status-is-unkown-for-a-particular-service/326276/11 "2023-04-21T06:50:17Z")

</div>

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