# Logstash Exception in posting data to Azure Loganalytics

**URL:** <https://discuss.elastic.co/t/logstash-exception-in-posting-data-to-azure-loganalytics/293497>\
**Category:** Logstash\
**Created:** [January 5, 2022, 4:53am UTC](https://discuss.elastic.co/t/logstash-exception-in-posting-data-to-azure-loganalytics/293497 "2022-01-05T04:53:17Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![stillfreem](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/stillfreem/32/85628_2.png) [@stillfreem](https://discuss.elastic.co/u/stillfreem)\
**Post date:** [January 5, 2022, 4:53am UTC](https://discuss.elastic.co/t/logstash-exception-in-posting-data-to-azure-loganalytics/293497/1 "2022-01-05T04:53:17Z")

</div>

Hi All,

I've a server on which Logstash is installed and sending logs to Azure Sentinel.  
It works just fine but lately any other week I'd see the below entry in the `logstash-plain.log` file and it seems that the connection is lost for some brief moments.

`[2022-01-05T05:46:14,928][ERROR][logstash.outputs.azureloganalytics][main] Exception in posting data to Azure Loganalytics. [Exception: 'Timed out connecting to server]'`

I mean, its self-explanatory that the plugin lost connection to Sentinel but this was not the case before. And I was wondering if this merely has to do with net connection or Logstash might be complaining about something?

 ![image](https://us1.discourse-cdn.com/elastic/original/3X/e/6/e66b87c6cbc16d4a532d0281786abfd3a2c10ade.png)

Actually when I checked it seems its loosing connection every day

 ![image](https://us1.discourse-cdn.com/elastic/original/3X/7/b/7b8f5ccedfe12afd96de5045ac941eae6d42599e.jpeg)

---

<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:** [February 2, 2022, 4:53am UTC](https://discuss.elastic.co/t/logstash-exception-in-posting-data-to-azure-loganalytics/293497/2 "2022-02-02T04:53:31Z")

</div>

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