# Fields.yml not used by winlogbeat

**URL:** <https://discuss.elastic.co/t/fields-yml-not-used-by-winlogbeat/219150>\
**Category:** Beats\
**Tags:** winlogbeat\
**Created:** [February 13, 2020, 7:59am UTC](https://discuss.elastic.co/t/fields-yml-not-used-by-winlogbeat/219150 "2020-02-13T07:59:34Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![SKiD](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/skid/32/56535_2.png) [@SKiD](https://discuss.elastic.co/u/SKiD)\
**Post date:** [February 13, 2020, 7:59am UTC](https://discuss.elastic.co/t/fields-yml-not-used-by-winlogbeat/219150/1 "2020-02-13T07:59:35Z")

</div>

Hey,

currently I do configurations on my ELK stack since I figured out, that Winlogbeat does not use the default fields.yml to produce results according to the ECS. The problem I have is, that doesn't matter how I configure Winlogbeat, it does not use the configuration in fields.yml. But I can't figure out what am I doing wrong?

My current configuration is as follows:  
winlogbeat.event\_logs:  
- name: 'c:\path\to\my\security.evtx'

```
setup.template.enabled: true
setup.template.fields: "${path.home}/fields.yml"
setup.template:
  settings:
    index.number_of_shards: 1

setup.ilm.enabled: false

output.elasticsearch:
  enabled: true
  hosts: ["my.ip.and.my:port"]

```

Is can only imagine, that I do something wrong with the path? Or somehow a setting is missing? For me quite weird, because it worked once, but I don't have any idea what I did before.

Any suggestions?

Thanks guys,  
SKiD

**EDIT #1:**  
I just saw, that the template, which is create in Elasticsearch for example changes the type of winlog.computer\_name to keyword is also shown in "Settings \> Index Management \> Index templates". If I now create an index pattern depending on the index, it shows the winlog.computer\_name as string. 90% of my attributes are still strings.

**EDIT #2:**

```
Versions:
  Elasticsearch: 7.5.2
  Kibana: 7.5.2
  Winlogbeat: 7.5.2
```

---

<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:** [March 12, 2020, 8:09am UTC](https://discuss.elastic.co/t/fields-yml-not-used-by-winlogbeat/219150/2 "2020-03-12T08:09:40Z")

</div>

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