I'm trying to pass an apache_error log to fluentd so it can be transformed into a JSON file. But it only generates file.json as an empty folder and not as a JSON file.
Here is my fluentd.conf:
<source>
@type tail
path E:\Kaggle-datasets\appache-log\apache_error
pos_file E:\Kaggle-datasets\appache-log\Apache_2k.log.pos
format apache_error
tag apache.error
</source>
<filter apache.error>
@type parser
key_name message
reserve_data true
<parse>
@type apache_error
</parse>
</filter>
<match apache.error>
@type file
path E:\Kaggle-datasets\appache-log\file.json
<buffer>
flush_mode interval
flush_interval 10s
</buffer>
</match>