-
Notifications
You must be signed in to change notification settings - Fork 19
Open
Labels
in_windows_eventlog2(new)For new in_windows_eventlog2 plugin issueFor new in_windows_eventlog2 plugin issue
Description
Hello, i'm running fluentd (1.10.2) using td-agent (3.7.1) on Windows 2016
My FluentD config looks like:
<match>
flush_interval 1s
host xxx
port 12345
protocol udp
@type gelf
</match>
<filter>
@type record_transformer
<record>
message ${record[description]}
</record>
</filter>
<source>
channels application,system,security
@id windows_eventlog
<storage>
persistent true
@type local
</storage>
tag windows_eventlog
@type windows_eventlog
</source>
<system>
root_dir C:/opt/td-agent
</system>
And i'm seeing the following errors coming through on the logging stream:
[windows_eventlog] failed to save data for plugin storage to file path="C:/opt/td-agent/worker0/windows_eventlog/storage.json" tmp="C:/opt/td-agent/worker0/windows_eventlog/storage.json.tmp" error_class=Errno::EACCES error="Permission denied @ rb_file_s_rename - (C:/opt/td-agent/worker0/windows_eventlog/storage.json.tmp, C:/opt/td-agent/worker0/windows_eventlog/storage.json)"
I checked and can see that this directory does exist and the file C:/opt/td-agent/worker0/windows_eventlog/storage.json is created and has the following contents:
{"application":[541177,41519],"system":[648,54300],"security":[8973443,1]}
Any ideas why i might be getting a permission denied error? It appears that the service is running as System:

Not sure what else to check, any thoughts?
Metadata
Metadata
Assignees
Labels
in_windows_eventlog2(new)For new in_windows_eventlog2 plugin issueFor new in_windows_eventlog2 plugin issue