<?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: Cisco Meraki Azure Sentinel data connector won't connect in Cloud Networking Platform</title>
    <link>https://community.cisco.com/t5/cloud-networking-platform/cisco-meraki-azure-sentinel-data-connector-won-t-connect/m-p/5410380#M3827</link>
    <description>&lt;P&gt;So the data connector is still connected, but only one empty event received in the past 7 hours.  Has anyone else had similar issues?&lt;/P&gt;</description>
    <pubDate>Sun, 24 Mar 2024 23:17:54 GMT</pubDate>
    <dc:creator>ITPKeithK</dc:creator>
    <dc:date>2024-03-24T23:17:54Z</dc:date>
    <item>
      <title>Cisco Meraki Azure Sentinel data connector won't connect</title>
      <link>https://community.cisco.com/t5/cloud-networking-platform/cisco-meraki-azure-sentinel-data-connector-won-t-connect/m-p/5410378#M3825</link>
      <description>&lt;P&gt;I've followed the bare bones instructions provided to the letter.  tcpdump seems to indicate that logs are getting from our MX64 to the Linux VM hosted in Azure, but my data connector in Azure remains in a "disconnected" state with no logs being received in Azure.  Where should I look next?  I've confirmed multiple times that my configurations match the following:&lt;/P&gt;&lt;DIV class=""&gt;&lt;DIV class=""&gt;1. Install and onboard the agent for Linux&lt;/DIV&gt;&lt;DIV class=""&gt;&lt;P&gt;Typically, you should install the agent on a different computer from the one on which the logs are generated.&lt;/P&gt;&lt;BLOCKQUOTE&gt;&lt;P&gt;Syslog logs are collected only from&lt;SPAN&gt; &lt;/SPAN&gt;&lt;STRONG&gt;Linux&lt;/STRONG&gt;&lt;SPAN&gt; &lt;/SPAN&gt;agents.&lt;/P&gt;&lt;/BLOCKQUOTE&gt;&lt;/DIV&gt;&lt;DIV class=""&gt;&lt;DIV class=""&gt;Choose where to install the agent:&lt;/DIV&gt;&lt;DIV class=""&gt;&lt;DIV class=""&gt;&lt;DIV class=""&gt;Install agent on Azure Linux Virtual Machine&lt;/DIV&gt;&lt;/DIV&gt;&lt;DIV class=""&gt;&lt;DIV class=""&gt;Install agent on a non-Azure Linux Machine&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;DIV class=""&gt;&lt;DIV class=""&gt;2. Configure the logs to be collected&lt;/DIV&gt;&lt;DIV class=""&gt;&lt;P&gt;Follow the configuration steps below to get Cisco Meraki device logs into Microsoft Sentinel. Refer to the&lt;SPAN&gt; &lt;/SPAN&gt;&lt;A href="https://docs.microsoft.com/azure/azure-monitor/agents/data-sources-json" target="_blank" rel="noopener nofollow noreferrer"&gt;Azure Monitor Documentation&lt;/A&gt;&lt;SPAN&gt; &lt;/SPAN&gt;for more details on these steps.&lt;BR /&gt;For Cisco Meraki logs, we have issues while parsing the data by OMS agent data using default settings.&lt;BR /&gt;So we advice to capture the logs into custom table&lt;SPAN&gt; &lt;/SPAN&gt;&lt;STRONG&gt;meraki_CL&lt;/STRONG&gt;&lt;SPAN&gt; &lt;/SPAN&gt;using below instructions.&lt;/P&gt;&lt;OL&gt;&lt;LI&gt;&lt;P&gt;Login to the server where you have installed OMS agent.&lt;/P&gt;&lt;/LI&gt;&lt;LI&gt;&lt;P&gt;Download config file&lt;SPAN&gt; &lt;/SPAN&gt;&lt;A href="https://aka.ms/sentinel-ciscomerakioms-conf" target="_blank" rel="noopener nofollow noreferrer"&gt;meraki.conf&lt;/A&gt;&lt;BR /&gt;wget -v&lt;SPAN&gt; &lt;/SPAN&gt;&lt;A href="https://aka.ms/sentinel-ciscomerakioms-conf" target="_blank" rel="noopener nofollow noreferrer"&gt;https://aka.ms/sentinel-ciscomerakioms-conf&lt;/A&gt;&lt;SPAN&gt; &lt;/SPAN&gt;-O meraki.conf&lt;/P&gt;&lt;/LI&gt;&lt;LI&gt;&lt;P&gt;Copy meraki.conf to the /etc/opt/microsoft/omsagent/&lt;STRONG&gt;workspace_id&lt;/STRONG&gt;/conf/omsagent.d/ folder.&lt;BR /&gt;cp meraki.conf /etc/opt/microsoft/omsagent/&amp;lt;&amp;gt;/conf/omsagent.d/&lt;/P&gt;&lt;/LI&gt;&lt;LI&gt;&lt;P&gt;Edit meraki.conf as follows:&lt;/P&gt;&lt;P&gt;a. meraki.conf uses the port&lt;SPAN&gt; &lt;/SPAN&gt;&lt;STRONG&gt;22033&lt;/STRONG&gt;&lt;SPAN&gt; &lt;/SPAN&gt;by default. Ensure this port is not being used by any other source on your server&lt;/P&gt;&lt;P&gt;b. If you would like to change the default port for&lt;SPAN&gt; &lt;/SPAN&gt;&lt;STRONG&gt;meraki.conf&lt;/STRONG&gt;&lt;SPAN&gt; &lt;/SPAN&gt;make sure that you dont use default Azure monitoring /log analytic agent ports I.e.(For example CEF uses TCP port&lt;SPAN&gt; &lt;/SPAN&gt;&lt;STRONG&gt;25226&lt;/STRONG&gt;&lt;SPAN&gt; &lt;/SPAN&gt;or&lt;SPAN&gt; &lt;/SPAN&gt;&lt;STRONG&gt;25224&lt;/STRONG&gt;)&lt;/P&gt;&lt;P&gt;c. replace&lt;SPAN&gt; &lt;/SPAN&gt;&lt;STRONG&gt;workspace_id&lt;/STRONG&gt;&lt;SPAN&gt; &lt;/SPAN&gt;with real value of your Workspace ID (lines 14,15,16,19)&lt;/P&gt;&lt;/LI&gt;&lt;LI&gt;&lt;P&gt;Save changes and restart the Azure Log Analytics agent for Linux service with the following command:&lt;BR /&gt;sudo /opt/microsoft/omsagent/bin/service_control restart&lt;/P&gt;&lt;/LI&gt;&lt;LI&gt;&lt;P&gt;Modify /etc/rsyslog.conf file - add below template preferably at the beginning / before directives section&lt;BR /&gt;$template meraki,"%timestamp% %hostname% %msg%&lt;/P&gt;&lt;/LI&gt;&lt;/OL&gt;&lt;P&gt;"&lt;BR /&gt;7. Create a custom conf file in /etc/rsyslog.d/ for example 10-meraki.conf and add following filter conditions.&lt;/P&gt;&lt;PRE&gt; With an added statement you will need to create a filter which will specify the logs coming from the Cisco Meraki to be forwarded to the custom table.

 reference: [Filter Conditions — rsyslog 8.18.0.master documentation](https://rsyslog.readthedocs.io/en/latest/configuration/filters.html)

 Here is an example of filtering that can be defined, this is not complete and will require additional testing for each installation.
     if $rawmsg contains "flows" then @@127.0.0.1:22033;meraki
     &amp;amp; stop 
     if $rawmsg contains "urls" then @@127.0.0.1:22033;meraki
     &amp;amp; stop
     if $rawmsg contains "ids-alerts" then @@127.0.0.1:22033;meraki
     &amp;amp; stop
     if $rawmsg contains "events" then @@127.0.0.1:22033;meraki
     &amp;amp; stop
     if $rawmsg contains "ip_flow_start" then @@127.0.0.1:22033;meraki
     &amp;amp; stop
     if $rawmsg contains "ip_flow_end" then @@127.0.0.1:22033;meraki
     &amp;amp; stop &lt;/PRE&gt;&lt;OL&gt;&lt;LI&gt;Restart rsyslog&lt;BR /&gt;systemctl restart rsyslog&lt;/LI&gt;&lt;/OL&gt;&lt;/DIV&gt;&lt;DIV class=""&gt;&lt;DIV class=""&gt;&lt;DIV class=""&gt; &lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;</description>
      <pubDate>Sun, 24 Mar 2024 15:42:28 GMT</pubDate>
      <guid>https://community.cisco.com/t5/cloud-networking-platform/cisco-meraki-azure-sentinel-data-connector-won-t-connect/m-p/5410378#M3825</guid>
      <dc:creator>ITPKeithK</dc:creator>
      <dc:date>2024-03-24T15:42:28Z</dc:date>
    </item>
    <item>
      <title>Re: Cisco Meraki Azure Sentinel data connector won't connect</title>
      <link>https://community.cisco.com/t5/cloud-networking-platform/cisco-meraki-azure-sentinel-data-connector-won-t-connect/m-p/5410379#M3826</link>
      <description>&lt;P&gt;Update..my data connector is connected since I separated "&amp;amp; stop" to its own lines in my 10-meraki.conf file.  One log entry received so I'll continue to monitor but at least it is progress.&lt;/P&gt;</description>
      <pubDate>Sun, 24 Mar 2024 17:26:44 GMT</pubDate>
      <guid>https://community.cisco.com/t5/cloud-networking-platform/cisco-meraki-azure-sentinel-data-connector-won-t-connect/m-p/5410379#M3826</guid>
      <dc:creator>ITPKeithK</dc:creator>
      <dc:date>2024-03-24T17:26:44Z</dc:date>
    </item>
    <item>
      <title>Re: Cisco Meraki Azure Sentinel data connector won't connect</title>
      <link>https://community.cisco.com/t5/cloud-networking-platform/cisco-meraki-azure-sentinel-data-connector-won-t-connect/m-p/5410380#M3827</link>
      <description>&lt;P&gt;So the data connector is still connected, but only one empty event received in the past 7 hours.  Has anyone else had similar issues?&lt;/P&gt;</description>
      <pubDate>Sun, 24 Mar 2024 23:17:54 GMT</pubDate>
      <guid>https://community.cisco.com/t5/cloud-networking-platform/cisco-meraki-azure-sentinel-data-connector-won-t-connect/m-p/5410380#M3827</guid>
      <dc:creator>ITPKeithK</dc:creator>
      <dc:date>2024-03-24T23:17:54Z</dc:date>
    </item>
    <item>
      <title>Re: Cisco Meraki Azure Sentinel data connector won't connect</title>
      <link>https://community.cisco.com/t5/cloud-networking-platform/cisco-meraki-azure-sentinel-data-connector-won-t-connect/m-p/5410381#M3828</link>
      <description>&lt;P&gt;Got this all working.  This thread pointed me in the right direction.  &lt;A href="https://www.reddit.com/r/meraki/comments/mlfh04/meraki_collector_for_sentinel/" target="_blank" rel="nofollow noopener noreferrer"&gt;Meraki Collector for Sentinel : r/meraki (reddit.com)&lt;/A&gt;&lt;/P&gt;&lt;P&gt;I am using an Ubuntu VM, and apparently Ubuntu's implementation of rsyslog will, by default, only listen on sockets for log entries.&lt;/P&gt;&lt;P&gt;I had to enable UDP by uncommenting the following lines in /etc/rsyslog.conf:&lt;/P&gt;&lt;P&gt;module(load="imudp")&lt;/P&gt;&lt;P&gt;input(type="imudp" port="514")&lt;/P&gt;</description>
      <pubDate>Mon, 25 Mar 2024 12:21:23 GMT</pubDate>
      <guid>https://community.cisco.com/t5/cloud-networking-platform/cisco-meraki-azure-sentinel-data-connector-won-t-connect/m-p/5410381#M3828</guid>
      <dc:creator>ITPKeithK</dc:creator>
      <dc:date>2024-03-25T12:21:23Z</dc:date>
    </item>
    <item>
      <title>Re: Cisco Meraki Azure Sentinel data connector won't connect</title>
      <link>https://community.cisco.com/t5/cloud-networking-platform/cisco-meraki-azure-sentinel-data-connector-won-t-connect/m-p/5410382#M3829</link>
      <description>&lt;P&gt;on step 3. Copy meraki.conf to the /etc/opt/microsoft/omsagent/&lt;STRONG&gt;workspace_id&lt;/STRONG&gt;/conf/omsagent.d/ folder&lt;/P&gt;&lt;P&gt;Did you create the dir of the workspace ID? The entire path is there for me minus the workspace_id.&lt;/P&gt;&lt;P&gt;Wondering if the worksace_id is needed or if it will work with just the default path of /etc/opt/microsoft/omsagent/conf/omsagent.d&lt;/P&gt;&lt;P&gt;Also wondering if this solution is still working since the Cisco Meraki Data connector is Deprecated and only connector I find is Custom Logs AMA for meraki logs.&lt;/P&gt;</description>
      <pubDate>Mon, 23 Sep 2024 15:40:02 GMT</pubDate>
      <guid>https://community.cisco.com/t5/cloud-networking-platform/cisco-meraki-azure-sentinel-data-connector-won-t-connect/m-p/5410382#M3829</guid>
      <dc:creator>bonesmeraki</dc:creator>
      <dc:date>2024-09-23T15:40:02Z</dc:date>
    </item>
  </channel>
</rss>

