Here's my td-agent.conf file
<source>
@type http
port 8888
</source>
<match whatever.access>
@type file
path /var/log/what.txt
</match>
But when I try to start the server using
sudo /etc/init.d/td-agent start
it gives the following error:
'2016-02-01 10:45:49 +0530 [error]: fluent/supervisor.rb:359:rescue in >main_process: config error file="/etc/td-agent/td-agent.conf" error="out_file: >
/var/log/what.txt.20160201_0.log
is not writable"
Can someone explain what's wrong?