# Can't see consulbeat import any data

**URL:** <https://discuss.elastic.co/t/cant-see-consulbeat-import-any-data/83365>\
**Category:** Beats\
**Created:** [April 24, 2017, 7:21am UTC](https://discuss.elastic.co/t/cant-see-consulbeat-import-any-data/83365 "2017-04-24T07:21:40Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![mathias](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/mathias/32/23176_2.png) [@mathias](https://discuss.elastic.co/u/mathias)\
**Post date:** [April 24, 2017, 7:21am UTC](https://discuss.elastic.co/t/cant-see-consulbeat-import-any-data/83365/1 "2017-04-24T07:21:40Z")

</div>

Hi,

I use consul in my project so I was happy when I found the consulbeat.

> **[GitHub - Pravoru/consulbeat: Push services health checks from consul to elastic](https://github.com/Pravoru/consulbeat)**
>
> Push services health checks from consul to elastic - GitHub - Pravoru/consulbeat: Push services health checks from consul to elastic

I tried to us it together with ES 5.3.1.

Unfortunately i can't see that it is doing anything.  
No index is created and no error in the log.

> cat /var/log/consulbeat/consulbeat  
> 2017-04-24T06:18:00Z INFO Metrics logging every 30s  
> 2017-04-24T06:18:00Z INFO Loading template enabled. Reading template file: /etc/consulbeat/consulbeat.template.json  
> 2017-04-24T06:18:00Z INFO Elasticsearch url: [http://elasticsearch.service.consul:9200](http://elasticsearch.service.consul:9200)  
> 2017-04-24T06:18:00Z INFO Activated elasticsearch as output plugin.  
> 2017-04-24T06:18:00Z INFO Publisher name: consulbeat  
> 2017-04-24T06:18:00Z INFO Flush Interval set to: 1s  
> 2017-04-24T06:18:00Z INFO Max Bulk Size set to: 50  
> 2017-04-24T06:18:00Z INFO consulbeat start running.  
> 2017-04-24T06:18:00Z INFO consulbeat is running! Hit CTRL-C to stop it.  
> 2017-04-24T06:18:01Z INFO Event sent  
> 2017-04-24T06:18:02Z INFO Event sent  
> 2017-04-24T06:18:03Z INFO Event sent  
> 2017-04-24T06:18:04Z INFO Event sent

> curl elasticsearch:9200/\_cat/indices?v  
> health status index uuid pri rep docs.count docs.deleted store.size pri.store.size  
> yellow open heartbeat-2017.04.24 A5JC9DAeQLSbcdDQDYz9xQ 5 1 44318 0 18.5mb 18.5mb  
> yellow open metricbeat-2017.04.24 8SgsrGjPQcCEsXvdS42RJA 5 1 1043073 0 776.1mb 776.1mb  
> yellow open .kibana pRToTA8-QFGcNweqVEhtUA 5 1 148 96 521.8kb 521.8kb  
> yellow open filebeat-2017.04.24 Js56v6rcTU22z5AzJ5qPKg 5 1 263402 0 107mb 107mb

Are there any special trick to make this beat work?

Br Mathias

---

<div class="post-metadata">

**Author:** ![steffens](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/steffens/32/79630_2.png) [@steffens](https://discuss.elastic.co/u/steffens)\
**Post date:** [April 24, 2017, 9:31am UTC](https://discuss.elastic.co/t/cant-see-consulbeat-import-any-data/83365/2 "2017-04-24T09:31:42Z")

</div>

Can you run consulbeat with debug output enabled?

---

<div class="post-metadata">

**Author:** ![mathias](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/mathias/32/23176_2.png) [@mathias](https://discuss.elastic.co/u/mathias)\
**Post date:** [April 25, 2017, 5:38pm UTC](https://discuss.elastic.co/t/cant-see-consulbeat-import-any-data/83365/3 "2017-04-25T17:38:14Z")

</div>

Hi Steffens,

cat /var/log/consulbeat/consulbeat  
2017-04-25T17:33:39Z INFO Metrics logging every 30s  
2017-04-25T17:33:39Z INFO Home path: [/usr/share/consulbeat] Config path: [/etc/consulbeat] Data path: [/var/lib/consulbeat] Logs path: [/var/log/consulbeat]  
2017-04-25T17:33:39Z INFO Setup Beat: consulbeat; Version: 5.0.0  
2017-04-25T17:33:39Z DBG Processors:  
2017-04-25T17:33:39Z DBG Initializing output plugins  
2017-04-25T17:33:39Z INFO Loading template enabled. Reading template file: /etc/consulbeat/consulbeat.template.json  
2017-04-25T17:33:39Z INFO Elasticsearch url: [http://consul.service.consul:9200](http://consul.service.consul:9200)  
2017-04-25T17:33:39Z INFO Activated elasticsearch as output plugin.  
2017-04-25T17:33:39Z DBG Create output worker  
2017-04-25T17:33:39Z DBG No output is defined to store the topology. The server fields might not be filled.  
2017-04-25T17:33:39Z INFO Publisher name: consulbeat  
2017-04-25T17:33:39Z INFO Flush Interval set to: 1s  
2017-04-25T17:33:39Z INFO Max Bulk Size set to: 50  
2017-04-25T17:33:39Z DBG create bulk processing worker (interval=1s, bulk size=50)  
2017-04-25T17:33:39Z INFO consulbeat start running.  
2017-04-25T17:33:39Z INFO consulbeat is running! Hit CTRL-C to stop it.  
2017-04-25T17:33:40Z DBG No events to publish  
2017-04-25T17:33:40Z INFO Event sent  
2017-04-25T17:33:41Z DBG No events to publish  
2017-04-25T17:33:41Z INFO Event sent  
2017-04-25T17:33:42Z DBG No events to publish  
2017-04-25T17:33:42Z INFO Event sent  
2017-04-25T17:33:43Z DBG No events to publish  
2017-04-25T17:33:43Z INFO Event sent  
2017-04-25T17:33:44Z DBG No events to publish

I also try to reload consul but there is no events.

Br Mathias

---

<div class="post-metadata">

**Author:** ![steffens](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/steffens/32/79630_2.png) [@steffens](https://discuss.elastic.co/u/steffens)\
**Post date:** [April 26, 2017, 10:02am UTC](https://discuss.elastic.co/t/cant-see-consulbeat-import-any-data/83365/4 "2017-04-26T10:02:36Z")

</div>

I haven't used this beat myself yet, so no idea about potential configuration errors. But to me it looks like it's not fetching any data or filtering out all data (or let's say an empty batch).

The debug message `No events to publish` is written by the libbeat publisher pipeline right after filtering. Either all events have been filtered out, or consulbeat did try to publish an empty batch of events.

---

<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 5, 2017, 9:49pm UTC](https://discuss.elastic.co/t/cant-see-consulbeat-import-any-data/83365/5 "2017-07-05T21:49:38Z")

</div>


