Hi !
I was wondering how could I get access to my container data or log files ?
My current situation is next,
ls -al /mnt/mtLXCdatadir/containers/DatabaseContainerName/rootfs/var/lib/pgsql/10/ and after 10 I see empty folder. But in real case when in exec into container there are database data files + logs. Im more interested of pgsql logs. Is it due to the fact that data folder is hosted by different storage LUN or is it some kind of LXC permissions what prevents me to open up data folder under host machine ?
Since im running elastic stack and I would like to enable my host machine filebeat container collect my containers data but for that I need to see data dir content. Alternative method is to instsall and setup filebeat into each lxc container im running but I would keep it as simple as possible and setup only one filebeat agent what can collect LXC container data from source host machine.
Best,