# CPU temp and Deployment status

**URL:** <https://discuss.elastic.co/t/cpu-temp-and-deployment-status/206659>\
**Category:** Kibana\
**Created:** [November 5, 2019, 6:31pm UTC](https://discuss.elastic.co/t/cpu-temp-and-deployment-status/206659 "2019-11-05T18:31:52Z")\
**Posts on this page:** 10\
**Page:** 1

<div class="post-metadata">

**Author:** ![RayKishev](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/raykishev/32/54175_2.png) [@RayKishev](https://discuss.elastic.co/u/RayKishev)\
**Post date:** [November 5, 2019, 6:31pm UTC](https://discuss.elastic.co/t/cpu-temp-and-deployment-status/206659/1 "2019-11-05T18:31:52Z")

</div>

Hello Elastic Team,

I would to build my own Dashboard in Kibana with specific data. Will i be able to capture the CPU temperature, ingest status and Deployment status data in Elasticsearch and create a Dashboard with this info in Kibana?

Please advice  
thank you

---

<div class="post-metadata">

**Author:** ![tylersmalley](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/tylersmalley/32/8833_2.png) [@tylersmalley](https://discuss.elastic.co/u/tylersmalley)\
**Post date:** [November 7, 2019, 3:37pm UTC](https://discuss.elastic.co/t/cpu-temp-and-deployment-status/206659/2 "2019-11-07T15:37:51Z")

</div>

Absolutely!

There are quite a few options.

Capture the data and sent to Elasticsearch using the [Index API](https://www.elastic.co/guide/en/elasticsearch/reference/current/docs-index_.html). You will probably want to first create the mapping for this data to describe to Elasticsearch how you would like it to be indexed. [https://www.elastic.co/guide/en/elasticsearch/reference/current/mapping.html](https://www.elastic.co/guide/en/elasticsearch/reference/current/mapping.html)

We also have Beats, which are lightweight shippers to Elasticsearch. [Metricbeat](https://www.elastic.co/guide/en/beats/metricbeat/current/index.html) might have the information you want to capture, with the added benefit they ship with some dashboards to get you started. Since the beats do the heavy lifting of handling the ES connection, retries, etc. Sometimes it makes sense to build your own Beat [https://www.elastic.co/guide/en/beats/devguide/7.x/new-beat.html](https://www.elastic.co/guide/en/beats/devguide/7.x/new-beat.html) [https://www.elastic.co/blog/build-your-own-beat](https://www.elastic.co/blog/build-your-own-beat)

---

<div class="post-metadata">

**Author:** ![RayKishev](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/raykishev/32/54175_2.png) [@RayKishev](https://discuss.elastic.co/u/RayKishev)\
**Post date:** [November 7, 2019, 7:30pm UTC](https://discuss.elastic.co/t/cpu-temp-and-deployment-status/206659/3 "2019-11-07T19:30:48Z")

</div>

Thank you for your reply. I have installed pretty much all beats provided by Elastic, but i', not quite sure if the metricbeat provides the CPU temperature. I have Metricbeat installed and running, but i don't have that data.  
Another question : I would like to capture Ros logs which is under /home/.ros/logs path. Will i be able to get those logs to Elastic and Kibana thru Filebeat or Logstash? I tried to specify the path in Filebeat.yml, but i still don't see Ros logs in Kibana.

Thank you for support,  
Ratmir

---

<div class="post-metadata">

**Author:** ![RayKishev](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/raykishev/32/54175_2.png) [@RayKishev](https://discuss.elastic.co/u/RayKishev)\
**Post date:** [November 11, 2019, 5:20pm UTC](https://discuss.elastic.co/t/cpu-temp-and-deployment-status/206659/4 "2019-11-11T17:20:19Z")

</div>

Hey @tylersmalley ,

Would you please reply me?

---

<div class="post-metadata">

**Author:** ![tylersmalley](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/tylersmalley/32/8833_2.png) [@tylersmalley](https://discuss.elastic.co/u/tylersmalley)\
**Post date:** [November 11, 2019, 5:40pm UTC](https://discuss.elastic.co/t/cpu-temp-and-deployment-status/206659/5 "2019-11-11T17:40:20Z")

</div>

Looks like there is a community beat which does CPU temperature - but I have have little information about it. [https://github.com/eskibars/lmsensorsbeat](https://github.com/eskibars/lmsensorsbeat)

I found this from the community beats section here: [https://www.elastic.co/guide/en/beats/libbeat/current/community-beats.html](https://www.elastic.co/guide/en/beats/libbeat/current/community-beats.html)

If that doesn't work you can use a cronjob to capture the metrics and log to a file, which you can then pickup from Filebeat.

I am not familiar with `Ros`, but I don't see why you wouldn't be able to ingest those using Filebeat. What does the content of those files look like? Are they structured JSON? Do you have an example? Do you see the data in Elasticsearch? What does your Filebeat configuration look like?

---

<div class="post-metadata">

**Author:** ![RayKishev](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/raykishev/32/54175_2.png) [@RayKishev](https://discuss.elastic.co/u/RayKishev)\
**Post date:** [November 11, 2019, 5:46pm UTC](https://discuss.elastic.co/t/cpu-temp-and-deployment-status/206659/6 "2019-11-11T17:46:26Z")

</div>

@tylersmalley thank you for your quick reply.  
I have already tested the lssensorsbeat, but that does not seem to be working. Yes, i found it from community beat section. Would be nice if your guys could add CPU temp information into metricbeat. It would be very helpful.

---

<div class="post-metadata">

**Author:** ![tylersmalley](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/tylersmalley/32/8833_2.png) [@tylersmalley](https://discuss.elastic.co/u/tylersmalley)\
**Post date:** [November 11, 2019, 5:59pm UTC](https://discuss.elastic.co/t/cpu-temp-and-deployment-status/206659/7 "2019-11-11T17:59:55Z")

</div>

Appears there is an open issue for that enhancement you can track here: [https://github.com/elastic/beats/issues/11848](https://github.com/elastic/beats/issues/11848)

---

<div class="post-metadata">

**Author:** ![RayKishev](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/raykishev/32/54175_2.png) [@RayKishev](https://discuss.elastic.co/u/RayKishev)\
**Post date:** [November 11, 2019, 9:22pm UTC](https://discuss.elastic.co/t/cpu-temp-and-deployment-status/206659/8 "2019-11-11T21:22:55Z")

</div>

@tylersmalley following your advice i have created a script to capture CPU temp to a logfile and i set a cronjob to run that script. I have now a log file under /var/log/temp.log. How do i add this data to Kibana now ? I was thinking on creating CPU temp gauge in KIbana.

---

<div class="post-metadata">

**Author:** ![RayKishev](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/raykishev/32/54175_2.png) [@RayKishev](https://discuss.elastic.co/u/RayKishev)\
**Post date:** [November 14, 2019, 12:51am UTC](https://discuss.elastic.co/t/cpu-temp-and-deployment-status/206659/9 "2019-11-14T00:51:08Z")

</div>

@tylersmalley  
Hi Tyler,  
I have installed and configured lmsensorsbeat, but having issues loading index template into Kibana. It's rinning in my pc, but i dont see any data in Kibana.  
i get this error: ERR Failed to perform any bulk index operations: 406 Not Acceptable  
2019/11/14 00:22:49.968508 single.go:78: INFO Error publishing events (retrying): 406 Not Acceptable.

Connection established with ES.

here is the lmsensorsbeat.yml  
output:

### Elasticsearch as output

elasticsearch:

hosts: ["Localhost:9200"]

index: "lmsensorbeat-%{+yyyy.MM.dd}"

```
# A template is used to set the mapping in Elasticsearch
# By default template loading is disabled and no template is loaded.
# These settings can be adjusted to load your own template or overwrite existing ones
template:

  # Template name. By default the template name is lmsensorsbeat.
  name: "lmsensorsbeat"

  # Path to template file
  path: "lmsensorsbeat.template.json"

  # Overwrite existing template
  overwrite: true
```

---

<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 12, 2019, 12:51am UTC](https://discuss.elastic.co/t/cpu-temp-and-deployment-status/206659/10 "2019-12-12T00:51:17Z")

</div>

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