Advertisement
Guest User

Untitled

a guest
Aug 4th, 2016
63
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.54 KB | None | 0 0
  1. SELECT * FROM TABLE(my_stored_function)
  2.  
  3. input {
  4. jdbc {
  5. jdbc_validate_connection => true
  6. jdbc_connection_string => "jdbc:oracle:thin:@mycomp:1522/db1"
  7. ...
  8. statement => "SELECT * FROM TABLE(my_stored_function)"
  9. }
  10. }
  11. output {
  12. stdout { codec => rubydebug }
  13. elasticsearch {
  14. doc_as_upsert => true
  15. action => "update"
  16. index => "contacts"
  17. document_type => "contact"
  18. document_id => "%{id}"
  19. hosts => ["http://localhost:9200"]
  20. }
  21. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement