# Module test, how do i create the test.log-expected.json file?

**URL:** <https://discuss.elastic.co/t/module-test-how-do-i-create-the-test-log-expected-json-file/237914>\
**Category:** Beats\
**Tags:** beats-development, filebeat\
**Created:** [June 20, 2020, 12:52pm UTC](https://discuss.elastic.co/t/module-test-how-do-i-create-the-test-log-expected-json-file/237914 "2020-06-20T12:52:39Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Stefan\_Sabolowitsch](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/stefan_sabolowitsch/32/48680_2.png) [@Stefan\_Sabolowitsch](https://discuss.elastic.co/u/Stefan_Sabolowitsch)\
**Post date:** [June 20, 2020, 12:52pm UTC](https://discuss.elastic.co/t/module-test-how-do-i-create-the-test-log-expected-json-file/237914/1 "2020-06-20T12:52:39Z")

</div>

Hi there,  
how do i create the "test.log-expected.json" with elastic / kibana, search ?  
Search command needed, so that i get the same format / content as in the sample file.

thanks for any help here.  
StefanS

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/elastic/original/3X/1/a/1ac57faf039f6b580b3f104ef42a2a89e41014de.png) [@system](https://discuss.elastic.co/u/system)\
**Post date:** [July 18, 2020, 2:52pm UTC](https://discuss.elastic.co/t/module-test-how-do-i-create-the-test-log-expected-json-file/237914/2 "2020-07-18T14:52:56Z")

</div>

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.
