- Access exclusive content
- Connect with peers
- Share your expertise
- Find support resources
09-17-2018 04:59 PM
I'm looking to do, what I believe, would be a simple minor for Azure Site Recovery IP list. The list is located here and is in XML form.
https://aka.ms/site-recovery-public-ips
I have bounced around on some articles and tried to follow a few, but came up empty-handed.
The Node I have setup says it was successful, but with 0 indicators.
Is there a basic, grab the list from a website to Miner tutorial I can review?
Also, we are using the Minemeld with Autofocus, not sure if that helps or not.
09-19-2018 11:46 PM - edited 09-19-2018 11:47 PM
Hi @Jmarx1,
the fastest way to mine such a feed is using the "generic API classes" documented in the article Using MineMeld to extract indicators from a generic API
Unfortunatelly, there isn't a class for XML. But, for this specific feed, the HTTPFT class can do the job. You'd need, though, to create two miners: one for "ServiceIP" extraction and the other one for "MonitorIP"
HTTPFT configuration parameters for SeviceIP extraction:
indicator: regex: (ServiceIP[0-9]*>)([0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3})(<\/S) transform: \2
HTTPFT configuration parameters for MonitorIP extraction:
indicator: regex: (MonitoringIP[0-9]*>)([0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3})(<\/M) transform: \2
Click Accept as Solution to acknowledge that the answer to your question has been provided.
The button appears next to the replies on topics you’ve started. The member who gave the solution and all future visitors to this topic will appreciate it!
These simple actions take just seconds of your time, but go a long way in showing appreciation for community members and the LIVEcommunity as a whole!
The LIVEcommunity thanks you for your participation!