<?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: What is the best practices to collect data (high frequently) out of the Azure Monitor? in All Apps and Add-ons</title>
    <link>https://community.splunk.com/t5/All-Apps-and-Add-ons/What-is-the-best-practices-to-collect-data-high-frequently-out/m-p/316714#M37929</link>
    <description>&lt;P&gt;This might be helpful for anyone visiting; I have started working on an addon for Azure Event Hubs for Splunk, feel free to use it!&lt;BR /&gt;
&lt;A href="https://splunkbase.splunk.com/app/4343/"&gt;https://splunkbase.splunk.com/app/4343/&lt;/A&gt;&lt;/P&gt;

&lt;P&gt;regards,&lt;/P&gt;</description>
    <pubDate>Mon, 07 Jan 2019 17:47:25 GMT</pubDate>
    <dc:creator>larmesto</dc:creator>
    <dc:date>2019-01-07T17:47:25Z</dc:date>
    <item>
      <title>What is the best practices to collect data (high frequently) out of the Azure Monitor?</title>
      <link>https://community.splunk.com/t5/All-Apps-and-Add-ons/What-is-the-best-practices-to-collect-data-high-frequently-out/m-p/316712#M37927</link>
      <description>&lt;P&gt;Hi everyone :),&lt;/P&gt;

&lt;P&gt;at the moment i am building a service based on Azure Cloud Infrastructure. I am not very happy with the monitoring solutions given by Microsoft Azure like azure App Insights concerning performance and usability of the dashboards... What i came up with is using Azure Monitor to collect diagnostic logs, metrics from my resources e.g. sql databases , storage blobs ( no app-service, because its at the moment not supported to collect these logs via Azure Monitor) .. Now i would love to know how i can get this data near-realtime into splunk. I already did some research and found "mainly" two solutions.&lt;/P&gt;

&lt;OL&gt;
&lt;LI&gt;&lt;P&gt;From Azure Monitor directly to an Event Hub to a binded Azure Function which sends the log data via HEC into splunk. Described here: &lt;A href="https://github.com/sebastus/AzureFunctionForSplunkCSX"&gt;https://github.com/sebastus/AzureFunctionForSplunkCSX&lt;/A&gt;&lt;/P&gt;&lt;/LI&gt;
&lt;LI&gt;&lt;P&gt;From Azure Monitor directly to an Azure blobs/table storage and then periodically via Splunk Add-on for Microsoft Cloud Services into splunk.&lt;/P&gt;&lt;/LI&gt;
&lt;/OL&gt;

&lt;P&gt;Solution 1:  I mainly don't like the fact that i need an extra function to send data to the HEC. I would prefer to directly speak to the EventHub via amqp. I know that this is possible but i didn't found a let's call it "trusted add-on" for splunk and i don't want to write it on my own.&lt;/P&gt;

&lt;P&gt;Solution 2: I am not quite sure if this is very practicable for my near-realtime needs and don't like the fact that i would have to poll the data and how this would behave on a very huge amount of data (To make sure, i didn't try it ) .&lt;/P&gt;

&lt;P&gt;Is there anything i understand wrong or any better way to do this?&lt;/P&gt;

&lt;P&gt;Thx for your help!&lt;/P&gt;</description>
      <pubDate>Thu, 01 Mar 2018 12:48:53 GMT</pubDate>
      <guid>https://community.splunk.com/t5/All-Apps-and-Add-ons/What-is-the-best-practices-to-collect-data-high-frequently-out/m-p/316712#M37927</guid>
      <dc:creator>leb7abt</dc:creator>
      <dc:date>2018-03-01T12:48:53Z</dc:date>
    </item>
    <item>
      <title>Re: What is the best practices to collect data (high frequently) out of the Azure Monitor?</title>
      <link>https://community.splunk.com/t5/All-Apps-and-Add-ons/What-is-the-best-practices-to-collect-data-high-frequently-out/m-p/316713#M37928</link>
      <description>&lt;P&gt;Microsoft uses 2 main repositories for Azure data (there are APIs that expose different data too, but I'll stick to these):&lt;/P&gt;

&lt;OL&gt;
&lt;LI&gt;Storage Accounts&lt;/LI&gt;
&lt;LI&gt;Event Hubs&lt;/LI&gt;
&lt;/OL&gt;

&lt;P&gt;Regarding your researched options above:&lt;/P&gt;

&lt;P&gt;Option 1 (using an Azure Function to push to Splunk via HEC) is going to get closest to realtime.  &lt;/P&gt;

&lt;P&gt;Option 2 will get messy as Azure Monitor exposes data in JSON format.  If you send that to a blob and have the Splunk Add-on for Microsoft Cloud Services pick it up, several props/transforms will most likely need to re-parse that data if it is a JSON array.  Parsing the data can (and has been) done, but it isn't very fun.&lt;/P&gt;

&lt;P&gt;You could use the Azure Monitor Add-on for Splunk to pull diagnostic, activity, and metric data from Event Hubs -&amp;gt; &lt;A href="https://splunkbase.splunk.com/app/3534/"&gt;https://splunkbase.splunk.com/app/3534/&lt;/A&gt;&lt;/P&gt;

&lt;P&gt;Or, you could use the Splunk Add-on for Microsoft Cloud Services to pull from storage.&lt;/P&gt;

&lt;P&gt;So, to recap:&lt;/P&gt;

&lt;UL&gt;
&lt;LI&gt;Microsoft is going to deliver Azure data to a storage account and/or Event Hub (they aren't mutually exclusive).&lt;/LI&gt;
&lt;LI&gt;You can use the Splunk Add-on for Microsoft Cloud Services to &lt;EM&gt;pull&lt;/EM&gt; from a storage account.&lt;BR /&gt;&lt;/LI&gt;
&lt;LI&gt;You can use the Azure Monitor Add-on for Splunk to &lt;EM&gt;pull&lt;/EM&gt; from an Event Hub.&lt;/LI&gt;
&lt;LI&gt;You can use an Azure Function to &lt;EM&gt;push&lt;/EM&gt; from an Event Hub to Splunk via HEC.&lt;/LI&gt;
&lt;/UL&gt;</description>
      <pubDate>Mon, 02 Apr 2018 23:54:01 GMT</pubDate>
      <guid>https://community.splunk.com/t5/All-Apps-and-Add-ons/What-is-the-best-practices-to-collect-data-high-frequently-out/m-p/316713#M37928</guid>
      <dc:creator>jconger</dc:creator>
      <dc:date>2018-04-02T23:54:01Z</dc:date>
    </item>
    <item>
      <title>Re: What is the best practices to collect data (high frequently) out of the Azure Monitor?</title>
      <link>https://community.splunk.com/t5/All-Apps-and-Add-ons/What-is-the-best-practices-to-collect-data-high-frequently-out/m-p/316714#M37929</link>
      <description>&lt;P&gt;This might be helpful for anyone visiting; I have started working on an addon for Azure Event Hubs for Splunk, feel free to use it!&lt;BR /&gt;
&lt;A href="https://splunkbase.splunk.com/app/4343/"&gt;https://splunkbase.splunk.com/app/4343/&lt;/A&gt;&lt;/P&gt;

&lt;P&gt;regards,&lt;/P&gt;</description>
      <pubDate>Mon, 07 Jan 2019 17:47:25 GMT</pubDate>
      <guid>https://community.splunk.com/t5/All-Apps-and-Add-ons/What-is-the-best-practices-to-collect-data-high-frequently-out/m-p/316714#M37929</guid>
      <dc:creator>larmesto</dc:creator>
      <dc:date>2019-01-07T17:47:25Z</dc:date>
    </item>
  </channel>
</rss>

