Skip to main content
Version: 1.x

MySQL

Input plugin : Mysql​

Description​

Read data from MySQL.

Options​

nametyperequireddefault value
passwordstringyes-
tablestringyes-
table_namestringyes-
urlstringyes-
userstringyes-
password [string]​

Password.

table [string]​

Table name.

table_name [string]​

Registered table name of input data.

url [string]​

The url of JDBC. For example: jdbc:mysql://localhost:3306/info

user [string]​

Username.

Example​

mysql {
url = "jdbc:mysql://localhost:3306/info"
table = "access"
table_name = "access_log"
user = "username"
password = "password"
}

Read data from MySQL.