Commit ab533e2e by 傅伟强-富德

Update policyproinfo.conf

1 parent 8d7d2681
Showing with 7 additions and 7 deletions
...@@ -3,7 +3,7 @@ input { ...@@ -3,7 +3,7 @@ input {
} }
jdbc { jdbc {
jdbc_connection_string => "jdbc:oracle:thin:@//192.168.25.92:1521/esdb01" jdbc_connection_string => "jdbc:oracle:thin:@//192.168.26.92:1521/esdb01"
jdbc_user => "graopr" jdbc_user => "graopr"
jdbc_password => "life12345" jdbc_password => "life12345"
...@@ -12,12 +12,13 @@ input { ...@@ -12,12 +12,13 @@ input {
jdbc_driver_class => "Java::oracle.jdbc.driver.OracleDriver" jdbc_driver_class => "Java::oracle.jdbc.driver.OracleDriver"
jdbc_paging_enabled => "true" jdbc_paging_enabled => "true"
jdbc_page_size => "1000000" jdbc_page_size => "200000"
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" statement_filepath => "/data/funde/logstash-6.1.1/bin/policyproinfo.sql"
last_run_metadata_path => "/data/funde/logstash-6.1.1/oraclesyc/synclogs/policyproinfo.txt"
clean_run => "false"
schedule => "* * * * * *" schedule => "* * * * * *"
jdbc_default_timezone =>"Asia/Shanghai" jdbc_default_timezone =>"Asia/Shanghai"
} }
} }
...@@ -32,12 +33,11 @@ filter { ...@@ -32,12 +33,11 @@ filter {
} }
} }
output { output {
elasticsearch { 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"] hosts => ["http://192.168.26.81:9200","http://192.168.26.89:9200","http://192.168.26.80:9200","http://192.168.26.87:9200"]
index => "policyproinfo"
document_id => "%{po_policy_no}+%{pp_prod_seq}" document_id => "%{po_policy_no}+%{pp_prod_seq}"
index => "policyproinfo"
} }
stdout {} stdout {}
} }
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!