Hey guys,
I'm trying to set up a log on a policy to write multiple terms under the 'match' category.
For example, say I have the following lines in my configuration.
file policy_session {
user info;
match junos-http;
archive size 1000k world-readable;
structured-data;
}
I want to be able to log any string in the file that matches the terms 'junos-http' and 'policy-to-DMZ'
That way, when I go to look at the log files, it will only show the strings with junos-http and policy-to-DMZ in them.
I'm under the impression (after doing some research) that I can do the following, but I'm not entirely sure it's correct:
file policy_session {
user info;
match 'junos-http.*policy-to-DMZ';
archive size 1000k world-readable;
structured-data;
}
Any insights are grately appreciated.
-Dave