@@ -127,14 +127,14 @@ Here is the list:
127127
128128|==========================================================
129129|sql_last_value | The value used to calculate which rows to query. Before any query is run,
130- this is set to Thursday, 1 January 1970, or 0 if `use_column_value` is true and
130+ this is set to Thursday, 1 January 1970, 0, or 00000000-0000-0000-0000-000000000000 if `use_column_value` is true and
131131`tracking_column` is set. It is updated accordingly after subsequent queries are run.
132132|offset, size| Values used with manual paging mode to explicitly implement the paging.
133133Supported only if <<plugins-{type}s-{plugin}-jdbc_paging_enabled>> is enabled and
134134<<plugins-{type}s-{plugin}-jdbc_paging_mode>> has the `explicit` value.
135135|==========================================================
136136
137- Example :
137+ Examples :
138138[source,ruby]
139139---------------------------------------------------------------------------------------------------
140140input {
@@ -240,7 +240,7 @@ This plugin supports the following configuration options plus the <<plugins-{typ
240240| <<plugins-{type}s-{plugin}-statement_filepath>> |a valid filesystem path|No
241241| <<plugins-{type}s-{plugin}-target>> | {logstash-ref}/field-references-deepdive.html[field reference] | No
242242| <<plugins-{type}s-{plugin}-tracking_column>> |<<string,string>>|No
243- | <<plugins-{type}s-{plugin}-tracking_column_type>> |<<string,string>>, one of `["numeric", "timestamp"]`|No
243+ | <<plugins-{type}s-{plugin}-tracking_column_type>> |<<string,string>>, one of `["numeric", "timestamp", "uuid" ]`|No
244244| <<plugins-{type}s-{plugin}-use_column_value>> |<<boolean,boolean>>|No
245245| <<plugins-{type}s-{plugin}-use_prepared_statements>> |<<boolean,boolean>>|No
246246|=======================================================================
@@ -645,10 +645,24 @@ The column whose value is to be tracked if `use_column_value` is set to `true`
645645[id="plugins-{type}s-{plugin}-tracking_column_type"]
646646===== `tracking_column_type`
647647
648- * Value can be any of: `numeric`, `timestamp`
648+ * Value can be any of: `numeric`, `timestamp`, `uuid`
649649 * Default value is `"numeric"`
650650
651- Type of tracking column. Currently only "numeric" and "timestamp"
651+ Type of tracking column. Currently only "numeric", "timestamp" and "uuid"
652+
653+ NOTE: Example of uuid type usage in PostgreSQL.
654+ [source,ruby]
655+ ---------------------------------------------------------------------------------------------------
656+ input {
657+ jdbc {
658+ statement => "SELECT id, mycolumn1, mycolumn2 FROM my_table WHERE id > :sql_last_value::uuid"
659+ use_column_value => true
660+ tracking_column => "id"
661+ tracking_column_type => "uuid"
662+ # ... other configuration bits
663+ }
664+ }
665+ ---------------------------------------------------------------------------------------------------
652666
653667[id="plugins-{type}s-{plugin}-use_column_value"]
654668===== `use_column_value`
0 commit comments