Hi,

Using given callback I'm able to log events from ansible to 
logstash/elastic search. But can't search ansible_result field because it 
represent field as string, for instance:
"{"changed":"false", "msg":"some message"}".


In ELK I'm trying to get format like this one

 "ansible_result":{





Any ideas how to resolve this issue?

Dubravko



On Saturday, December 17, 2016 at 8:22:30 PM UTC+1, dubravko sever wrote:
>
> Hi,
>
> Exactly I've been looking for, if it collects json results from ansible 
> (will test it)
>
> Thanks
> Dubravko
>
> On Saturday, December 17, 2016 at 7:15:05 PM UTC+1, Gabriel Rosca wrote:
>>
>> What about the callback module :) 
>>
>> https://github.com/ujenmr/ansible-logstash-callback/blob/master/README.md
>>
>> Regards,
>> Gabriel
>>
>>

-- 
You received this message because you are subscribed to the Google Groups 
"Ansible Project" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/ansible-project/3d9719de-a72a-4ea5-8341-2db8485de540%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to