Solved

SRX240 web filter results by email or.... ?

Posted on 2013-12-08
1
414 Views
Last Modified: 2013-12-13
I'm using an SRX240 for web filtering.  Ideally, I'd like to receive a summary email every 8 hours or so that lists all the blocks that occurred.  (I believe that 8 hours will generate a manageable-sized log - but that's a good question).

So, I guess this means collecting the results in a log somewhere / somehow.
Sending the log out via email.
Repeat and delete the old log.

How might one do this?
0
Comment
Question by:Fred Marshall
1 Comment
 
LVL 32

Accepted Solution

by:
dpk_wal earned 500 total points
ID: 39708782
Logs generated by different daemon have different keywords. For webfiltering we can filter logs on keyword WEBFILTER_ using CLI as below:
set system syslog file webfilter-log match WEBFILTER_ any any

Here we create syslog file named webfilter-log.

Now we can create this file on the SRX itself and then create a shell script which would FTP/SCP file to the designated server [using crontab] and then delete the file from SRX.
Once the file is on FTP/SCP server there can be another script running which would pick and email the file.
OR we can have SRX send logs to a remote syslog server and there you can work on the logs as you need.

Also, have a look at KB: http://kb.juniper.net/KB28213

Thank you.
0

Featured Post

What is SQL Server and how does it work?

The purpose of this paper is to provide you background on SQL Server. It’s your self-study guide for learning fundamentals. It includes both the history of SQL and its technical basics. Concepts and definitions will form the solid foundation of your future DBA expertise.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Transparency shows that a company is the kind of business that it wants people to think it is.
David Varnum recently wrote up his impressions of PRTG, based on a presentation by my colleague Christian at Tech Field Day at VMworld in Barcelona. Thanks David, for your detailed and honest evaluation!
Get a first impression of how PRTG looks and learn how it works.   This video is a short introduction to PRTG, as an initial overview or as a quick start for new PRTG users.
In this tutorial you'll learn about bandwidth monitoring with flows and packet sniffing with our network monitoring solution PRTG Network Monitor (https://www.paessler.com/prtg). If you're interested in additional methods for monitoring bandwidt…

895 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

16 Experts available now in Live!

Get 1:1 Help Now