If a managed Windows or Mac endpoint encounters issues with the Malwarebytes Endpoint Agent, you may need to collect diagnostic logs for investigation, or to submit them to our Support team for troubleshooting the issue. This article explains how to generate diagnostic logs via the Malwarebytes Nebula console, and how to collect them from an endpoint machine.
Generate Diagnostic Logs from the Nebula console
- Log in to the Malwarebytes Nebula platform.
- Go to Endpoints.
- Check the box for one or more endpoints.
- Click Actions > Generate Diagnostic Logs. This task may take a few minutes to complete. You can check the task status on the Tasks page.
- When the task is successful, click the name of the endpoint(s) to view the Endpoint Details page.
- At the top-right corner of the Endpoint Details page, click the Diagnostic Logs Available icon
to download the Diagnostic Logs zip folder to your local machine.
Collecting logs on Windows operating systems
Logs for Windows operating systems can be generated either from the task bar icon or from the command line.
Generate logs from task bar icon
- Reproduce the issue so the Malwarebytes Endpoint Agent can run and generate new data.
- Locate the Malwarebytes icon in the task bar tray.
- Hover over the icon, hold CTRL and right-click. Select Generate Diagnostic Logs.
- After the commands above are executed, the folder MBDiagnostics is created and saved to the endpoint's desktop.
Send this folder to Malwarebytes Support.
Generate logs from command line
- Reproduce the issue so the Malwarebytes Endpoint Agent can run and generate new data.
- Open Command Prompt as an administrator.
- Enter the commands:
- cd C:\Program Files\Malwarebytes Endpoint Agent
- MBCloudEA.exe -diag
- After the commands above are executed, the folder MBDiagnostics is created and saved to the endpoint's desktop.
Send the folder to Malwarebytes Support.
Collecting logs on Mac operating systems
Mac Endpoint Agents do not support command line log generation. Follow the steps below to generate logs from the Malwarebytes menu bar icon. You can also manually locate the log files.
Generate logs from the Malwarebytes menu bar icon
- Reproduce the issue so the Malwarebytes Endpoint Agent can run and generate new data.
- Locate the Malwarebytes icon in the menu bar.
- Right-click on the Malwarebytes icon (or hold the Control key and left-click) and select Generate Diagnostic Logs.
- After the above commands execute, the file Diagnostic_info-?.zip is created and saved to:
/Library/Application Support/Malwarebytes/Malwarebytes Endpoint Agent/Diagnostics - Attach this folder to your email reply to Malwarebytes Support.
Manually locate log files
- Press Shift-Command-G to open the Go to Folder window.
-
In the Go to Folder window, enter the following file path:
/Library/Application Support/Malwarebytes/Malwarebytes Endpoint Agent
If this computer has Malwarebytes Endpoint Agent v1.1 or older installed, enter this path:
/Library/Application Support/Malwarebytes/NebulaAgent -
Press Return.
- Save the Logs folder to your desktop.
- Double-click the Data folder.
- Save the settings.dat file to your desktop.
- If you are troubleshooting installation issues with Malwarebytes Anti-Malware for Mac, press Shift-Command-G, then enter the following file path:
/var/log/install.log - Save the install.log file to your desktop.
-
Press Shift-Command-G and enter this file path:
/var/log/com.malwarebytes.EndpointAgent.log - Save the com.malwarebytes.EndpointAgent.log file to your desktop.
-
Send the logs you saved to your desktop to Malwarebytes Support as an email attachment.