EPM MacOS Agent - How to gather Agent Logs?

EPM MacOS Agent - How to gather Agent Logs?

91
Created On 11/10/26 10:56 AM - Last Modified 11/10/26 12:56 PM


Question


How can we collect Agent Logs / SupportInfo from the Mac Agent?


Environment


23.3;23.2;23.4;23.5;23.6;23.7;23.8;23.9;23.10;23.11;23.12;24.1;24.2 EPM Mac Agent

Answer


There are 3 methods - 

1. Automated - Recommended
- Click on the Idira taskbar icon (at the top)
- Click Get SupportInfo
- Wait a few moments and a .zip file with the Agent Logs will appear on the Desktop

Note – If the supportinfo is large (500MB+), you can erase the system log file by executing the following command inside terminal app (you need to be administrator to do it):
sudo log erase --all
after that, reproduce the issue and finally collect supportinfo again.


2. Automated via terminal - 2nd option
- Open Terminal
- Type the following command:
sudo CyberArkEPM --supportInfo /tmp/
- This creates the file at /tmp/CyberarkEPMAgentDebugReport_TIMESTAMP.zip.

3. Manual - to collect logs using 2 MacOS commands in Terminal - 3rd option:
sudo log collect --output /tmp/caseXXXlogs.logarchive 
zip -r /tmp/caseXXXlogs.logarchive.zip /tmp/caseXXXlogs.logarchive
 
Note - replace XXX with the Support case number


Additional Information


Details

Q: How can we collect Agent Logs / SupportInfo from the Mac Agent?

A: There are 3 methods - 

1. Automated - Recommended
- Click on the Idira taskbar icon (at the top)
- Click Get SupportInfo
- Wait a few moments and a .zip file with the Agent Logs will appear on the Desktop

2. Automated via terminal - 2nd option
- Open Terminal
- Type the following command: $ sudo /Library/Application\ Support/CyberArk/CyberArkEPM --getsupportinfo /tmp
- This creates the file at /tmp/CyberarkEPMAgentDebugReport_TIMESTAMP.zip.

3. Manual - to collect logs using 2 MacOS commands in Terminal - 3rd option:
sudo log collect --output /tmp/caseXXXlogs.logarchive
zip /tmp/caseXXXlogs.logarchive.zip /tmp/caseXXXlogs.logarchive

Note - replace XXX with the Support case number




Actions
  • Print
  • Copy Link

    https://knowledgebase.paloaltonetworks.com/KCSArticleDetail?id=kA1hj00000011ABCAY&lang=en_US&refURL=http%3A%2F%2Fknowledgebase.paloaltonetworks.com%2FKCSArticleDetail