app-logging-elk-client-868db5cbd9-6mhjl 1/1 Running 0 1h app-logging-elk-data-0 1/1 Running 0 1h app-logging-elk-elasticsearch-pki-init-78bzt 0/1 Completed 0 1h app-logging-elk-kibana-86df58d79d-wfgwx 1/1 Running 0 1h app-logging-elk-kibana-init-m9r92 0/1 CrashLoopBackOff 22 1h app-logging-elk-logstash-68f996bc5-92gpd 1/1 Running 0 1h app-logging-elk-master-6c64857b5b-x4j9b 1/1 Running 0 1h Tip:  If the kibana-init pod fails, it’s because it co uld not initialize the default index in Kibana.  This is not a problem, as the default index can be set through the Kibana UI. This will display the Kibana dashboard. See Figure 5-28. http://<proxy-ip>:<nodeport> The default Logstash configuration forwards all log data to an index in the format  logstash-<year-month-day> . Whilst this is suitable for the platform logs, it makes sense for  additional ELK stacks, designed to collect logs for specific namespaces, to create indices  based on the namespace the logs originate from. This can be achieved by editing the  Logstash ConfigMap and modifying the output to use the kubernetes namespace field as the  index name instead of the default  logstash . To do this for the ELK stack deployed in previous  sections, edit the  app-logging-elk-logstash-config  ConfigMap in the  elk  namespace and  change the  output.elasticsearch.index  section from 6. Retrieve the NodePort for the Kibana service: 7. Use the returned port to access Kibana via an IBM Cloud Private node. For example using  the proxy kubectl -n elk get service kibana  -o=jsonpath='{.spec.ports[?(@.port==5601)].nodePort}' Figure 5-28 New Kibana user interface 8. Set the default index to whichever value you choose. The default is  logstash-  but this may  change depending on how you modify Logstash in this instance. Note that it is not possible  to set the default index until data with that index actually exists in Elasticsearch, so before  this can be set, ensure log data is sent to Elasticsearch first. Configuring namespace based indices output { elasticsearch { hosts => "elasticsearch:9200" index => "logstash-%{+YYYY.MM.dd}" document_type => "%{[@metadata][type]}" 196  IBM Cloud Private System Administrator’s Guide