#!/bin/bash

FLUENTD_POD=$(microk8s.kubectl get pods -n efk | grep fluentd | awk '{print $1}')
echo "new pod is: " ${FLUENTD_POD}
microk8s.kubectl logs -f pod/${FLUENTD_POD} -n efk