<div dir="ltr"><div>Hi Sebastian and team,</div><div><br></div><div>Another question regarding the feedname. <br></div><div><br></div><div>I currently have a directory of mixed feeds (Spam-URL, Open-mDNS, Open-LDAP etc.) that needs to be processed individually.<br></div><div>Can the file-collector bot take regular expression in one of its parameters (feedname or postfix?) to filter which csv to queue to the appropriate shadowserver parser?</div><div><br></div><div>My current workaround is to move the different feeds into their own directory and then point the file-collector to their respective location - will automate this process pending answer :) <br></div><div><br></div><div>Regards,</div><div>Peter<br></div></div><br><div class="gmail_quote"><div dir="ltr">On Tue, 5 Jun 2018 at 13:51, Sebastian Wagner <<a href="mailto:wagner@cert.at">wagner@cert.at</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div text="#000000" bgcolor="#FFFFFF">
Hi,<br>
<br>
On 2018-06-05 13:46, Peter Chan wrote:<br>
<blockquote type="cite">
<div dir="ltr">Just another question regarding the feedname.
<div>Is it possible to define multiple feeds in the feedname
parameter like:</div>
<div><br>
</div>
<div>"feedname": "
<code>Ssl-Scan</code>
", "<code>Ssl-Freak-Scan</code>", "
<code>Open-SNMP</code>",</div>
</div>
</blockquote>
<br>
No, as the parser needs to know what feed to expect to parse it
correctly. That would not be possible with multiple feed names
given. You need to create multiple collectors/parsers.<br>
<br>
It might sound strange that the parser can't detect the feed, but as
feeds look very similar and the csv headers change regularly, this
would result in wrongly parsed feeds otherwise.<br>
<br>
Sebastian<br>
<br>
<pre class="m_-7897173963127884199moz-signature" cols="72">--
// Sebastian Wagner <a class="m_-7897173963127884199moz-txt-link-rfc2396E" href="mailto:wagner@cert.at" target="_blank"><wagner@cert.at></a> - T: +43 1 5056416 7201
// CERT Austria - <a class="m_-7897173963127884199moz-txt-link-freetext" href="https://www.cert.at/" target="_blank">https://www.cert.at/</a>
// Eine Initiative der <a href="http://nic.at" target="_blank">nic.at</a> GmbH - <a class="m_-7897173963127884199moz-txt-link-freetext" href="https://www.nic.at/" target="_blank">https://www.nic.at/</a>
// Firmenbuchnummer 172568b, LG Salzburg</pre>
</div>
</blockquote></div>