<html><head><style type='text/css'>p { margin: 0; }</style></head><body><div style='font-family: arial,helvetica,sans-serif; font-size: 10pt; color: #000000'><font face="arial, helvetica, sans-serif"><span style="font-size: 10pt;">Hi all,</span></font><div style="color: rgb(0, 0, 0); font-family: arial, helvetica, sans-serif; font-size: 10pt;"><br></div><div><div style="color: rgb(0, 0, 0); font-family: arial, helvetica, sans-serif; font-size: 10pt;">New user, I have a very basic question about the wildcard source function that's been recently added to syslog-ng OSE:</div><div style="color: rgb(0, 0, 0); font-family: arial, helvetica, sans-serif; font-size: 10pt;"><br></div><div style="color: rgb(0, 0, 0); font-family: arial, helvetica, sans-serif; font-size: 10pt;">Suppose I'm getting input from the following:</div><div style="color: rgb(0, 0, 0); font-family: arial, helvetica, sans-serif; font-size: 10pt;"><br></div><div><div><font face="arial, helvetica, sans-serif"><span style="font-size: 13.3333px;">source s_files { wildcard-file(</span></font></div><div><font face="arial, helvetica, sans-serif"><span style="font-size: 13.3333px;"> base-dir("/var/log/")</span></font></div><div><font face="arial, helvetica, sans-serif"><span style="font-size: 13.3333px;"> filename-pattern("*.log")</span></font></div><div><font face="arial, helvetica, sans-serif"><span style="font-size: 13.3333px;"> recursive(no)</span></font></div><div><font face="arial, helvetica, sans-serif"><span style="font-size: 13.3333px;"> follow-freq(1)</span></font></div><div><font face="arial, helvetica, sans-serif"><span style="font-size: 13.3333px;">); };</span></font></div></div><div style="color: rgb(0, 0, 0); font-family: arial, helvetica, sans-serif; font-size: 10pt;"><br></div><div style="color: rgb(0, 0, 0); font-family: arial, helvetica, sans-serif; font-size: 10pt;">And in /var/log I have different *.log files:</div><div style="color: rgb(0, 0, 0); font-family: arial, helvetica, sans-serif; font-size: 10pt;"><span style="font-size: 10pt;">- 1.log</span></div><div style="color: rgb(0, 0, 0); font-family: arial, helvetica, sans-serif; font-size: 10pt;"><span style="font-size: 10pt;">- 2.log</span></div><div style="color: rgb(0, 0, 0); font-family: arial, helvetica, sans-serif; font-size: 10pt;"><span style="font-size: 10pt;">- 3.log</span></div><div style="color: rgb(0, 0, 0); font-family: arial, helvetica, sans-serif; font-size: 10pt;"><span style="font-size: 10pt;">...</span></div><div style="color: rgb(0, 0, 0); font-family: arial, helvetica, sans-serif; font-size: 10pt;"><br></div><div style="color: rgb(0, 0, 0); font-family: arial, helvetica, sans-serif; font-size: 10pt;">How can I save the output on my syslog-ng server, so that input from 1.log would arrive in a file named 1.log on my server, input from 2.log in a file named 2.log etc.?</div><div style="color: rgb(0, 0, 0); font-family: arial, helvetica, sans-serif; font-size: 10pt;"><br></div><div style="color: rgb(0, 0, 0); font-family: arial, helvetica, sans-serif; font-size: 10pt;">Thanks and k<span style="font-size: 10pt;">ind regards,</span></div><div style="color: rgb(0, 0, 0); font-family: arial, helvetica, sans-serif; font-size: 10pt;"><div><br></div><div id="5edba414-23ba-4044-b386-ce7560950e55">Wout</div><br></div></div></div></body></html>