<div dir="ltr">Hello,<div><br></div><div>MongoDB is a document-oriented database engine, not a relational database. In this case, we talk about collections and documents instead of tables and rows.</div><div>You can find a small comparison with MySQL here: <a href="https://www.mongodb.com/compare/mongodb-mysql">https://www.mongodb.com/compare/mongodb-mysql</a></div><div>There is also a more detailed SQL comparison: <a href="https://docs.mongodb.org/manual/reference/sql-comparison/">https://docs.mongodb.org/manual/reference/sql-comparison/</a></div><div><div><br></div><div>Fortunately, syslog-ng supports MongoDB through the mongodb() destination driver. Have a look at the "Example 7.11. Using the mongodb() driver" section of the syslog-ng OSE Administrator Guide:</div><div><a href="https://www.balabit.com/sites/default/files/documents/syslog-ng-ose-latest-guides/en/syslog-ng-ose-guide-admin/html-single/index.html#configuring-destinations-mongodb">https://www.balabit.com/sites/default/files/documents/syslog-ng-ose-latest-guides/en/syslog-ng-ose-guide-admin/html-single/index.html#configuring-destinations-mongodb</a><br></div><div><br></div><div><a href="https://asylum.madhouse-project.org/blog/2012/04/26/mongodb-howto/">https://asylum.madhouse-project.org/blog/2012/04/26/mongodb-howto/</a></div><div><br></div><div>Regards,</div><div>László Várady<br><div class="gmail_extra"><br><div class="gmail_quote">On Wed, Apr 20, 2016 at 1:29 PM, Ivan Adji - Krstev <span dir="ltr"><<a href="mailto:akivanradix@gmail.com" target="_blank">akivanradix@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex">
<div bgcolor="#FFFFFF" text="#000000">
<font face="Helvetica, Arial, sans-serif">Hi all, <br>
I'm trying to change the DB from InooDB to MongoDB, and i have
install the MongoDB but i can't configure/create the database and
tables on it. Can some one provide with simple tutorial or the
best way to create and configure the MongoDB database and tables
so that can be used by syslog-ng ?<br>
<br>
Kind regards<span class=""><font color="#888888"><br>
Ivan<br>
</font></span></font>
</div>
<br>______________________________________________________________________________<br>
Member info: <a href="https://lists.balabit.hu/mailman/listinfo/syslog-ng" rel="noreferrer" target="_blank">https://lists.balabit.hu/mailman/listinfo/syslog-ng</a><br>
Documentation: <a href="http://www.balabit.com/support/documentation/?product=syslog-ng" rel="noreferrer" target="_blank">http://www.balabit.com/support/documentation/?product=syslog-ng</a><br>
FAQ: <a href="http://www.balabit.com/wiki/syslog-ng-faq" rel="noreferrer" target="_blank">http://www.balabit.com/wiki/syslog-ng-faq</a><br>
<br>
<br></blockquote></div><br></div></div></div></div>