<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Splunk Add-on for Microsoft Cloud Services: in All Apps and Add-ons</title>
    <link>https://community.splunk.com/t5/All-Apps-and-Add-ons/Splunk-Add-on-for-Microsoft-Cloud-Services/m-p/392295#M47883</link>
    <description>&lt;P&gt;Hello all,&lt;BR /&gt;
Myself and My colleagues are attempting to set up the Splunk Add-on for Microsoft Cloud Services to pull down NSG Flow logs out of a Network Watcher an into Splunk.&lt;BR /&gt;
We have been following the "Splunking Microsoft Azure Network Watcher Data" tutorial on the "TIPS &amp;amp; TRICKS" section of the Splunk Blog.&lt;/P&gt;

&lt;P&gt;&lt;STRONG&gt;Azure Storage account&lt;/STRONG&gt; has been setup to the best of our understanding using an Access Key.&lt;/P&gt;

&lt;P&gt;&lt;STRONG&gt;Azure Storage Blob&lt;/STRONG&gt; has been setup as per the tutorial (The important part being Container Name : "insights-logs-networksecuritygroupflowevent")&lt;/P&gt;

&lt;P&gt;When this is ran we get the following error and are having difficulties trying to establish what the cause may be:&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;YYYY-MM-dd hh:mm:ss,xxx +0000 log_level=ERROR, pid=xxxxx, tid=Thread-34, file=mscs_storage_dispatcher.py, func_name=_dispatch_storage_list, code_line_no=86 | [stanza_name="&amp;lt;stanza_name&amp;gt;" account_name="&amp;lt;account_name&amp;gt;" container_name="insights-logs-networksecuritygroupflowevent" blob_list=""] Exception@_dispatch_tables() ,error_message=ConnectionError: HTTPSConnectionPool(host='&amp;lt;account_name&amp;gt;.blob.core.windows.net', port=443): Max retries exceeded with url: /insights-logs-networksecuritygroupflowevent?restype=container&amp;amp;comp=list (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out',))
Traceback (most recent call last):
  File "/opt/splunk/etc/apps/Splunk_TA_microsoft-cloudservices/bin/splunktamscs/mscs_storage_dispatcher.py", line 82, in _dispatch_storage_list
    self._do_dispatch()
  File "/opt/splunk/etc/apps/Splunk_TA_microsoft-cloudservices/bin/splunktamscs/mscs_storage_dispatcher.py", line 93, in _do_dispatch
    self._dispatch_tasks(patterns)
  File "/opt/splunk/etc/apps/Splunk_TA_microsoft-cloudservices/bin/splunktamscs/mscs_storage_dispatcher.py", line 115, in _dispatch_tasks
    next_marker, patterns)
  File "/opt/splunk/etc/apps/Splunk_TA_microsoft-cloudservices/bin/splunktamscs/mscs_storage_blob_dispatcher.py", line 92, in _get_storage_info_list
    marker=marker)
  File "/opt/splunk/etc/apps/Splunk_TA_microsoft-cloudservices/bin/splunktamscs/azure/storage/blob/baseblobservice.py", line 1177, in list_blobs
    resp = self._list_blobs(*args, **kwargs)
  File "/opt/splunk/etc/apps/Splunk_TA_microsoft-cloudservices/bin/splunktamscs/azure/storage/blob/baseblobservice.py", line 1247, in _list_blobs
    response = self._perform_request(request)
  File "/opt/splunk/etc/apps/Splunk_TA_microsoft-cloudservices/bin/splunktamscs/azure/storage/storageclient.py", line 186, in _perform_request
    raise AzureException('{}: {}'.format(ex.__class__.__name__, ex.args[0]))
AzureException: ConnectionError: HTTPSConnectionPool(host='&amp;lt;account_name&amp;gt;.blob.core.windows.net', port=443): Max retries exceeded with url: /insights-logs-networksecuritygroupflowevent?restype=container&amp;amp;comp=list (Caused by NewConnectionError('&amp;lt;requests.packages.urllib3.connection.VerifiedHTTPSConnection object at 0x7fdf0c7eb790&amp;gt;: Failed to establish a new connection: [Errno 110] Connection timed out',))
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;We are able to Curl from the Heavy Forwarder the app is installed on to the storage URL's.&lt;/P&gt;

&lt;P&gt;We are stuck trying to determine if the problems due to configuration within Splunk or in the cloud or somewhere in-between. &lt;BR /&gt;
If anyone could offer any suggestions on lines of investigation or if they have experienced anything similar before, we would be grateful.&lt;/P&gt;

&lt;P&gt;Many Thanks.&lt;/P&gt;</description>
    <pubDate>Thu, 14 Jun 2018 16:06:06 GMT</pubDate>
    <dc:creator>DavidBooth</dc:creator>
    <dc:date>2018-06-14T16:06:06Z</dc:date>
    <item>
      <title>Splunk Add-on for Microsoft Cloud Services:</title>
      <link>https://community.splunk.com/t5/All-Apps-and-Add-ons/Splunk-Add-on-for-Microsoft-Cloud-Services/m-p/392295#M47883</link>
      <description>&lt;P&gt;Hello all,&lt;BR /&gt;
Myself and My colleagues are attempting to set up the Splunk Add-on for Microsoft Cloud Services to pull down NSG Flow logs out of a Network Watcher an into Splunk.&lt;BR /&gt;
We have been following the "Splunking Microsoft Azure Network Watcher Data" tutorial on the "TIPS &amp;amp; TRICKS" section of the Splunk Blog.&lt;/P&gt;

&lt;P&gt;&lt;STRONG&gt;Azure Storage account&lt;/STRONG&gt; has been setup to the best of our understanding using an Access Key.&lt;/P&gt;

&lt;P&gt;&lt;STRONG&gt;Azure Storage Blob&lt;/STRONG&gt; has been setup as per the tutorial (The important part being Container Name : "insights-logs-networksecuritygroupflowevent")&lt;/P&gt;

&lt;P&gt;When this is ran we get the following error and are having difficulties trying to establish what the cause may be:&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;YYYY-MM-dd hh:mm:ss,xxx +0000 log_level=ERROR, pid=xxxxx, tid=Thread-34, file=mscs_storage_dispatcher.py, func_name=_dispatch_storage_list, code_line_no=86 | [stanza_name="&amp;lt;stanza_name&amp;gt;" account_name="&amp;lt;account_name&amp;gt;" container_name="insights-logs-networksecuritygroupflowevent" blob_list=""] Exception@_dispatch_tables() ,error_message=ConnectionError: HTTPSConnectionPool(host='&amp;lt;account_name&amp;gt;.blob.core.windows.net', port=443): Max retries exceeded with url: /insights-logs-networksecuritygroupflowevent?restype=container&amp;amp;comp=list (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out',))
Traceback (most recent call last):
  File "/opt/splunk/etc/apps/Splunk_TA_microsoft-cloudservices/bin/splunktamscs/mscs_storage_dispatcher.py", line 82, in _dispatch_storage_list
    self._do_dispatch()
  File "/opt/splunk/etc/apps/Splunk_TA_microsoft-cloudservices/bin/splunktamscs/mscs_storage_dispatcher.py", line 93, in _do_dispatch
    self._dispatch_tasks(patterns)
  File "/opt/splunk/etc/apps/Splunk_TA_microsoft-cloudservices/bin/splunktamscs/mscs_storage_dispatcher.py", line 115, in _dispatch_tasks
    next_marker, patterns)
  File "/opt/splunk/etc/apps/Splunk_TA_microsoft-cloudservices/bin/splunktamscs/mscs_storage_blob_dispatcher.py", line 92, in _get_storage_info_list
    marker=marker)
  File "/opt/splunk/etc/apps/Splunk_TA_microsoft-cloudservices/bin/splunktamscs/azure/storage/blob/baseblobservice.py", line 1177, in list_blobs
    resp = self._list_blobs(*args, **kwargs)
  File "/opt/splunk/etc/apps/Splunk_TA_microsoft-cloudservices/bin/splunktamscs/azure/storage/blob/baseblobservice.py", line 1247, in _list_blobs
    response = self._perform_request(request)
  File "/opt/splunk/etc/apps/Splunk_TA_microsoft-cloudservices/bin/splunktamscs/azure/storage/storageclient.py", line 186, in _perform_request
    raise AzureException('{}: {}'.format(ex.__class__.__name__, ex.args[0]))
AzureException: ConnectionError: HTTPSConnectionPool(host='&amp;lt;account_name&amp;gt;.blob.core.windows.net', port=443): Max retries exceeded with url: /insights-logs-networksecuritygroupflowevent?restype=container&amp;amp;comp=list (Caused by NewConnectionError('&amp;lt;requests.packages.urllib3.connection.VerifiedHTTPSConnection object at 0x7fdf0c7eb790&amp;gt;: Failed to establish a new connection: [Errno 110] Connection timed out',))
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;We are able to Curl from the Heavy Forwarder the app is installed on to the storage URL's.&lt;/P&gt;

&lt;P&gt;We are stuck trying to determine if the problems due to configuration within Splunk or in the cloud or somewhere in-between. &lt;BR /&gt;
If anyone could offer any suggestions on lines of investigation or if they have experienced anything similar before, we would be grateful.&lt;/P&gt;

&lt;P&gt;Many Thanks.&lt;/P&gt;</description>
      <pubDate>Thu, 14 Jun 2018 16:06:06 GMT</pubDate>
      <guid>https://community.splunk.com/t5/All-Apps-and-Add-ons/Splunk-Add-on-for-Microsoft-Cloud-Services/m-p/392295#M47883</guid>
      <dc:creator>DavidBooth</dc:creator>
      <dc:date>2018-06-14T16:06:06Z</dc:date>
    </item>
    <item>
      <title>Re: Splunk Add-on for Microsoft Cloud Services:</title>
      <link>https://community.splunk.com/t5/All-Apps-and-Add-ons/Splunk-Add-on-for-Microsoft-Cloud-Services/m-p/392296#M47884</link>
      <description>&lt;P&gt;Did you create this input by going into the Splunk Add-on for Microsoft Cloud Services UI, or did you create the input by going to Settings -&amp;gt; Data Inputs?&lt;/P&gt;

&lt;P&gt;The reason I ask is the error messages have the following red flags:&lt;/P&gt;

&lt;UL&gt;
&lt;LI&gt;&lt;CODE&gt;stanza_name="" account_name=""&lt;/CODE&gt;  &lt;CODE&gt;account_name&lt;/CODE&gt; should not be blank.&lt;/LI&gt;
&lt;LI&gt;&lt;CODE&gt;host='.blob.core.windows.net', port=443&lt;/CODE&gt;  If account_name was not blank (let's say account_name was my-storage-account), a connection would be made to &lt;CODE&gt;host='my-storage-account.blob.core.windows.net', port=443&lt;/CODE&gt;&lt;/LI&gt;
&lt;/UL&gt;

&lt;P&gt;To set his up, open the Splunk Add-on for Microsoft Cloud Services app -&amp;gt; Configuration -&amp;gt; Azure Storage Account -&amp;gt; Add Azure Storage Account.  Then, create the input by going to the Inputs menu -&amp;gt; Create New Input -&amp;gt; Azure Storage Blob.&lt;/P&gt;

&lt;P&gt;Here is a good blob post on the subject -&amp;gt; &lt;A href="https://www.splunk.com/blog/2017/08/18/splunking-microsoft-cloud-data-part-2.html" target="_blank"&gt;https://www.splunk.com/blog/2017/08/18/splunking-microsoft-cloud-data-part-2.html&lt;/A&gt; &lt;/P&gt;</description>
      <pubDate>Tue, 29 Sep 2020 20:03:41 GMT</pubDate>
      <guid>https://community.splunk.com/t5/All-Apps-and-Add-ons/Splunk-Add-on-for-Microsoft-Cloud-Services/m-p/392296#M47884</guid>
      <dc:creator>jconger</dc:creator>
      <dc:date>2020-09-29T20:03:41Z</dc:date>
    </item>
    <item>
      <title>Re: Splunk Add-on for Microsoft Cloud Services:</title>
      <link>https://community.splunk.com/t5/All-Apps-and-Add-ons/Splunk-Add-on-for-Microsoft-Cloud-Services/m-p/392297#M47885</link>
      <description>&lt;P&gt;Thanks for the reply and My apologies,&lt;BR /&gt;
I had wrapped the anonymized configuration details in “&amp;lt;&amp;gt;” without realising they would be parsed out when I posted. This also removed part of the error message. &lt;BR /&gt;
So &lt;CODE&gt;stanza_name=””&lt;/CODE&gt; should have read &lt;CODE&gt;stanza_name=&amp;lt;stanza_name&amp;gt;&lt;/CODE&gt;&lt;/P&gt;

&lt;P&gt;I used the GUI to input the details.&lt;BR /&gt;
Thanks again.&lt;/P&gt;</description>
      <pubDate>Fri, 15 Jun 2018 14:08:19 GMT</pubDate>
      <guid>https://community.splunk.com/t5/All-Apps-and-Add-ons/Splunk-Add-on-for-Microsoft-Cloud-Services/m-p/392297#M47885</guid>
      <dc:creator>DavidBooth</dc:creator>
      <dc:date>2018-06-15T14:08:19Z</dc:date>
    </item>
  </channel>
</rss>

