Elastic search Logstash How to configure UTC Time according to orcal time stamp -


i'am working elastic search logstash ,catching updates orcal data base elastic search. problem ==> how configure sql_last_start utc time parameter orcal time stamp.

this configration ====>

input{ jdbc {      .      .      . statement => "select * cm.elsayed 'timestamp' > ':sql_last_start'" } } filter { date {     match => [ "timestamp", "yyyy-mm-dd hh:mm:ss.ssssssssssssss z" ]     target => "timestamp"     timezone => "utc"     } } 

i think may jdbc_default_timezone input

add jdbc_default_timezone => "utc" input


Comments

Popular posts from this blog

Spring Boot + JPA + Hibernate: Unable to locate persister -

go - Golang: panic: runtime error: invalid memory address or nil pointer dereference using bufio.Scanner -

c - double free or corruption (fasttop) -