# best way to log to the splunk

**URL:** <https://forum.ansible.com/t/best-way-to-log-to-the-splunk/23282>\
**Category:** Ansible Project\
**Created:** [December 19, 2016, 6:38am UTC](https://forum.ansible.com/t/best-way-to-log-to-the-splunk/23282 "2016-12-19T06:38:14Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![Oguz\_Yarimtepe](https://avatars.discourse-cdn.com/v4/letter/o/d07c76/32.png) [@Oguz\_Yarimtepe](https://forum.ansible.com/u/Oguz_Yarimtepe)\
**Post date:** [December 19, 2016, 6:38am UTC](https://forum.ansible.com/t/best-way-to-log-to-the-splunk/23282/1 "2016-12-19T06:38:14Z")

</div>

What is the best way to log to the splunk while using ansible from cli?

Regards.
