Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- input {
- file {
- type => "logs"
- path => "/app-logs/**/*.log"
- codec => json
- }
- }
- filter {
- mutate {
- add_field => { "app_id" => "ks8"}
- }
- }
- output {
- rabbitmq {
- host => "log.int-onemall.com"
- exchange => ks8
- key => ks8
- exchange_type => fanout
- durable => false
- user => "wondermall"
- password => "sabizore"
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement