I am trying to send Nginx logs (access and errors) to Influx DB store without parsing log files but with the syslog directive. There are two reasons for that :
- Log rotation is annoying.
- I prefer to have only in-memory actions and no access to the file system.
I tried first to do
[Nginx] |network> [Influx DB]
And then I tried
[Nginx] |UNIX socket> [rsyslog or syslog-ng] |network> [Influx DB]
Are these two options possible ?
Did anyone succeed to do that ?