Created
July 27, 2015 05:03
-
-
Save frsyuki/4b6a856bd7e3ad508b10 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
variables: # declare variables in a config file | |
myval: 1 | |
plugin_variables: # run an input plugin, and use tha last (or first) row as variables | |
type: postgresql | |
query: select max(id) as max_id from access | |
database: production | |
host: pg_analyze | |
in: | |
type: mysql | |
query: select id, host, ip from access_source where ${max_id} < id | |
database: production | |
host: my_tran | |
out: | |
type: postgresql | |
table: access | |
database: production | |
host: pg_analyze |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment