# json stdout

**URL:** <https://forum.ansible.com/t/json-stdout/36976>\
**Category:** Ansible Project\
**Created:** [August 11, 2022, 3:26pm UTC](https://forum.ansible.com/t/json-stdout/36976 "2022-08-11T15:26:23Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![mdidomenico](https://avatars.discourse-cdn.com/v4/letter/m/c4cdca/32.png) [@mdidomenico](https://forum.ansible.com/u/mdidomenico)\
**Post date:** [August 11, 2022, 3:26pm UTC](https://forum.ansible.com/t/json-stdout/36976/1 "2022-08-11T15:26:23Z")

</div>

i'm working with the json callback, specifically it's use with  
ANSIBLE\_STDOUT\_CALLBACK. it's logging all it's output to json, so  
that's great, but it also includes all the gathering facts play data  
play as well. is there a way to turn off that output in the json  
data? i don't want to turn off fact gathering, just it's output in  
json.

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/ansible/original/1X/1882d9a01da5d8996a862359b0913cc568a39b84.svg) [@system](https://forum.ansible.com/u/system)\
**Post date:** [August 11, 2022, 6:27pm UTC](https://forum.ansible.com/t/json-stdout/36976/2 "2022-08-11T18:27:44Z")

</div>

That is up to the plugin itself. You could modify it to filter them out.
