1 2 3 4 5 6 7 8 9 10 11 12
| kubectl get pod -nmonitoring | grep kibana kibana-84bd448bf4-lvdtp 1/1 Running 0 3m38s
kubectl logs -f -n monitoring $(kubectl get pods -n monitoring | grep kibana | sed -n 1p | awk '{print $1}') \ | grep "Status changed from yellow to green" | head -n 3 {"type":"log","@timestamp":"2019-11-05T10:19:22Z","tags":["status","plugin:elasticsearch@7.3.0","info"],"pid":1,"state":"green","message":"Status changed from yellow to green - Ready","prevState":"yellow","prevMsg":"Waiting for Elasticsearch"} {"type":"log","@timestamp":"2019-11-05T10:19:23Z","tags":["status","plugin:xpack_main@7.3.0","info"],"pid":1,"state":"green","message":"Status changed from yellow to green - Ready","prevState":"yellow","prevMsg":"Waiting for Elasticsearch"} {"type":"log","@timestamp":"2019-11-05T10:19:23Z","tags":["status","plugin:graph@7.3.0","info"],"pid":1,"state":"green","message":"Status changed from yellow to green - Ready","prevState":"yellow","prevMsg":"Waiting for Elasticsearch"}
kubectl get service -nmonitoring | grep kibana kibana NodePort 10.103.80.231 <none> 5601:23840/TCP 4m9s
|