MySQL-General Log Collector (app-discovery-mysql-generallog)
This collector collects the host and port information of clients based on the general log of a MySQL database. For details about the configuration parameters, see Table 1.
|
Parameter |
Mandatory |
Configuration |
|---|---|---|
|
output_path |
No |
Enter the storage path of the collection result file (app-discovery-mysql-generallog-xxx.csv). If this parameter is left blank, the storage path defaults to <collector-installation-path>\output\file. Example: C:\Edge\tools\plugins\collectors\python\windows\mgc-app-discovery-collectors-windows\app-discovery-mysql-generallog\output\file\app-discovery-mysql-generallog-xxx.csv |
|
exclude_ip |
No |
Enter the IP addresses of the clients whose data does not need to be collected. Use commas (,) to separate multiple IP addresses. Example: 127.0.0.1,192.168.1.1 |
|
import |
Yes |
Enter the path of the general log, for example, C:\data\logs. To enable MySQL general log, perform the following steps:
|
Feedback
Was this page helpful?
Provide feedbackThank you very much for your feedback. We will continue working to improve the documentation.