Logstash running in openshift is not sending output to NFS

I have a requirement to send docker container logs to NFS drive. Filebeat installed as daemonset sends logs to single logstash pod which shall write them to NFS.
Logstatsh configuration look something like below

output{
    file{
      path => "/home/user/ps_%{+YYYYMMdd}.txt"
    }  
}

where /home/user is the network drive mounted in openshift VMs
POD comes up fine but it creates log file in logstash container and not in the NFS drive.
Please suggest the correct configuration

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.