Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
C
cloud-esearch
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
hqzhdj
cloud-esearch
Commits
9b53ec54
Commit
9b53ec54
authored
Jun 17, 2021
by
liangkaiping
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Replace mysql-dev.conf
parent
acf4fcee
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
32 additions
and
32 deletions
+32
-32
cloud-esearch-service/src/main/resources/logstash-config/mysql/mysql-dev/mysql-dev.conf
+32
-32
No files found.
cloud-esearch-service/src/main/resources/logstash-config/mysql/mysql-dev/mysql-dev.conf
View file @
9b53ec54
...
...
@@ -7,9 +7,9 @@ input {
type
=>
"course"
# 数据库
jdbc_connection_string
=>
"jdbc:mysql://192.168.1
.30
:3306/cloud_course?tinyInt1isBit=false"
jdbc_user
=>
"
devDB
"
jdbc_password
=>
"
devDB@123
"
jdbc_connection_string
=>
"jdbc:mysql://192.168.1
0.32
:3306/cloud_course?tinyInt1isBit=false"
jdbc_user
=>
"
fulandba
"
jdbc_password
=>
"
Fldba#13!
"
jdbc_driver_library
=>
"./mysql-connector-java-5.1.25.jar"
jdbc_driver_class
=>
"com.mysql.jdbc.Driver"
...
...
@@ -36,9 +36,9 @@ input {
type
=>
"training_project"
# 数据库
jdbc_connection_string
=>
"jdbc:mysql://192.168.1
.30
:3306/cloud_trainning_project?tinyInt1isBit=false"
jdbc_user
=>
"
devDB
"
jdbc_password
=>
"
devDB@123
"
jdbc_connection_string
=>
"jdbc:mysql://192.168.1
0.32
:3306/cloud_trainning_project?tinyInt1isBit=false"
jdbc_user
=>
"
fulandba
"
jdbc_password
=>
"
Fldba#13!
"
jdbc_driver_library
=>
"./mysql-connector-java-5.1.25.jar"
jdbc_driver_class
=>
"com.mysql.jdbc.Driver"
...
...
@@ -65,9 +65,9 @@ input {
type
=>
"assignment"
# 数据库
jdbc_connection_string
=>
"jdbc:mysql://192.168.1
.30
:3306/cloud_trainning_project?tinyInt1isBit=false"
jdbc_user
=>
"
devDB
"
jdbc_password
=>
"
devDB@123
"
jdbc_connection_string
=>
"jdbc:mysql://192.168.1
0.32
:3306/cloud_trainning_project?tinyInt1isBit=false"
jdbc_user
=>
"
fulandba
"
jdbc_password
=>
"
Fldba#13!
"
jdbc_driver_library
=>
"./mysql-connector-java-5.1.25.jar"
jdbc_driver_class
=>
"com.mysql.jdbc.Driver"
...
...
@@ -94,9 +94,9 @@ input {
type
=>
"exam"
# 数据库
jdbc_connection_string
=>
"jdbc:mysql://192.168.1
.30
:3306/cloud_exam?tinyInt1isBit=false"
jdbc_user
=>
"
devDB
"
jdbc_password
=>
"
devDB@123
"
jdbc_connection_string
=>
"jdbc:mysql://192.168.1
0.32
:3306/cloud_exam?tinyInt1isBit=false"
jdbc_user
=>
"
fulandba
"
jdbc_password
=>
"
Fldba#13!
"
jdbc_driver_library
=>
"./mysql-connector-java-5.1.25.jar"
jdbc_driver_class
=>
"com.mysql.jdbc.Driver"
...
...
@@ -123,9 +123,9 @@ input {
type
=>
"research"
# 数据库
jdbc_connection_string
=>
"jdbc:mysql://192.168.1
.30
:3306/cloud_research?tinyInt1isBit=false"
jdbc_user
=>
"
devDB
"
jdbc_password
=>
"
devDB@123
"
jdbc_connection_string
=>
"jdbc:mysql://192.168.1
0.32
:3306/cloud_research?tinyInt1isBit=false"
jdbc_user
=>
"
fulandba
"
jdbc_password
=>
"
Fldba#13!
"
jdbc_driver_library
=>
"./mysql-connector-java-5.1.25.jar"
jdbc_driver_class
=>
"com.mysql.jdbc.Driver"
...
...
@@ -152,9 +152,9 @@ input {
type
=>
"organization"
# 数据库
jdbc_connection_string
=>
"jdbc:mysql://192.168.1
.30
:3306/cloud_system?tinyInt1isBit=false"
jdbc_user
=>
"
devDB
"
jdbc_password
=>
"
devDB@123
"
jdbc_connection_string
=>
"jdbc:mysql://192.168.1
0.32
:3306/cloud_system?tinyInt1isBit=false"
jdbc_user
=>
"
fulandba
"
jdbc_password
=>
"
Fldba#13!
"
jdbc_driver_library
=>
"./mysql-connector-java-5.1.25.jar"
jdbc_driver_class
=>
"com.mysql.jdbc.Driver"
...
...
@@ -181,9 +181,9 @@ input {
type
=>
"account"
# 数据库
jdbc_connection_string
=>
"jdbc:mysql://192.168.1
.30
:3306/cloud_system?tinyInt1isBit=false"
jdbc_user
=>
"
devDB
"
jdbc_password
=>
"
devDB@123
"
jdbc_connection_string
=>
"jdbc:mysql://192.168.1
0.32
:3306/cloud_system?tinyInt1isBit=false"
jdbc_user
=>
"
fulandba
"
jdbc_password
=>
"
Fldba#13!
"
jdbc_driver_library
=>
"./mysql-connector-java-5.1.25.jar"
jdbc_driver_class
=>
"com.mysql.jdbc.Driver"
...
...
@@ -210,9 +210,9 @@ input {
type
=>
"lecturer"
# 数据库
jdbc_connection_string
=>
"jdbc:mysql://192.168.1
.30
:3306/cloud_lecturer?tinyInt1isBit=false"
jdbc_user
=>
"
devDB
"
jdbc_password
=>
"
devDB@123
"
jdbc_connection_string
=>
"jdbc:mysql://192.168.1
0.32
:3306/cloud_lecturer?tinyInt1isBit=false"
jdbc_user
=>
"
fulandba
"
jdbc_password
=>
"
Fldba#13!
"
jdbc_driver_library
=>
"./mysql-connector-java-5.1.25.jar"
jdbc_driver_class
=>
"com.mysql.jdbc.Driver"
...
...
@@ -239,9 +239,9 @@ input {
type
=>
"offline_course"
# 数据库
jdbc_connection_string
=>
"jdbc:mysql://192.168.1
.30
:3306/cloud_course?tinyInt1isBit=false"
jdbc_user
=>
"
devDB
"
jdbc_password
=>
"
devDB@123
"
jdbc_connection_string
=>
"jdbc:mysql://192.168.1
0.32
:3306/cloud_course?tinyInt1isBit=false"
jdbc_user
=>
"
fulandba
"
jdbc_password
=>
"
Fldba#13!
"
jdbc_driver_library
=>
"./mysql-connector-java-5.1.25.jar"
jdbc_driver_class
=>
"com.mysql.jdbc.Driver"
...
...
@@ -268,9 +268,9 @@ input {
type
=>
"student_case"
# 数据库
jdbc_connection_string
=>
"jdbc:mysql://192.168.1
.30
:3306/cloud_case_library?tinyInt1isBit=false"
jdbc_user
=>
"
devDB
"
jdbc_password
=>
"
devDB@123
"
jdbc_connection_string
=>
"jdbc:mysql://192.168.1
0.32
:3306/cloud_case_library?tinyInt1isBit=false"
jdbc_user
=>
"
fulandba
"
jdbc_password
=>
"
Fldba#13!
"
jdbc_driver_library
=>
"./mysql-connector-java-5.1.25.jar"
jdbc_driver_class
=>
"com.mysql.jdbc.Driver"
...
...
@@ -303,7 +303,7 @@ input {
output
{
if
[
type
] ==
"course"
{
elasticsearch
{
hosts
=>
"
localhost
:9200"
hosts
=>
"
elasticsearch7
:9200"
# index名
index
=>
"course"
document_type
=>
"course"
...
...
@@ -313,7 +313,7 @@ output {
template
=>
"./logstash.json"
},
elasticsearch
{
hosts
=>
"elasticsearch
.elasticsearch
:9200"
hosts
=>
"elasticsearch
7
:9200"
# index名
index
=>
"course"
document_type
=>
"course"
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment