Updated at: 2022-12-09 03:49:50
Command Execution Result Aggregation is for configuring log aggregation of command execution results of network device and operating system, and to obtain data through regular login through SSH or TELNET, the specific operations are as follows:
1. Click Remote Aggregation > New to enter the Select Source page, and click Command Execution Result to make configuration, as follows: 
Field Name   Field Description Restrictive Condition
* Host The domain name or IP address of aggregation target host -
* Protocol The remote login protocol to connect to the host: SSH (default), TELNET -
* Port The transmission port of the target host 0-65535
Username The authentication information for login to target host -
* Password The authentication information for login to target host -
Model Switch It is to set whether to enable TELNET operation model switching, which is for the switching between different permission modes of Telnet through commands. After being enabled, it is necessary to set mode switching command and password verification. Only required for the protocol as TELNET
* Command The preset commands to be executed by the target host, such as free -h, display current-configuration Multiple ones can be added
* Execute Plan The execution plan of the target host to execute the command, including: Frequency, Time, and Cron: 
• Frequency: The preset command is executed at a fixed frequency, and executed once every 1 minute by default;
• Time: The preset command is executed at a fixed time every day, every week, and every month, and executed at 0: 00 every day by default;
• Cron: The frequency of command execution is set in Cron expression, such as execute once every 5 minutes, corresponding to Cron expression: */5 * * * *.
Select 1 from 3 to execute
Log Tag The tag identification of database log aggregation. Click Enter or comma to generate tag. -
2. After successful detection, click Next to Finish, where the following steps can be performed: 
• Click Start Search to jump to the Search, and automatically search for the aggregated log information of command execution result;
• Click View List to jump to the Remote Aggregation list to view the status of aggregation tasks, etc.;
• Click Add More Data to Select Source again and continue to add and configure new remote aggregation tasks.