[prev in list] [next in list] [prev in thread] [next in thread] 

List:       syslog-ng
Subject:    Re: [syslog-ng] Syslog-ng with MongoDB authentication
From:       Fekete, RĂ³bert <robert.fekete () balabit ! com>
Date:       2016-05-13 9:35:05
Message-ID: CAAhEgprPWaDrA8L_6oxH-i+DC0te7DiD-d+vJYC1zMUm+AJp2g () mail ! gmail ! com
[Download RAW message or body]

[Attachment #2 (multipart/alternative)]


Hi,

Use the username() and password() options.

https://www.balabit.com/sites/default/files/documents/syslog-ng-ose-latest-guides/en/syslog-ng-ose-guide-admin/html/reference-destination-mongodb.html


Regards,

Robert

On Fri, May 13, 2016 at 11:15 AM, Ivan Adji - Krstev <akivanradix@gmail.com>
wrote:

> Hi all,
> I have configure MongoDB with Username and Password, but can't find how to
> configure destination on Syslog-ng using MongoDB with Username and Password.
> 
> For now i have just this:
> 
> destination d_mongodb {
> mongodb(
> servers("localhost:27017")
> database("syslog")
> collection("messages")
> value-pairs(
> scope("selected-macros" "nv-pairs" "sdata")
> )
> );
> };
> 
> But i should add some username and passwords somewhere and don't know how.
> Any hints on this ?
> 
> Kind regards
> Ivan
> 
> 
> ______________________________________________________________________________
> Member info: https://lists.balabit.hu/mailman/listinfo/syslog-ng
> Documentation:
> http://www.balabit.com/support/documentation/?product=syslog-ng
> FAQ: http://www.balabit.com/wiki/syslog-ng-faq
> 
> 
> 


[Attachment #5 (text/html)]

<div dir="ltr">Hi,  <div><br></div><div>Use the username() and password() \
options.</div><div><br></div><div><a \
href="https://www.balabit.com/sites/default/files/documents/syslog-ng-ose-latest-guide \
s/en/syslog-ng-ose-guide-admin/html/reference-destination-mongodb.html">https://www.ba \
labit.com/sites/default/files/documents/syslog-ng-ose-latest-guides/en/syslog-ng-ose-g \
uide-admin/html/reference-destination-mongodb.html</a><br></div><div><br></div><div>Regards, \
</div><div><br></div><div>Robert</div></div><div class="gmail_extra"><br><div \
class="gmail_quote">On Fri, May 13, 2016 at 11:15 AM, Ivan Adji - Krstev <span \
dir="ltr">&lt;<a href="mailto:akivanradix@gmail.com" \
target="_blank">akivanradix@gmail.com</a>&gt;</span> wrote:<br><blockquote \
class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc \
solid;padding-left:1ex">  

    
  
  <div bgcolor="#FFFFFF" text="#000000">
    <font face="Helvetica, Arial, sans-serif">Hi all, <br>
      I have configure MongoDB with Username and Password, but can&#39;t
      find how to configure destination on Syslog-ng using MongoDB with
      Username and Password.<br>
      <br>
      For now i have just this:<br>
      <br>
      destination d_mongodb {<br>
                     mongodb(<br>
                     servers(&quot;localhost:27017&quot;)<br>
                     database(&quot;syslog&quot;)<br>
                     collection(&quot;messages&quot;)<br>
                     value-pairs(<br>
                     scope(&quot;selected-macros&quot; &quot;nv-pairs&quot; \
&quot;sdata&quot;)<br>  )<br>
                                                     );<br>
                                                     };<br>
      <br>
      But i should add some username and passwords somewhere and don&#39;t
      know how. Any hints on this ?<br>
      <br>
      Kind regards<span class="HOEnZb"><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>



______________________________________________________________________________
Member info: https://lists.balabit.hu/mailman/listinfo/syslog-ng
Documentation: http://www.balabit.com/support/documentation/?product=syslog-ng
FAQ: http://www.balabit.com/wiki/syslog-ng-faq



[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic