# Logstash is not receiving or sending data to elastic from Azure Hub

**URL:** <https://discuss.elastic.co/t/logstash-is-not-receiving-or-sending-data-to-elastic-from-azure-hub/223562>\
**Category:** Logstash\
**Created:** [March 13, 2020, 6:36pm UTC](https://discuss.elastic.co/t/logstash-is-not-receiving-or-sending-data-to-elastic-from-azure-hub/223562 "2020-03-13T18:36:06Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![igman](https://avatars.discourse-cdn.com/v4/letter/i/779978/32.png) [@igman](https://discuss.elastic.co/u/igman)\
**Post date:** [March 13, 2020, 6:36pm UTC](https://discuss.elastic.co/t/logstash-is-not-receiving-or-sending-data-to-elastic-from-azure-hub/223562/1 "2020-03-13T18:36:06Z")

</div>

I created Azure Event Hub and I can see all message in Event Hub\*\*  
I installed have Elasticsearch,Kibana and LogStash on single Windows box.  
I enabled plug in logstash-input-azure\_event\_hubs.  
I run logstash –f Logstash.conf

## input { azure\_event\_hubs { event\_hub\_connections =\> ["Endpoint=sb://exxcmonitoringehn.servicebus.windows.net/;SharedAccessKeyName=ESDC-Policy;SharedAccessKey=DDDDbJULe68SCxsXdgdgdd8NFh9bNs+RGnvDv85Y=;EntityPath=exxcmonitoringeh"] threads =\> 1 decorate\_events =\> true consumer\_group =\> "$default" storage\_connection =\> "DefaultEndpointsProtocol=https;AccountName=eXXcmonitorsa;AccountKey=IUK17l+HGFHFGJFHJFHJFH +Y+6KLVroNlkylNLNGcSJtNQ==;[EndpointSuffix=core.windows.net](http://EndpointSuffix=core.windows.net)" } } output { elasticsearch { hosts =\> ["localhost:9200"] } }

When I open browser and navigate to **Dashboard\Azure Monitor Overview.**

It shows me \*\*No data to display for the selected metrics.

I am getting this logs. No error

[2020-03-13T18:11:47,082][INFO][com.microsoft.azure.eventhubs.impl.SessionHandler][main] onSessionFinal entityName[mgmt-session], condition[null], description[null]

[2020-03-13T18:11:47,082][INFO][com.microsoft.azure.eventhubs.impl.ConnectionHandler][main] onConnectionFinal: hostname[[exxcmonitoringehn.servicebus.windows.net:5671](http://exxcmonitoringehn.servicebus.windows.net:5671)], errorCondition[null], errorDescription[null]

[2020-03-13T18:11:47,082][WARN][com.microsoft.azure.eventhubs.impl.MessagingFactory][main] messagingFactory[MessagingFactory766b31], hostName[[exxcmonitoringehn.servicebus.windows.net](http://exxcmonitoringehn.servicebus.windows.net)], message[stopping the reactor because thread was interrupted or the reactor has no more events to process.]

[2020-03-13T18:11:47,160][INFO][logstash.inputs.azureeventhubs][main] Event Hub registration complete. {:event\_hub\_name=\>"exxcmonitoringeh"}

**\> Any idea how to cheek if logstash receiving data from Event-Hub ?**  
**\> How to check if logstash sending data to elastic**

---

<div class="post-metadata">

**Author:** ![ancdaromidi](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/ancdaromidi/32/64824_2.png) [@ancdaromidi](https://discuss.elastic.co/u/ancdaromidi)\
**Post date:** [March 23, 2020, 3:35pm UTC](https://discuss.elastic.co/t/logstash-is-not-receiving-or-sending-data-to-elastic-from-azure-hub/223562/2 "2020-03-23T15:35:18Z")

</div>

Hi, I was just curious, how did you get the Azure Monitor dashboards on Kibana?

> [@igman](#):
>
> **\> Any idea how to cheek if logstash receiving data from Event-Hub ?**

Have you tried using stdout as output to see if there's anything received by Logstash?

> [@igman](#):
>
> **\> How to check if logstash sending data to elastic**

As for checking if Logstash is sending to Elasticsearch, you can set output to a custom index then check if that has data.

---

<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 20, 2020, 3:46pm UTC](https://discuss.elastic.co/t/logstash-is-not-receiving-or-sending-data-to-elastic-from-azure-hub/223562/3 "2020-04-20T15:46:45Z")

</div>

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