# Winlogbeat - ERROR checkpoint/checkpoint.go:199

**URL:** <https://discuss.elastic.co/t/winlogbeat-error-checkpoint-checkpoint-go-199/218086>\
**Category:** Beats\
**Tags:** winlogbeat\
**Created:** [February 6, 2020, 5:14am UTC](https://discuss.elastic.co/t/winlogbeat-error-checkpoint-checkpoint-go-199/218086 "2020-02-06T05:14:23Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![Mickael1](https://avatars.discourse-cdn.com/v4/letter/m/58956e/32.png) [@Mickael1](https://discuss.elastic.co/u/Mickael1)\
**Post date:** [February 6, 2020, 5:14am UTC](https://discuss.elastic.co/t/winlogbeat-error-checkpoint-checkpoint-go-199/218086/1 "2020-02-06T05:14:23Z")

</div>

Hi everyone,

To explain you simply the architecture; we collect sources windows log through our Windows Log Collector and Collector Server forward logs to SOC team with a specify number of events ID with winlogbeat 6.8  
But when I check with a simple tail (windows) command, i have often this line (and this line never appeared before I specified each event ID):

> [...] ERROR checkpoint/checkpoint.go:199 rename C:\ProgramData\winlogbeat.winlogbeat.yml.new C:\ProgramData\winlogbeat.winlogbeat.yml: Access is denied.

What's wrong with that ? I don't find any issue like this on internet.

A part of my winlogbeat.yml:

> - name: ForwardedEvents  
> fields\_under\_root: true  
> fields:  
> env: OPERATIONNAL  
> ignore\_older: 1h  
> forwarded: true  
> processors:  
> - drop\_event.when.not.or:  
> - equals.winlog.event\_id: 6  
> - equals.winlog.event\_id: 104  
> - equals.winlog.event\_id: 1100  
> [...]  
> - equals.winlog.event\_id: 4803

Other question, is it possible to show precisly the event send with winlogbeat, not a line like this :

> INFO beater/eventlogger.go:73 EventLog[ForwardedEvents] successfully published 1 events

Thanks for your time,  
Regards,

---

<div class="post-metadata">

**Author:** ![ropc](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/ropc/32/47022_2.png) [@ropc](https://discuss.elastic.co/u/ropc)\
**Post date:** [February 6, 2020, 8:23am UTC](https://discuss.elastic.co/t/winlogbeat-error-checkpoint-checkpoint-go-199/218086/2 "2020-02-06T08:23:27Z")

</div>

Welcome @Mickael1 to our community forums!

1. It seems that you are encountering an issue with the [registry file](https://www.elastic.co/guide/en/beats/winlogbeat/6.8/configuration-winlogbeat-options.html#_registry_file). Are you running Winlogbeat as a service or with command line? Since the error is `Access is denied`, it could be a permission issue?

2. I am also surprised to see such files names in this error message. The recommendation is to set the registry value to `C:/ProgramData/winlogbeat/.winlogbeat.yml` . Could you share the `winlogbeat.yml` configuration file?

3. Depending on the above, one action could be to stop Winlogbeat, delete the registry files and check if that solves the problem.

4. In a near future, you may also want to consider upgrading Winlogbeat to the [latest version](https://www.elastic.co/downloads/beats/winlogbeat).

5. Regarding the logs, you could configure the `logging.level` to `debug` in the `winlogbeat.yml` configuration file or run Winlogbeat with [debug logging](https://www.elastic.co/guide/en/beats/winlogbeat/6.8/enable-winlogbeat-debugging.html#enable-winlogbeat-debugging) with the following command `winlogbeat -e -d "*"`.

I hope that helps.

---

<div class="post-metadata">

**Author:** ![Mickael1](https://avatars.discourse-cdn.com/v4/letter/m/58956e/32.png) [@Mickael1](https://discuss.elastic.co/u/Mickael1)\
**Post date:** [February 6, 2020, 10:40am UTC](https://discuss.elastic.co/t/winlogbeat-error-checkpoint-checkpoint-go-199/218086/3 "2020-02-06T10:40:50Z")

</div>

Thanks romain for the quick response,

I actually running winlogebeat as a service, and I didn't change anything with the actual permission. I simply restarted the service after a few weeks to implement some modifications.

Yeah sure, here you have :

> ###################### Winlogbeat Configuration ##########################
> 
> #======================= Winlogbeat specific options ==========================
> 
> winlogbeat.event\_logs:
> 
> # - name: System
> 
> # - name: Application
> 
> - name: Security  
> ignore\_older: 1h  
> fields\_under\_root: true  
> fields:  
> env: OPERATIONNEL  
> processors:
> - drop\_event.when.not.or:
> - equals.winlog.event\_id: 6
> - equals.winlog.event\_id: 104
> - equals.winlog.event\_id: 1100  
> […]
> - equals.winlog.event\_id: 4803
> 
> - name: ForwardedEvents  
> fields\_under\_root: true  
> fields:  
> env: OPERATIONNEL  
> ignore\_older: 1h  
> forwarded: true  
> processors:
> - drop\_event.when.not.or:
> - equals.winlog.event\_id: 6
> - equals.winlog.event\_id: 104
> - equals.winlog.event\_id: 1100  
> […]
> - equals.winlog.event\_id: 4803
> 
> #==================== Elasticsearch template setting ==========================
> 
> setup.template.settings:  
> index.number\_of\_shards: 3  
> #index.codec: best\_compression  
> #\_source.enabled: false
> 
> #================================ General =====================================
> 
> tags: ["winlogbeat"]
> 
> #----------------------------- Logstash output --------------------------------  
> output.logstash:
> 
> # The Logstash hosts
> 
> hosts: ["XXX.XXX.XXX.XXX:5044"]
> 
> # Optional SSL. By default is off.
> 
> # List of root certificates for HTTPS server verifications
> 
> #ssl.certificate\_authorities: ["/etc/pki/root/ca.pem"]
> 
> # Certificate for SSL client authentication
> 
> #ssl.certificate: "/etc/pki/client/cert.pem"
> 
> # Client Certificate Key
> 
> #ssl.key: "/etc/pki/client/cert.key"
> 
> #================================ Processors =====================================
> 
> # Configure processors to enhance or manipulate events generated by the beat.
> 
> output.console:  
> pretty: true  
> output.file:  
> path: "C:\winlogbeat\data"  
> filename: winlogbeat\_debug.txt  
> processors:
> 
> - add\_host\_metadata: ~
> - add\_cloud\_metadata: ~  
> #================================ Logging =====================================
> 
> # Sets log level. The default log level is info.
> 
> # Available log levels are: error, warning, info, debug
> 
> logging.level: info  
> logging.to\_files: true  
> logging.files:  
> path: C:\winlogbeat\data  
> name: log-winlogbeat  
> keepfiles: 30
> 
> # At debug level, you can selectively enable logging only for some components.
> 
> # To enable all selectors use ["\*"]. Examples of other selectors are "beat",
> 
> # "publish", "service".
> 
> #logging.selectors: ["\*"]

Ok, i will test that in the day

Yes, but unfortunaltely it is not my choice to use this version, personally I would have probably used the last one 🙂

I actually thought about it right after I sent my message, by the way I have an other question about this. I specify events ID in configuration file, but I see there is an event always forwarded (EventID: 7036), and he is not on my list. I did something wrong ?

Regards,

---

<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 5, 2020, 10:41am UTC](https://discuss.elastic.co/t/winlogbeat-error-checkpoint-checkpoint-go-199/218086/4 "2020-03-05T10:41:34Z")

</div>

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