----- Original Message -----
> From: "Stuart Cracraft" <[email protected]>
> To: [email protected]
> Sent: Tuesday, November 26, 2013 7:02:42 PM
> Subject: Re: [Puppet Users] get a *structured* version of the puppet agent 
> output
> 
> What we want is not more complexity, but more simplicity!
> 
> I could go into
> 
>   puppet config print reportdir
> 
> and then to its
> 
>   /var/lib/puppet/reports
> 
> then to the host directories of interest and grep out message.
> 
> But that seems a very sorry state of affairs.
> 
> Puppetmasters speak UP!

you do not need to grep out anything, as I showed you there is a ruby API
for accessing this data.

If you use PuppetDB it will also be able to store this information and it has
APIs for extracting these logs in a structured manner.

API access is about as much as you can hope for I think.  Your alternatives are
to write a logger plugin for Puppet that outputs JSON, I've done this and it
was not clear sailing.


-- 
You received this message because you are subscribed to the Google Groups 
"Puppet Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/puppet-users/1024951816.609.1385492893475.JavaMail.zimbra%40devco.net.
For more options, visit https://groups.google.com/groups/opt_out.

Reply via email to