Overview of Trace Logs
Trace Logs store logs of errors and warnings from the event log or syslog that are output by an instance of Agent.
Exit codes of the curl command are output as the value of EXECSTS in the event log and syslog as follows:
- ... ,E400002, ... ,"Failed to activate the Agent. EXECSTS=%d HTTPSTS=%d REQUEST=%s RESPONSE=%s"
- ... ,E400004, ... ,"Failed to get the profile. EXECSTS=%d HTTPSTS=%d RESPONSE=%s"
- ... ,E400010, ... ,"Failed to get the agent version. EXECSTS=%d HTTPSTS=%d RESPONSE=%s"
- ... ,E400019, ... ,"Failed to upload data. EXECSTS=%d HTTPSTS=%d RESPONSE=%s"
- ... ,E400028, ... ,"Failed to download update module. EXECSTS=%d HTTPSTS=%d"
For details about the meanings of the exit codes of the curl command, use the following URL:
https://curl.haxx.se/libcurl/c/libcurl-errors.html
Field name | Description |
---|---|
Log Level | The level of the log (Warning or Error) is displayed. |
Agent ID | The ID of the Agent instance from which the log was output is displayed. |
Agent Name | The name of the Agent instance from which the log was output is displayed |
Profile ID | The ID of the profile that is set for the Agent instance from which the log was output is displayed. |
Profile Name | The name of the profile that is set for the Agent instance from which the log was output is displayed. |
Unit ID | The ID of the unit that is set for the Agent instance from which the log was output is displayed. |
Unit Name | The name of the unit that is set for the Agent instance from which the log was output is displayed. |
Host | The name of the host from which the log was output is displayed. |
Date and Time of Occurrence | The date and time when the event occurred is displayed. |
PID | The process ID of the Agent instance that output the log is displayed. |
OS User Name | The name of the OS user who started Agent is displayed. |
OS End Code | The OS end code related to the event that occurred is displayed. |
Message | The message related to the event that occurred is displayed. |
Trace Log ID | The ID of the trace log that is connected to the message is displayed. |
Field name | Description | |
---|---|---|
Agent | The name and ID of the Agent instance from which the log was output is displayed | |
Unit | The name of the unit that is set for the Agent instance from which the log was output is displayed. | |
Profile | The name of the profile that is set for the Agent instance from which the log was output is displayed. | |
Message | The message related to the event that occurred is displayed. | |
Details | Log Level | The level of the log (Warning or Error) is displayed. |
Date and Time of Occurrence | The date and time when the event occurred is displayed. | |
OS User Name | The name of the OS user who started Agent is displayed. | |
OS End Code | The OS end code related to the event that occurred is displayed. | |
PID | The process ID of the Agent instance from which the log was output is displayed. | |
Trace Log ID | The ID of the trace log that is connected to the message is displayed. |