title: Azure log analytics data collector rest API connection timeout error from Databricks
body: <p>I'm trying to send some custom logs to log analytics from Databricks notebook using <a href="https://docs.microsoft.com/en-us/azure/azure-monitor/platform/data-collector-api" rel="nofollow noreferrer">Microsoft tutorial</a> , however I'm facing rest API connection timeout error.</p>
  <pre><code>ConnectionError: HTTPSConnectionPool(host='XXXXXXX-XXXX-XXXX-XXXX-XXXXXXXX.ods.opinsights.azure.com', port=443): Max retries exceeded with url: /api/logs?api-version=2016-04-01 (Caused by NewConnectionError('&lt;urllib3.connection.VerifiedHTTPSConnection object at 0x7fbed9108310&gt;: Failed to establish a new connection: [Errno 110] Connection timed out'))
  </code></pre>
  <p>Any suggestions please? How can I allow Azure Databricks to access log analytics workspace?</p>