Quantcast
Channel: All SRX Services Gateway posts
Viewing all articles
Browse latest Browse all 17645

Is it possible to send syslog files content to some server/pc?

$
0
0

I want to send the content from some syslog files that I have already created to my PC for example. The logs I want to send are 2 only, one of them shows all network traffic, and the other one shows web filter logs:

 

file Policy_Session {
user info;
match RT_FLOW;
archive size 5m world-readable;
structured-data;
}
file web-filtering {
user warning;
match WEBFILTER_URL_BLOCKED;
archive size 2m world-readable;
structured-data;
}

 

 

At the beginning, I saw that there is a way using "set system syslog host..." commands, but when I use this way I can only use one "match" per host. For example if I want to send network traffic logs to my PC 192.168.0.100, configuration would be like this:

 

host 192.168.0.100 {
any any;

match RT_FLOW
}

 

But if I want to send both kind of logs (web filtering and network traffic) I can only specify one match, SRX don't allow to have cofiguration as I want:

 

host 192.168.0.100 {
any any;

match RT_FLOW

match WEBFILTER_URL_BLOCKED
}

 

 

So, I thought that maybe there is a way to send the files I already have created, but I haven't found the way to do it...


Viewing all articles
Browse latest Browse all 17645

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>