<?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 Re: Azure Event Hub and Add-on for Microsoft Cloud Services Configuration Issues in Getting Data In</title>
    <link>https://community.splunk.com/t5/Getting-Data-In/Azure-Event-Hub-and-Add-on-for-Microsoft-Cloud-Services/m-p/683443#M114087</link>
    <description>&lt;P&gt;2 things to check.&lt;/P&gt;&lt;P&gt;1 - I've seen instances where firewall devices inject private cert on outbound traffic causing error messages like this.&amp;nbsp; Adding an exception for the Splunk forwarder resolved the issue.&lt;/P&gt;&lt;P&gt;2 - if you are using self-signed or internal certs, you may need to add the cert to the add-on's trust list.&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;Navigate to $SPLUNK_HOME/etc/apps/Splunk_TA_microsoft-cloudservices/lib/certifi&lt;/LI&gt;&lt;LI&gt;Edit cacert.pem file&lt;/LI&gt;&lt;LI&gt;Append the contents of your root certificate to this file&lt;/LI&gt;&lt;LI&gt;Restart Splunk&lt;/LI&gt;&lt;/UL&gt;</description>
    <pubDate>Fri, 05 Apr 2024 15:56:56 GMT</pubDate>
    <dc:creator>jconger</dc:creator>
    <dc:date>2024-04-05T15:56:56Z</dc:date>
    <item>
      <title>Azure Event Hub and Add-on for Microsoft Cloud Services Configuration Issues</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Azure-Event-Hub-and-Add-on-for-Microsoft-Cloud-Services/m-p/680097#M113628</link>
      <description>&lt;P&gt;Hello all -&lt;/P&gt;&lt;P&gt;Trying to get Azure Event Hub data to flow into Splunk. Having issues configuring it with the add-on for Microsoft Cloud Services.&lt;/P&gt;&lt;P&gt;I have configured an app in Azure that has Reader &amp;amp; Event Hub Receiver roles. Event Hub has been configured it receive various audit information.&lt;/P&gt;&lt;P&gt;I am trying to configure the input. But receive error message in splunk_ta_microsoft_cloudservices_mscs_azure_event_hub_XYZ.log&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="WumboJumbo675_0-1709914919348.png" style="width: 400px;"&gt;&lt;img src="https://community.splunk.com/t5/image/serverpage/image-id/29675i8D9EC80418D710A4/image-size/medium?v=v2&amp;amp;px=400" role="button" title="WumboJumbo675_0-1709914919348.png" alt="WumboJumbo675_0-1709914919348.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;Error - 2024-03-08 16:20:31,313 level=ERROR pid=22008 tid=MainThread logger=modular_inputs.mscs_azure_event_hub pos=mscs_azure_event_hub.py:run:939 | datainput="PFG-AzureEventHub1" start_time=1709914805 | message="Error occurred while connecting to eventhub: CBS Token authentication failed.
Status code: None
Error: client-error
CBS Token authentication failed.
Status code: None" &lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I then tried to input the Connection string-primary key in the FQDN space, but receive the below error message. This is occurring because it is trying to create a ckpt file, but the file path is too long and it contains invalid characters.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;2024-03-08 14:41:32,112 level=ERROR pid=34216 tid=MainThread logger=modular_inputs.mscs_azure_event_hub pos=utils.py:wrapper:72 | datainput="PFG-AzureEventHub1" start_time=1709908886 | message="Data input was interrupted by an unhandled exception." 
Traceback (most recent call last):
  File "L:\Program Files\Splunk\etc\apps\Splunk_TA_microsoft-cloudservices\lib\splunksdc\utils.py", line 70, in wrapper
    return func(*args, **kwargs)
  File "L:\Program Files\Splunk\etc\apps\Splunk_TA_microsoft-cloudservices\lib\modular_inputs\mscs_azure_event_hub.py", line 933, in run
    consumer = self._create_event_hub_consumer(workspace, config, credential, proxy)
  File "L:\Program Files\Splunk\etc\apps\Splunk_TA_microsoft-cloudservices\lib\modular_inputs\mscs_azure_event_hub.py", line 851, in _create_event_hub_consumer
    args.consumer_group,
  File "L:\Program Files\Splunk\etc\apps\Splunk_TA_microsoft-cloudservices\lib\modular_inputs\mscs_azure_event_hub.py", line 238, in open
    checkpoint = SharedLocalCheckpoint(fullname)
  File "L:\Program Files\Splunk\etc\apps\Splunk_TA_microsoft-cloudservices\lib\modular_inputs\mscs_azure_event_hub.py", line 103, in __init__
    self._fd = os.open(fullname, os.O_RDWR | os.O_CREAT)
FileNotFoundError: [Errno 2] No such file or directory: 'L:\\Program Files\\Splunk\\var\\lib\\splunk\\modinputs\\mscs_azure_event_hub\\Endpoint=sb://REDACTED.servicebus.windows.net/;SharedAccessKeyName=RootManageSharedAccessKey;SharedAccessKey=REDACTED-insights-activity-logs-$Default.v1.ckpt'&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;Here is my inputs.conf file for the add-on&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;[mscs_azure_event_hub://PFG-AzureEventHub1]
account = AzureActivity
consumer_group = $Default
event_hub_name = insights-activity-logs
event_hub_namespace = REDACTED.servicebus.windows.net
index = azure-activity
interval = 300
max_batch_size = 300
max_wait_time = 10
sourcetype = mscs:azure:eventhub
use_amqp_over_websocket = 1&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;I have been stuck on this for the past couple of days. Any advice would be greatly appreciated!&lt;/P&gt;</description>
      <pubDate>Fri, 08 Mar 2024 16:30:01 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Azure-Event-Hub-and-Add-on-for-Microsoft-Cloud-Services/m-p/680097#M113628</guid>
      <dc:creator>WumboJumbo675</dc:creator>
      <dc:date>2024-03-08T16:30:01Z</dc:date>
    </item>
    <item>
      <title>Re: Azure Event Hub and Add-on for Microsoft Cloud Services Configuration Issues</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Azure-Event-Hub-and-Add-on-for-Microsoft-Cloud-Services/m-p/680109#M113629</link>
      <description>&lt;P&gt;I am now seeing the following error log&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;2024-03-08 13:06:35,386 level=ERROR pid=34152 tid=MainThread logger=modular_inputs.mscs_azure_event_hub pos=mscs_azure_event_hub.py:run:939 | datainput="PFG-AzureEventHub" start_time=1709903177 | message="Error occurred while connecting to eventhub: Failed to initiate the connection due to exception: Websocket failed to establish connection: SSLCertVerificationError(1, '[SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed: unable to get local issuer certificate (_ssl.c:1106)')
Error condition: ErrorCondition.SocketError
 Error Description: Failed to initiate the connection due to exception: Websocket failed to establish connection: SSLCertVerificationError(1, '[SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed: unable to get local issuer certificate (_ssl.c:1106)')" &lt;/LI-CODE&gt;</description>
      <pubDate>Fri, 08 Mar 2024 18:09:30 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Azure-Event-Hub-and-Add-on-for-Microsoft-Cloud-Services/m-p/680109#M113629</guid>
      <dc:creator>WumboJumbo675</dc:creator>
      <dc:date>2024-03-08T18:09:30Z</dc:date>
    </item>
    <item>
      <title>Re: Azure Event Hub and Add-on for Microsoft Cloud Services Configuration Issues</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Azure-Event-Hub-and-Add-on-for-Microsoft-Cloud-Services/m-p/680404#M113688</link>
      <description>&lt;P&gt;We are also having the error below:&lt;/P&gt;&lt;PRE&gt;Error occurred while connecting to eventhub: CBS Token authentication failed&lt;/PRE&gt;&lt;P&gt;We were told that Splunk wasn't hitting AZ FW at all. Did you solve that? If so was it a network opening? Please share so other can fix as well.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 12 Mar 2024 15:30:15 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Azure-Event-Hub-and-Add-on-for-Microsoft-Cloud-Services/m-p/680404#M113688</guid>
      <dc:creator>wubwub</dc:creator>
      <dc:date>2024-03-12T15:30:15Z</dc:date>
    </item>
    <item>
      <title>Re: Azure Event Hub and Add-on for Microsoft Cloud Services Configuration Issues</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Azure-Event-Hub-and-Add-on-for-Microsoft-Cloud-Services/m-p/680448#M113691</link>
      <description>&lt;P&gt;Where are you applying the Event Hubs Data Receiver role?&amp;nbsp; I usually apply it at the Subscription level so that any other namespaces created in the same subscription will inherit the necessary permissions.&amp;nbsp; There is a walkthrough here (Step 4) =&amp;gt;&amp;nbsp;&lt;A href="https://lantern.splunk.com/Data_Descriptors/Microsoft/Getting_started_with_Microsoft_Azure_Event_Hub_data" target="_blank"&gt;https://lantern.splunk.com/Data_Descriptors/Microsoft/Getting_started_with_Microsoft_Azure_Event_Hub_data&lt;/A&gt;&lt;/P&gt;&lt;P&gt;The SSL error you are getting may be a private certificate in the certificate chain.&amp;nbsp; I have also seen similar issues when a network device injects a private cert in the header in outbound traffic.&lt;/P&gt;</description>
      <pubDate>Tue, 12 Mar 2024 22:16:53 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Azure-Event-Hub-and-Add-on-for-Microsoft-Cloud-Services/m-p/680448#M113691</guid>
      <dc:creator>jconger</dc:creator>
      <dc:date>2024-03-12T22:16:53Z</dc:date>
    </item>
    <item>
      <title>Re: Azure Event Hub and Add-on for Microsoft Cloud Services Configuration Issues</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Azure-Event-Hub-and-Add-on-for-Microsoft-Cloud-Services/m-p/683443#M114087</link>
      <description>&lt;P&gt;2 things to check.&lt;/P&gt;&lt;P&gt;1 - I've seen instances where firewall devices inject private cert on outbound traffic causing error messages like this.&amp;nbsp; Adding an exception for the Splunk forwarder resolved the issue.&lt;/P&gt;&lt;P&gt;2 - if you are using self-signed or internal certs, you may need to add the cert to the add-on's trust list.&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;Navigate to $SPLUNK_HOME/etc/apps/Splunk_TA_microsoft-cloudservices/lib/certifi&lt;/LI&gt;&lt;LI&gt;Edit cacert.pem file&lt;/LI&gt;&lt;LI&gt;Append the contents of your root certificate to this file&lt;/LI&gt;&lt;LI&gt;Restart Splunk&lt;/LI&gt;&lt;/UL&gt;</description>
      <pubDate>Fri, 05 Apr 2024 15:56:56 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Azure-Event-Hub-and-Add-on-for-Microsoft-Cloud-Services/m-p/683443#M114087</guid>
      <dc:creator>jconger</dc:creator>
      <dc:date>2024-04-05T15:56:56Z</dc:date>
    </item>
    <item>
      <title>Re: Azure Event Hub and Add-on for Microsoft Cloud Services Configuration Issues</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Azure-Event-Hub-and-Add-on-for-Microsoft-Cloud-Services/m-p/683447#M114088</link>
      <description>&lt;P&gt;The issue has been resolved. Turned out I fat-fingered the entry in Azure Event Hub Input configuration for the 'Event Hub Name' once that was corrected all errors have been resolved and data is ingesting as expected.&lt;/P&gt;</description>
      <pubDate>Fri, 05 Apr 2024 16:01:41 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Azure-Event-Hub-and-Add-on-for-Microsoft-Cloud-Services/m-p/683447#M114088</guid>
      <dc:creator>WumboJumbo675</dc:creator>
      <dc:date>2024-04-05T16:01:41Z</dc:date>
    </item>
  </channel>
</rss>

