Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- input {
- jdbc {
- jdbc_connection_string => ...
- jdbc_user => ...
- jdbc_validate_connection => ...
- jdbc_password => ...
- jdbc_driver_library => ...
- jdbc_driver_class => ...
- jdbc_paging_enabled => ...
- jdbc_page_size => "1000"
- statement => "SELECT name, age, bio FROM person"
- }
- }
- output {
- csv{
- fields => ["name", "age", "bio"]
- path => "output.csv"
- }
- }
- filter{
- mutate
- {
- gsub => ["bio", "n", "LINE_BREAK"]
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement