Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

Already on GitHub? Sign in to your account

Puppet run reports in logstash #57

Closed
bobtfish opened this Issue Mar 29, 2013 · 15 comments

Comments

Projects
None yet
3 participants

The puppet report plugin:
https://github.com/youdevise/puppet-logstash-reporter

Web viewer for report info:
https://github.com/youdevise/norman

combined, these make something with the same basic functionality for viewing puppet run reports as Foreman.

Todos:

  • Make the transport pluggable (lusis' original code used tcp, I've smashed in zeromq)
  • Views - all reports for one host.
  • Fix the test suite(s)

so this would basically store events like "puppet ran on machine a/b and did change foo/bar" ?
if you get that into elasticsearch i could work on showing the events on graphs with https://github.com/Dieterbe/timeserieswidget just let me know in time if you can make it work ;)

hey i got the display on graphs working (see #59). so if you can show me how the puppet events look like within ES (i.e. which tags within event._source.@tags) i can easily tune the display accordingly

Current status for what I'm putting into ES is: http://paste.scsys.co.uk/237865 and http://paste.scsys.co.uk/237866

I've also committed a script that allows you to re-index the test data I'm using into your own ES instance:

https://github.com/youdevise/norman/blob/master/scripts/reindex_runs.pl

i'll be using your raw dump instead of reading from your computer directly

Pushed README to the norman repository showing how to actually set this stuff up :)

Owner

obfuscurity commented Mar 29, 2013

What are the actual commits and/or PR?

Owner

obfuscurity commented Mar 29, 2013

I think this is what we're talking about. @bobtfish please confirm.

tim-group/puppet-logstash-reporter@7ae74b0...625cfee

No pull reqs yet, this stuff is standalone. (i.e. the web part will just be an ES plugin, and the puppet report will go on the forge)

Commits in the two repos linked in the issue description.

t0m

Jason Dixon notifications@github.com wrote:

What are the actual commits and/or PR?


Reply to this email directly or view it on GitHub.

the display on a graph part is Dieterbe/timeserieswidget@master...es-wip

And yes - the diffs you picked are the stuff done today - I'd started a prototype on the plane over (being prepared!) :D

Yeah that + the other repos.

t0m

Jason Dixon notifications@github.com wrote:

I think this is what we're talking about. @bobtfish please confirm.

tim-group/puppet-logstash-reporter@7ae74b0...625cfee


Reply to this email directly or view it on GitHub.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment