fluent / fluent/fluent-plugin-windows-eventlog

failed to read data from plugin storage file

Open
#13 4 comments 0 reactions 0 assignees View on GitHub
in_windows_eventlog(old)
Dominant language
Ruby
Stars
32
Forks
19
Avg merge
2d 23h
Merged PRs (30d)
1

Description

Hello,

We are being facing a periodical issue with storage file:

```
2019-02-01 05:32:25 +0000 [error]: [windows_eventlog] failed to read data from plugin storage file path="./tmp/storage.json" error_class=Yajl::ParseError error="lexical error: invalid char in json text.\n (right here) ------^\n"
2019-02-01 05:32:25 +0000 [error]: config error file="C:/opt/td-agent/etc/td-agent/td-agent.conf" error_class=Fluent::ConfigError error="Unexpected error: failed to read data from plugin storage file: './tmp/storage.json'"
```
As workaround temp storage is removed and fluent is restarted then.

Config:

```

@type windows_eventlog
@id windows_eventlog
channels application,system
tag sys.raw
read_interval 2

@type local # @type local is the default.
persistent true # default is true. Set to false to use in-memory storage.
path ./tmp/storage.json # This is required when persistent is true.
# Or, please consider using section's `root_dir` parameter.

```

Is there any ideas?
System: Windows Core 2016

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.