# How I can change source for index winlogbeat

**URL:** <https://discuss.elastic.co/t/how-i-can-change-source-for-index-winlogbeat/139195>\
**Category:** Elasticsearch\
**Created:** [July 9, 2018, 2:28pm UTC](https://discuss.elastic.co/t/how-i-can-change-source-for-index-winlogbeat/139195 "2018-07-09T14:28:41Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![Serhiy\_H\_V](https://avatars.discourse-cdn.com/v4/letter/s/76d3ee/32.png) [@Serhiy\_H\_V](https://discuss.elastic.co/u/Serhiy_H_V)\
**Post date:** [July 9, 2018, 2:28pm UTC](https://discuss.elastic.co/t/how-i-can-change-source-for-index-winlogbeat/139195/1 "2018-07-09T14:28:41Z")

</div>

Hi.

All index for **winlogbeat** looks like

 ![%D0%B7%D0%BE%D0%B1%D1%80%D0%B0%D0%B6%D0%B5%D0%BD%D0%BD%D1%8F](https://us1.discourse-cdn.com/elastic/original/3X/1/f/1fcc172de36e5f75d8dca4e2fac30ddc1d334906.png)  
with no data.  
But logstash and auditbeat looks well with source and all fields data.

I Try to remove and recreate winlogbeat index but it's not work.  
than I thy to remove winlogbeat pattern not wonrk too.

---

<div class="post-metadata">

**Author:** ![Serhiy\_H\_V](https://avatars.discourse-cdn.com/v4/letter/s/76d3ee/32.png) [@Serhiy\_H\_V](https://discuss.elastic.co/u/Serhiy_H_V)\
**Post date:** [July 9, 2018, 7:56pm UTC](https://discuss.elastic.co/t/how-i-can-change-source-for-index-winlogbeat/139195/2 "2018-07-09T19:56:41Z")

</div>

I use this.

PUT /\_template/winlogbeat\*  
{  
"index\_patterns" : ["winlogbeat-\*"],  
"order" : 1,  
"settings" : {  
"number\_of\_shards" : 2  
},  
"mappings" : {  
"type1" : {  
"\_source" : { "enabled" : true }  
}  
}  
}  
than  
recreate pattent winlogbeat.  
thanks.

---

<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:** [August 6, 2018, 7:56pm UTC](https://discuss.elastic.co/t/how-i-can-change-source-for-index-winlogbeat/139195/3 "2018-08-06T19:56:45Z")

</div>

Closed on August 6, 2018, 7:56pm UTC

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