Cyberark Shortcuts For Common Commands
Cyberark Shortcuts For Common Commands
Cyberark Shortcuts For Common Commands
The shortcuts.sh utility allows easy use of PTA common commands. The format is:
shortcuts.sh [<type>]
Ty
Command Description
pe
1 tail -f Output all errors in the last part of the main PTA log file, follow
/opt/tomcat/logs/diamond.log the file and output any errors as the file grows
| grep "ERROR"
3 tail -f Output all listener metrics in the last part of the main PTA log
/opt/tomcat/logs/diamond.log file, follow the file and output any listener metrics as the file
| grep "metrics-PTA-listener" grows
Use this:
■ To verify incoming traffic from the sensors (such as Vault, Network Sensor, SIE
■To verify the creation of audits per operation (such as Vault retrieve password,
logon, Windows logon, Unix logon, Kerberos traffic)
■To verify that the syslogs from the various SIEMs (such as ArcSight, QRadar, Sp
and so on) are successfully accepted in PTA
4 cat Output all listener metrics in the main PTA log file
/opt/tomcat/logs/diamond.log
Use this:
| grep "metrics-PTA-listener" |
less ■ To verify incoming traffic from the sensors (such as Vault, Network Sensor, SIE
■To verify the creation of audits per operation (such as Vault retrieve password,
logon, Windows logon, Unix logon, Kerberos traffic)
■To verify that the syslogs from the various SIEMs (such as ArcSight, QRadar, Sp
and so on) are successfully accepted in PTA
5 tail -f Output all sampler metrics in the last part of the main PTA log
/opt/tomcat/logs/diamond.log file, follow the file and output any sampler metrics as the file
| grep "metrics-PTA-sampler" grows
Use this:
■ To verify incident creation and that the outbound mail or syslogs were sent
■To verify mitigation results, such as rotate password upon suspected credentia
6 cat Output all sampler metrics in the main PTA log file
/opt/tomcat/logs/diamond.log
Ty
Command Description
pe
■To verify mitigation results, such as rotate password upon suspected credentia
7 tail -f Output all scheduled task metrics in the last part of the main
/opt/tomcat/logs/diamond.log PTA log file, follow the file and output any scheduled task
| grep "metrics-PTA- metrics as the file grows
Background"
Use this to verify the results of scheduled tasks, such as
Active Directory, Vault accounts and users, and so on
8 cat Output all scheduled task metrics in the main PTA log file
/opt/tomcat/logs/diamond.log
Use this to verify the results of scheduled tasks, such as
| grep "metrics-PTA-
Active Directory, Vault accounts and users, and so on
Background" | less
9 tail -f Output all PTA internal services metrics in the last part of the
/opt/tomcat/logs/diamond.log main PTA log file, follow the file and output any PTA internal
| grep "metrics-PTA-services" services metrics as the file grows
10 cat Output all PTA internal services metrics in the main PTA log
/opt/tomcat/logs/diamond.log file
| grep "metrics-PTA-services" |
less
11 tail -f Output all metrics in the last part of the main PTA log file,
/opt/tomcat/logs/diamond.log follow the file and output any metrics as the file grows
| grep "metrics-PTA"
13 tail -f Output all incoming syslogs in the last part of the main PTA
/opt/tomcat/logs/diamond.log log file, follow the file and output any incoming syslogs as the
| grep "Incoming syslog" file grows
Use this:
■ To see the syslog String received by PTA from the different inbound sources
14 cat Output all incoming syslogs in the main PTA log file
/opt/tomcat/logs/diamond.log
This command requires the Listener component to be on the
Ty
Command Description
pe
Use this:
■ To see the syslog String received by PTA from the different inbound sources
17 tail -f Output all dcaserver metrics in the last part of the main PTA
/opt/tomcat/logs/diamond.log log file, follow the file and output any dcaserver metrics as the
| grep "metrics-PTA- file grows.
dcaserver"
Use this:
■To troubleshoot connection issues between the PTA Windows Agent and the P
Server
18 cat Output all dcaserver metrics in the main PTA log file
/opt/tomcat/logs/diamond.log
Use this:
| grep "metrics-PTA-
dcaserver" | less ■ To troubleshoot configuration issues with the PTA Windows Agent
■To troubleshoot connection issues between the PTA Windows Agent and the P
Server