Skip to content
Toggle navigation
Projects
Groups
Snippets
Help
傅伟强-富德
/
test
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Issues
0
Merge Requests
0
Pipelines
Wiki
Snippets
Settings
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Commit f6c239a4
authored
Apr 12, 2019
by
傅伟强-富德
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Upload new file
1 parent
c1bc7933
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
43 additions
and
0 deletions
policyproinfo.conf
policyproinfo.conf
0 → 100644
View file @
f6c239a
input
{
stdin
{
}
jdbc
{
jdbc_connection_string
=>
"jdbc:oracle:thin:@//192.168.25.92:1521/esdb01"
jdbc_user
=>
"graopr"
jdbc_password
=>
"life12345"
jdbc_driver_library
=>
"/data/funde/logstash-6.1.1/oraclesyc/ojdbc14-10.2.0.4.0.jar"
jdbc_driver_class
=>
"Java::oracle.jdbc.driver.OracleDriver"
jdbc_paging_enabled
=>
"true"
jdbc_page_size
=>
"1000000"
last_run_metadata_path
=>
"/data/funde/logstash-6.1.1/bin/synclogs/policyinfo.txt"
statement_filepath
=>
"/data/funde/logstash-6.1.1/bin/policyproinfo.sql"
schedule
=>
"* * * * * *"
jdbc_default_timezone
=>
"Asia/Shanghai"
}
}
filter
{
json
{
source
=>
"message"
remove_field
=> [
"host"
,
"@timestamp"
,
"httpversion"
,
"@version"
]
}
date
{
match
=> [
"timestamp"
,
"yyyy-MM-dd-HH:mm:ss"
]
locale
=>
"cn"
}
}
output
{
elasticsearch
{
hosts
=> [
"http://192.168.25.81:9200"
,
"http://192.168.25.89:9200"
,
"http://192.168.25.80:9200"
,
"http://192.168.25.87:9200"
]
index
=>
"policyproinfo"
document_id
=>
"%{po_policy_no}+%{pp_prod_seq}"
}
stdout
{}
}
Write
Preview
Markdown
is supported
Attach a file
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 post a comment