<html><body><div style="font-family: arial, helvetica, sans-serif; font-size: style=" font-size:="" 12pt;="" color:="" #000000"=""><div>Hi,<br></div><div><br data-mce-bogus="1"></div><div> I want to drop all log lines having keyword "INTERNET", I tried following scenario:<br data-mce-bogus="1"></div><div><br data-mce-bogus="1"></div><div>scenario-1<br data-mce-bogus="1"></div><div><br data-mce-bogus="1"></div><div>filter f_log { facility(local3); };<br>filter f_nointernet { not message("INTERNET"); };<br><br>log { source(s_sys); filter(f_nointernet); filter(f_log); destination(d_log); };<br><br data-mce-bogus="1"></div><div>scenario-2<br data-mce-bogus="1"></div><div><br data-mce-bogus="1"></div><div>filter f_internet { message("INTERNET"); };<br>filter f_log { facility(local3); and not filter(f_internet); };<br><br>log { source(s_sys); filter(f_log); destination(d_log); };<br></div><div><br data-mce-bogus="1"></div><div>scenario-3<br data-mce-bogus="1"></div><div><br></div><div>filter f_log { facility(local3); };<br>filter f_internet { message("INTERNET"); };<br>filter f_nointernet { not filter(f_internet); };</div><div><br>log { source(s_sys); filter(f_nointernet); filter(f_log); destination(d_log); };<br data-mce-bogus="1"></div><div><br data-mce-bogus="1"></div><div>But none of them is working. </div><div>Please help. <br data-mce-bogus="1"></div><div><br data-mce-bogus="1"></div><div data-marker="__SIG_PRE__"><div>Regards,<br></div><div>Sachchidanand <br><br><br></div></div></div>
<br><html><head></head><body>
<p><a href="https://amritmahotsav.nic.in/" target="_blank"><img style="width: 450px; height: 113px;" src='https://email.gov.in/videos/images/75.jpg'/></a></p>
</body></html>
<br></body></html>