Agent Logs
The agent.log file is located in your Rapid7 Agent (Insight Agent) installation directory. The following directories are default installation locations by operating system:
- Agent Logs
- Enable enhanced logging
- Agent service is present, but won’t start
- Inconsistent assessment results on virtual assets
Windows
C:\Program Files\Rapid7\Insight Agent\components\insight_agent\commonMac and Linux
/opt/rapid7/ir_agent/components/insight_agent/commonEnable enhanced logging
Agent logs can be enhanced for debugging purposes if necessary. Make the following changes to enable enhanced logging:
- Browse to and open the
config.jsonfile in your agent installation directory. - Find and replace all instances of
INFOwithDEBUG. - Save and close the file.
- Restart the Rapid7 Agent (Insight Agent) service.
Provide Support with your enhanced agent.log file for further review.