<?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: Custom Miner commit error : Unknown Node Class : minemeld.ft.azure.AzureChinaJSON in Azure-China in General Topics</title>
    <link>https://live.paloaltonetworks.com/t5/general-topics/custom-miner-commit-error-unknown-node-class-minemeld-ft-azure/m-p/306923#M96396</link>
    <description>&lt;P&gt;Solved:&lt;/P&gt;&lt;P&gt;The file nodes.json needs to be updated at /opt/minemeld/engine/core folder as well. Not sure why, but it doesn't work until I restart the system.&lt;/P&gt;</description>
    <pubDate>Thu, 16 Jan 2020 12:26:41 GMT</pubDate>
    <dc:creator>shanu2405</dc:creator>
    <dc:date>2020-01-16T12:26:41Z</dc:date>
    <item>
      <title>Custom Miner commit error : Unknown Node Class : minemeld.ft.azure.AzureChinaJSON in Azure-China-Min</title>
      <link>https://live.paloaltonetworks.com/t5/general-topics/custom-miner-commit-error-unknown-node-class-minemeld-ft-azure/m-p/306572#M96395</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I am trying to create a custom miner for Azure China feed. I have successfully tested it in one of the servers, but it doesn't let me commit when I create a Miner.&lt;/P&gt;&lt;P&gt;Already applied the solution from&amp;nbsp;&lt;A href="https://live.paloaltonetworks.com/t5/MineMeld-Discussions/how-to-write-a-simple-miner-documentation/td-p/156793" target="_blank" rel="noopener"&gt;https://live.paloaltonetworks.com/t5/MineMeld-Discussions/how-to-write-a-simple-miner-documentation/td-p/156793&lt;/A&gt;&lt;/P&gt;&lt;P&gt;Below are the steps I followed:&lt;/P&gt;&lt;P&gt;1. Edit &lt;FONT face="arial black,avant garde"&gt;azure.py&lt;/FONT&gt; file and added a new class -&amp;nbsp;&lt;FONT face="arial black,avant garde"&gt;AzureChinaJSON&lt;/FONT&gt; which parses the IPs from&amp;nbsp;&lt;A href="https://www.microsoft.com/en-us/download/confirmation.aspx?id=57062" target="_blank" rel="noopener"&gt;https://www.microsoft.com/en-us/download/confirmation.aspx?id=57062&lt;/A&gt;&lt;/P&gt;&lt;P&gt;2. Edited the &lt;FONT face="arial black,avant garde"&gt;azure.yml&lt;/FONT&gt; file to add prototype -&amp;nbsp;ChinacloudIPsWithServiceTags, referencing class: &lt;STRONG&gt;&lt;FONT face="arial,helvetica,sans-serif"&gt;minemeld.ft.azure.AzureChinaJSON&lt;/FONT&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;3. Updated the &lt;FONT face="arial black,avant garde"&gt;nodes.json&lt;/FONT&gt; file inside &lt;STRONG&gt;/minemeld/engine/current/&lt;/STRONG&gt; to find its entrypoint:&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&lt;FONT face="arial,helvetica,sans-serif"&gt;"minemeld.ft.azure.AzureChinaJSON": {&lt;/FONT&gt;&lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG&gt;&lt;FONT face="arial,helvetica,sans-serif"&gt;"class": "minemeld.ft.azure:AzureChinaJSON"&lt;/FONT&gt;&lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG&gt;&lt;FONT face="arial,helvetica,sans-serif"&gt;},&lt;/FONT&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT face="arial,helvetica,sans-serif"&gt;4. Ran&amp;nbsp;&lt;/FONT&gt;&lt;STRONG&gt;"/&amp;lt;path&amp;gt;/minemeld/engine/current/bin/pip install -e /&amp;lt;path&amp;gt;/minemeld/engine/core"&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;Although, I don't understand what this command does.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;FONT face="arial,helvetica,sans-serif"&gt;5. In GUI, when I look for prototype, it looks good with the correct Class called. I can create a Miner with that, but the error pops up.&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;FONT face="arial,helvetica,sans-serif"&gt;Again, this works on a test server. The only difference is this one doesn't have MineMeld installed in default /core directory.&amp;nbsp;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT face="arial,helvetica,sans-serif"&gt;Does it make any difference?&amp;nbsp;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT face="arial,helvetica,sans-serif"&gt;I have attached the three files I updated.&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;FONT face="arial,helvetica,sans-serif"&gt;Thank you in advance:)&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT face="arial,helvetica,sans-serif"&gt;&amp;nbsp;&lt;/FONT&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 14 Jan 2020 05:22:32 GMT</pubDate>
      <guid>https://live.paloaltonetworks.com/t5/general-topics/custom-miner-commit-error-unknown-node-class-minemeld-ft-azure/m-p/306572#M96395</guid>
      <dc:creator>shanu2405</dc:creator>
      <dc:date>2020-01-14T05:22:32Z</dc:date>
    </item>
    <item>
      <title>Re: Custom Miner commit error : Unknown Node Class : minemeld.ft.azure.AzureChinaJSON in Azure-China</title>
      <link>https://live.paloaltonetworks.com/t5/general-topics/custom-miner-commit-error-unknown-node-class-minemeld-ft-azure/m-p/306923#M96396</link>
      <description>&lt;P&gt;Solved:&lt;/P&gt;&lt;P&gt;The file nodes.json needs to be updated at /opt/minemeld/engine/core folder as well. Not sure why, but it doesn't work until I restart the system.&lt;/P&gt;</description>
      <pubDate>Thu, 16 Jan 2020 12:26:41 GMT</pubDate>
      <guid>https://live.paloaltonetworks.com/t5/general-topics/custom-miner-commit-error-unknown-node-class-minemeld-ft-azure/m-p/306923#M96396</guid>
      <dc:creator>shanu2405</dc:creator>
      <dc:date>2020-01-16T12:26:41Z</dc:date>
    </item>
  </channel>
</rss>

