JDBC input...how to capture query duration in metadata


After the Logstash JDBC Input executes a query it writes out the duration seconds in the log file with the executed statement. Does anyone know where I can capture that value in the code and place it in a metadata field? I have tried to reverse engineer where it might be coming from but just cannot seem to pinpoint the source.

Thanks for the help!

(system) #2

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