Sunday, August 1, 2021

Show Syslog messages from CLI in stream mode

Hello,

Once configuring Stream mode to a syslog server as shown below.

How to see the syslog messages sent to the syslog server from CLI.

Is there a way to check it via J-web as well ?

root@SRX320-Branch# show security

log {

cache;

mode stream;

format sd-syslog;

report;

source-address 172.17.17.1;

stream RSA-Netwitness {

category all;

host {

192.168.10.104;

}

}

}

policies {

from-zone trust to-zone trust {

policy trust-to-trust {

match {

source-address any;

destination-address any;

application any;

}

then {

permit;

log {

session-init;

session-close;

}

}

}

}

from-zone trust to-zone untrust {

policy trust-to-untrust {

match {

source-address any;

destination-address any;

application any;

}

then {

permit;

log {

session-init;

session-close;

}

}

}

}

}



No comments:

Post a Comment