rethinkdb / logstash-input-rethinkdb

Other
55 stars 13 forks source link

automatically listen to the table on create #7

Open lucidfrontier45 opened 8 years ago

lucidfrontier45 commented 8 years ago

Suppose we specified a table in config file but it has not been created yet when logstash is started. It would be great that the input-plugin can automatically start listening to that table when it is created later.

That is,

  1. RethinkDB started but table not created
  2. Logstash started. Table specified in config is not found on the RethinkDB
  3. RethinkDB table is created
  4. Logstash finds the specified table in the rethinkdb and start listening to it

Thank you

deontologician commented 8 years ago

This is a good idea. Right now you can do it if you specify watching a database, but you also have to watch all other tables in that database.