how to get logs of a pod using kubectl code example Example: find logs in kubernetes pods kubectl logs elasticsearch-master-1 --since=2m --timestamps