# Winlogbeat 6.0.0 Registry File

**URL:** <https://discuss.elastic.co/t/winlogbeat-6-0-0-registry-file/110384>\
**Category:** Beats\
**Tags:** winlogbeat\
**Created:** [December 5, 2017, 3:24pm UTC](https://discuss.elastic.co/t/winlogbeat-6-0-0-registry-file/110384 "2017-12-05T15:24:25Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![KRasekhi](https://avatars.discourse-cdn.com/v4/letter/k/85e7bf/32.png) [@KRasekhi](https://discuss.elastic.co/u/KRasekhi)\
**Post date:** [December 5, 2017, 3:24pm UTC](https://discuss.elastic.co/t/winlogbeat-6-0-0-registry-file/110384/1 "2017-12-05T15:24:25Z")

</div>

Hi,

I noticed that in 6.0 the registry file in c:\ProgramData\winlogbeat.winlogbeat.yml isn't populating the same - am i missing something or is this intentional?

6.0.0

```auto
update_time: 2017-12-05T15:16:38.2530588Z
event_logs:
- name: wineventlog
  record_number: 528669
  timestamp: 2017-12-05T15:16:31.1188124Z

```

5.5.2

```auto
update_time: 2017-12-05T15:16:07.841893Z
event_logs:
- name: Application
  record_number: 250502
  timestamp: 2017-12-05T15:16:02.6721303Z
- name: Microsoft-Windows-Diagnostics-Performance/Operational
  record_number: 204
  timestamp: 2017-11-28T00:27:30.1588877Z
- name: System
  record_number: 137622
  timestamp: 2017-12-05T15:08:40.0562157Z

```

---

<div class="post-metadata">

**Author:** ![andrewkroh](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/andrewkroh/32/3784_2.png) [@andrewkroh](https://discuss.elastic.co/u/andrewkroh)\
**Post date:** [December 5, 2017, 6:05pm UTC](https://discuss.elastic.co/t/winlogbeat-6-0-0-registry-file/110384/2 "2017-12-05T18:05:06Z")

</div>

This is definitely a bug. Please open a [new issue](https://github.com/elastic/beats/issues/new) on Github for this.

> <https://github.com/elastic/beats/blob/3d9c606e10cb3424c131583772a1a19cbf5633f1/winlogbeat/eventlog/eventlog.go#L116>

The name should be set to `e.Channel` rather than `e.API`. This must have been introduced when we did a refactoring in 6.0 that allows Winlogbeat to be reading a batch and sending concurrently.

---

<div class="post-metadata">

**Author:** ![KRasekhi](https://avatars.discourse-cdn.com/v4/letter/k/85e7bf/32.png) [@KRasekhi](https://discuss.elastic.co/u/KRasekhi)\
**Post date:** [December 5, 2017, 6:51pm UTC](https://discuss.elastic.co/t/winlogbeat-6-0-0-registry-file/110384/3 "2017-12-05T18:51:02Z")

</div>

Thanks for the clarification. Also I noticed something that also may be related -

Whenever winlogbeat service is restarted the .winlogbeat.yml is reset and the logs are reset.

---

<div class="post-metadata">

**Author:** ![andrewkroh](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/andrewkroh/32/3784_2.png) [@andrewkroh](https://discuss.elastic.co/u/andrewkroh)\
**Post date:** [December 5, 2017, 9:46pm UTC](https://discuss.elastic.co/t/winlogbeat-6-0-0-registry-file/110384/4 "2017-12-05T21:46:51Z")

</div>

That sounds like symptom of the bug rather than a second issue.

---

<div class="post-metadata">

**Author:** ![andrewkroh](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/andrewkroh/32/3784_2.png) [@andrewkroh](https://discuss.elastic.co/u/andrewkroh)\
**Post date:** [December 5, 2017, 9:47pm UTC](https://discuss.elastic.co/t/winlogbeat-6-0-0-registry-file/110384/5 "2017-12-05T21:47:19Z")

</div>

> <https://github.com/elastic/beats/issues/5813>

---

<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:** [December 26, 2017, 3:24pm UTC](https://discuss.elastic.co/t/winlogbeat-6-0-0-registry-file/110384/6 "2017-12-26T15:24:40Z")

</div>

This topic was automatically closed after 21 days. New replies are no longer allowed.
