forked from newrelic/nri-mysql
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathmysql-log-win.yml.example
More file actions
20 lines (20 loc) · 942 Bytes
/
mysql-log-win.yml.example
File metadata and controls
20 lines (20 loc) · 942 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
###############################################################################
# This sample file will forward mysql error logs to NR once #
# it is renamed to mysql-log-win.yml #
# On Windows systems a restart is needed after it is renamed #
# Source: mysql error log file #
# Available customization parameters: attributes, max_line_kb, pattern #
###############################################################################
logs:
- name: "mysqlerrorlog"
file: C:\ProgramData\MySQL\*\Data\mysql\*.err
attributes:
logtype: mysql-error
- name: "mysqlslowlog"
file: C:\ProgramData\MySQL\*\Data\mysql\mysql_slow.log
attributes:
logtype: mysql-slow
- name: "mysqlslowlog"
file: C:\ProgramData\MySQL\*\Data\mysql\mysql_general.log
attributes:
logtype: mysql-general