diff --git a/docs/plugins/filters/jdbc_static.asciidoc b/docs/plugins/filters/jdbc_static.asciidoc index c1ce739fb..22252d2c6 100644 --- a/docs/plugins/filters/jdbc_static.asciidoc +++ b/docs/plugins/filters/jdbc_static.asciidoc @@ -124,7 +124,7 @@ filter { add_field => { user_lastname => "%{[user][0][lastname]}" } remove_field => ["server", "user"] staging_directory => "/tmp/logstash/jdbc_static/import_data" - loader_schedule => "* */2 * * *" # run loaders every 2 hours + loader_schedule => "* */2 * * *" <8> jdbc_user => "logstash" jdbc_password => "example" jdbc_driver_class => "org.postgresql.Driver" @@ -154,6 +154,7 @@ returns multiple columns, the data is stored as a JSON object within the field. <6> When the user is not found in the database, an event is created using data from the <> `default hash` setting, and the event is tagged with the list set in <>. <7> Takes data from the JSON object and stores it in top-level event fields for easier analysis in Kibana. +<8> Runs loaders every 2 hours. Here's a full example: