Getting PCAP's with Log files running Verbosity Level 5
search cancel

Getting PCAP's with Log files running Verbosity Level 5

book

Article ID: 267933

calendar_today

Updated On:

Products

AppNeta

Issue/Introduction

When investigating issues and working with AppNeta's Engineering team, you may be asked to increase the Verbosity levels to provide more detailed log files.

Environment

Release :

Resolution

These commands can be ran from CLI, and should be executed as sudo:

sudo -i
sudo echo "Verbosity Level: 5" >> /opt/pathview/config/seq.config
systemctl restart pathview-sequencer

You can also pair this command with a packet capture, using the following:

sudo -i
sudo echo "Verbosity Level: 5" >> /opt/pathview/config/seq.config
tcpdump -i eth0 -w /var/log/pathview/PacketCapture-01.pcap & systemctl restart pathview-sequencer; sleep 60; pkill tcpdump

When the log files a pulled from the monitoring point and its time to restore the normal verbosity level, you can remove the seq.config and restart the sequencer.

rm /opt/pathview/config/seq.config & systemctl restart pathview-sequencer

Additional Information

Its important to remember that log files should be pulled as quickly as possible after running, as the logs may roll over with more recent events.  Try and grab the logs within 10 mins of an 'event'.