juniper firewall

Hi Experts,

In my environment iam using juniper ssg140 juniper firewall.All the policies are not logged inorder to reduce memory utilization and there is no syslog server also.Hence would like to check wih you if is there any way i can collect from the Command line (CLI) the logs for a entire day ?Is there any specific command to collect the logs from the command line for a specific policy or rule for a whole day?

Regards,
phoenix
phoenix26Asked:
Who is Participating?

[Product update] Infrastructure Analysis Tool is now available with Business Accounts.Learn More

x
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

alienXenoCommented:
policies need to be logged to generate the traffic logs. SSGs would rollover the  traffic logs stored on the firewall itslf at a certain threshold , so a syslog server would be needed for your requirement.

get log traffic would give you the existing logs on the firewall.
0
khdourCommented:
I guess I have to agree with alienXen0 because if you dont set the policy logging switch you wont get any traffic show in the policy, because simply the FW will ignore any logs while the logging is turned off,
but if I may ask you, do you run UTM on your firewall ?
if yes how many policies do you have and want to see their logs ? because from my experience in installing juniper firewalls it will not impact the memory that much, even though the ScreenOS and junos also uses the pre-allocation method ion memory so even if you saw the memory utilization reaches yellow or even sometimes red the firewall will not hang ! and it will stabilize but it is an extreme case like this :) so I will advice you to enable the logs on the policies you want to see their traffic, but dont set the (at session begging ) check box, I hope this will help you, and if you have any questions dont hesitate to ask :)
0

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
Qlemo"Batchelor", Developer and EE Topic AdvisorCommented:
Are you more interested in a "source - target - volume" type log? That can be done with fprofile, with can rollover the details, but still has the summary available.

Description of that feature available here: http://www.experts-exchange.com/A_646-Juniper-ScreenOS-traffic-profiling-with-fprofile.html
0
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Hardware Firewalls

From novice to tech pro — start learning today.