Logstash-input-jdbc 如何对 statement 设置时间变量


(Moln) #1

怎么设置让 input-jdbc 支持时间变量呢?

input {
  jdbc {
    #...
    statement => "select * from table_name_%{+yyyyMM}"
    #...
  }
}

(system) #2

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.