06-15-2018 08:19 AM - edited 02-21-2020 07:53 AM
Looking for a CLI command to see last 20 logging events in a FPR-2110.
Solved! Go to Solution.
06-16-2018 07:59 AM
The "pigtail" utility may help. Switch to expert mode from the cli and sudo su to run it.
pigtail v1.03 (05/13/2015)
--------------------------------------------------------------------------------------------------------------
NAME
pigtail -- continuously display FireSIGHT management console (and device) logs as the files are written
SYNOPSIS
pigtail [-d] [-o] [-h] [-raw] [-n number] [-outfile file] [-history start time end time] [-break regex] [-trigger regex command] [filetype ...]
DESCRIPTION
.-~~~~-. |\\_ pigtail parses, reformats, and displays the contents of several log files
@_/ / oo\_ to the screen, updating the display whenever additional lines are added to any of
| \ \ _(") the log files. pigtail also colorizes the output so it is easier to discern between
\ /-| ||'--' lines from different log files. By default it normalizes timestamps, removes some
\_\ \_\\ extraneous information, and reformats certain lines to improve readability.
These are the keywords and associated log files that pigtail supports:
ACTQ /var/log/action_queue.log
CPAC /var/log/idhttpsd/access_log
CPER /var/log/idhttpsd/error_log
CPLG /var/log/captive_portal.log
DCSM /var/log/mojo.log
DEPL /var/log/sf/policy_deployment.log
HTTP /var/log/httpd/httpsd_error_log
MOJO /var/log/mojo/mojo.log
MSGS /var/log/messages
NGFW /var/log/ngfwManager.log
NGUI /var/log/cisco/ngfw-onbox.log
SERR /var/log/process_stderr.log
SOUT /var/log/process_stdout.log
SSEC /var/log/connector/connector.log
SYDB /opt/CSCOpx/MDC/log/operation/sydb.out
TAPP /var/log/SSE/sse_telemetry.log
TCAT /opt/CSCOpx/MDC/tomcat/logs/stdout.logs
TCLG /opt/CSCOpx/MDC/log/operation/sftunnel-javaclient.log
USMS /opt/CSCOpx/MDC/log/operation/usmsharedsvcs.log
VMSB /opt/CSCOpx/MDC/log/operation/vmsbesvcs.log
VMSS /opt/CSCOpx/MDC/log/operation/vmssharedsvcs.log
06-15-2018 12:51 PM
06-15-2018 02:18 PM
Thanks, i tried the tail command the other day no luck, i think i found out what's going on with my logging, looks like some kind of debugging left on.....now trying to figure which logging it is.
Thanks.
06-16-2018 06:11 AM
06-16-2018 07:59 AM
The "pigtail" utility may help. Switch to expert mode from the cli and sudo su to run it.
pigtail v1.03 (05/13/2015)
--------------------------------------------------------------------------------------------------------------
NAME
pigtail -- continuously display FireSIGHT management console (and device) logs as the files are written
SYNOPSIS
pigtail [-d] [-o] [-h] [-raw] [-n number] [-outfile file] [-history start time end time] [-break regex] [-trigger regex command] [filetype ...]
DESCRIPTION
.-~~~~-. |\\_ pigtail parses, reformats, and displays the contents of several log files
@_/ / oo\_ to the screen, updating the display whenever additional lines are added to any of
| \ \ _(") the log files. pigtail also colorizes the output so it is easier to discern between
\ /-| ||'--' lines from different log files. By default it normalizes timestamps, removes some
\_\ \_\\ extraneous information, and reformats certain lines to improve readability.
These are the keywords and associated log files that pigtail supports:
ACTQ /var/log/action_queue.log
CPAC /var/log/idhttpsd/access_log
CPER /var/log/idhttpsd/error_log
CPLG /var/log/captive_portal.log
DCSM /var/log/mojo.log
DEPL /var/log/sf/policy_deployment.log
HTTP /var/log/httpd/httpsd_error_log
MOJO /var/log/mojo/mojo.log
MSGS /var/log/messages
NGFW /var/log/ngfwManager.log
NGUI /var/log/cisco/ngfw-onbox.log
SERR /var/log/process_stderr.log
SOUT /var/log/process_stdout.log
SSEC /var/log/connector/connector.log
SYDB /opt/CSCOpx/MDC/log/operation/sydb.out
TAPP /var/log/SSE/sse_telemetry.log
TCAT /opt/CSCOpx/MDC/tomcat/logs/stdout.logs
TCLG /opt/CSCOpx/MDC/log/operation/sftunnel-javaclient.log
USMS /opt/CSCOpx/MDC/log/operation/usmsharedsvcs.log
VMSB /opt/CSCOpx/MDC/log/operation/vmsbesvcs.log
VMSS /opt/CSCOpx/MDC/log/operation/vmssharedsvcs.log
Discover and save your favorite ideas. Come back to expert answers, step-by-step guides, recent topics, and more.
New here? Get started with these tips. How to use Community New member guide