<?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 messages coming to Splunk as multiple events in Getting Data In</title>
    <link>https://community.splunk.com/t5/Getting-Data-In/Azure-Event-Hub-messages-coming-to-Splunk-as-multiple-events/m-p/578509#M102146</link>
    <description>&lt;P&gt;We configured INDEXED_EXTRACTIONS = json in apps/Splunk_TA_microsoft-cloudservices/local/props.conf and it seemed to do the trick.&lt;/P&gt;</description>
    <pubDate>Wed, 15 Dec 2021 16:23:17 GMT</pubDate>
    <dc:creator>l3ender</dc:creator>
    <dc:date>2021-12-15T16:23:17Z</dc:date>
    <item>
      <title>Azure Event Hub messages coming to Splunk as multiple events</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Azure-Event-Hub-messages-coming-to-Splunk-as-multiple-events/m-p/576826#M101898</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;We are integrating our on-prem Splunk (version 8.2.3) to retrieve messages from an Azure Event Hub. We have configured Linux server syslog to send to an Event Hub (&lt;A href="https://docs.microsoft.com/en-us/azure/virtual-machines/extensions/diagnostics-linux?tabs=azcli" target="_self"&gt;Linux diagnostic extension 4.0&lt;/A&gt;).&lt;/P&gt;&lt;P&gt;We installed the &lt;A href="https://splunkbase.splunk.com/app/3110/" target="_self"&gt;Splunk Add-on for Microsoft Cloud Services&lt;/A&gt; app (version 4.2.0), configured the Azure app account, and created the inputs to map to the Event Hub namespace/hub name/consumer group.&lt;/P&gt;&lt;P&gt;We are seeing data arrive into Splunk, but it is arriving split across multiple events:&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="l3ender_0-1638315089525.png" style="width: 400px;"&gt;&lt;img src="https://community.splunk.com/t5/image/serverpage/image-id/17064i5B6C94F758CDF824/image-size/medium?v=v2&amp;amp;px=400" role="button" title="l3ender_0-1638315089525.png" alt="l3ender_0-1638315089525.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;If I add all three events together, it is valid JSON for a single event:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="javascript"&gt;{"body":{ "time" : "2021-11-30T23:30:01.0000000Z",
  "resourceId" : "/subscriptions/xxx/resourceGroups/xxx/providers/Microsoft.Compute/virtualMachines/xxx",
  "properties" : {
    "ident" : "CRON",
    "pid" : "177365",
    "Ignore" : "syslog",
    "Facility" : "authpriv",
    "Severity" : "info",
    "EventTime" : "2021-11-30T23:30:01+0000",
    "SendingHost" : "localhost",
    "Msg" : "pam_unix(cron:session): session closed for user root",
    "hostname" : "xxx",
    "FluentdIngestTimestamp" : "2021-11-30T23:30:01Z"
  },
  "category" : "authpriv",
  "level" : "info",
  "operationName" : "LinuxSyslogEvent"
},"x-opt-sequence-number":100,"x-opt-offset":"77128","x-opt-enqueued-time":1638315007941}&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;But we need such to be a single event in Splunk in order to process data effectively!&lt;/P&gt;&lt;P&gt;Interestingly enough, we are using the Event Hub integration to also retrieve &lt;A href="https://docs.microsoft.com/en-us/azure/app-service/troubleshoot-diagnostic-logs#send-logs-to-azure-monitor" target="_self"&gt;resource diagnostic logs&lt;/A&gt;, and we don't see the same issue! Only when using Event Hubs for Linux diagnostics.&lt;/P&gt;&lt;P&gt;Has anyone faced this issue, or know how to correct the problem? Thanks!&lt;/P&gt;</description>
      <pubDate>Wed, 01 Dec 2021 16:08:48 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Azure-Event-Hub-messages-coming-to-Splunk-as-multiple-events/m-p/576826#M101898</guid>
      <dc:creator>l3ender</dc:creator>
      <dc:date>2021-12-01T16:08:48Z</dc:date>
    </item>
    <item>
      <title>Re: Azure Event Hub messages coming to Splunk as multiple events</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Azure-Event-Hub-messages-coming-to-Splunk-as-multiple-events/m-p/578509#M102146</link>
      <description>&lt;P&gt;We configured INDEXED_EXTRACTIONS = json in apps/Splunk_TA_microsoft-cloudservices/local/props.conf and it seemed to do the trick.&lt;/P&gt;</description>
      <pubDate>Wed, 15 Dec 2021 16:23:17 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Azure-Event-Hub-messages-coming-to-Splunk-as-multiple-events/m-p/578509#M102146</guid>
      <dc:creator>l3ender</dc:creator>
      <dc:date>2021-12-15T16:23:17Z</dc:date>
    </item>
  </channel>
</rss>

