Skip to content

NETWAYS/ansible-logstash-pipeline

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

ansible-logstash-pipeline

Logstash pipeline for processing Ansible logs

CI

Minimalist pipeline to parse Ansible logs on managed hosts

Note, that Ansible uses it's module as part of the process name. So make the condition to route into this pipeline a regex check: [process][name] =~ "ansible".

Inputs and Outputs

If you use files called input.conf and output.conf they will not collide with this rules, even when you want to pull new versions.

Examples

Here's an example for an input.conf

input {
  redis {
    host => "localhost"
    data_type => "list"
    key => "netways-ansible-input"
  }
}

and one for output.conf.

output {
  redis {
    host => "localhost"
    data_type => "list"
    key => "netways-ansible-output"
  }
}

About

A Logstash Pipeline for processing Ansible logs

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 2

  •  
  •