elastic / cloud-on-k8s

Elastic Cloud on Kubernetes
Other
46 stars 707 forks source link

can not login kibana #2969

Closed willzhang closed 4 years ago

willzhang commented 4 years ago

Bug Report

What did you do? install operator

 kubectl apply -f https://download.elastic.co/downloads/eck/1.0.1/all-in-one.yaml 

create ns

[root@master01 eck]# cat 0_ns.yaml 
apiVersion: v1
kind: Namespace
metadata:
  name: beats

create es and kibana

# This sample sets up an Elasticsearch cluster and a Kibana instance preconfigured for that cluster.
# The hints based autodiscover annotations for Filebeat are managed by ECK.
apiVersion: elasticsearch.k8s.elastic.co/v1
kind: Elasticsearch
metadata:
  name: monitor
  namespace: beats
spec:
  version: 7.6.2
  nodeSets:
  - name: mdi
    count: 3
    config:
      node.store.allow_mmap: false
    volumeClaimTemplates:
    - metadata:
        name: elasticsearch-data
      spec:
        accessModes:
        - ReadWriteOnce
        resources:
          requests:
            storage: 50Gi
---
apiVersion: kibana.k8s.elastic.co/v1
kind: Kibana
metadata:
  name: monitor
  namespace: beats
spec:
  version: 7.6.2
  count: 1
  elasticsearchRef:
    name: "monitor"
  http:
    service:
      spec:
        type: NodePort

get kibana password

[root@master01 eck]# kubectl -n beats get secrets monitor-kibana-user -o yaml
apiVersion: v1
data:
  beats-monitor-kibana-user: ODlrOHRwYzRxMnB2anNwZGJsbWd6eDlw
kind: Secret
metadata:
  creationTimestamp: "2020-04-27T16:56:35Z"
  labels:
    kibanaassociation.k8s.elastic.co/name: monitor
    kibanaassociation.k8s.elastic.co/namespace: beats
  managedFields:
  - apiVersion: v1
    fieldsType: FieldsV1
    fieldsV1:
      f:data:
        .: {}
        f:beats-monitor-kibana-user: {}
      f:metadata:
        f:labels:
          .: {}
          f:kibanaassociation.k8s.elastic.co/name: {}
          f:kibanaassociation.k8s.elastic.co/namespace: {}
        f:ownerReferences:
          .: {}
          k:{"uid":"98c6d7f1-fffc-4ef2-bcb6-2f8dc0ebada6"}:
            .: {}
            f:apiVersion: {}
            f:blockOwnerDeletion: {}
            f:controller: {}
            f:kind: {}
            f:name: {}
            f:uid: {}
      f:type: {}
    manager: elastic-operator
    operation: Update
    time: "2020-04-27T16:56:35Z"
  name: monitor-kibana-user
  namespace: beats
  ownerReferences:
  - apiVersion: kibana.k8s.elastic.co/v1
    blockOwnerDeletion: true
    controller: true
    kind: Kibana
    name: monitor
    uid: 98c6d7f1-fffc-4ef2-bcb6-2f8dc0ebada6
  resourceVersion: "1826726"
  selfLink: /api/v1/namespaces/beats/secrets/monitor-kibana-user
  uid: bacb68ee-7cc9-41cf-8c30-3733de952291
type: Opaque

decode

[root@master01 eck]# kubectl -n beats get secret monitor-kibana-user -o=jsonpath='{.data.beats-monitor-kibana-user}' | base64 --decode; echo                                  
89k8tpc4q2pvjspdblmgzx9p

What did you expect to see? Browser login kibana use nodeport , with username: elastic ,password: 89k8tpc4q2pvjspdblmgzx9p

i hope login success What did you see instead? Under which circumstances?

login to kibana failed ,it tell me invalid username or password

Environment

[root@master01 ~]# kubectl version --short
Client Version: v1.18.1
Server Version: v1.18.1

{"type":"log","@timestamp":"2020-04-28T02:10:25Z","tags":["info","plugins-service"],"pid":6,"message":"Plugin \"case\" is disabled."} {"type":"log","@timestamp":"2020-04-28T02:11:01Z","tags":["info","plugins-system"],"pid":6,"message":"Setting up [37] plugins: [taskManager,infra,siem,licensing,encryptedSavedObjects,code,timelion,feature s,security,usageCollection,metrics,canvas,apm_oss,reporting,translations,kibana_legacy,management,dev_tools,uiActions,data,navigation,status_page,share,newsfeed,inspector,expressions,visualizations,embedd able,advancedUiActions,dashboard_embeddable_container,home,spaces,cloud,apm,graph,eui_utils,bfetch]"} {"type":"log","@timestamp":"2020-04-28T02:11:01Z","tags":["info","plugins","taskManager"],"pid":6,"message":"Setting up plugin"} {"type":"log","@timestamp":"2020-04-28T02:11:01Z","tags":["info","plugins","infra"],"pid":6,"message":"Setting up plugin"} {"type":"log","@timestamp":"2020-04-28T02:11:01Z","tags":["info","plugins","siem"],"pid":6,"message":"Setting up plugin"} {"type":"log","@timestamp":"2020-04-28T02:11:01Z","tags":["info","plugins","licensing"],"pid":6,"message":"Setting up plugin"} {"type":"log","@timestamp":"2020-04-28T02:11:01Z","tags":["info","plugins","encryptedSavedObjects"],"pid":6,"message":"Setting up plugin"} {"type":"log","@timestamp":"2020-04-28T02:11:01Z","tags":["warning","plugins","encryptedSavedObjects","config"],"pid":6,"message":"Generating a random key for xpack.encryptedSavedObjects.encryptionKey. To be able to decrypt encrypted saved objects attributes after restart, please set xpack.encryptedSavedObjects.encryptionKey in kibana.yml"} {"type":"log","@timestamp":"2020-04-28T02:11:01Z","tags":["info","plugins","code"],"pid":6,"message":"Setting up plugin"} {"type":"log","@timestamp":"2020-04-28T02:11:01Z","tags":["info","plugins","timelion"],"pid":6,"message":"Setting up plugin"} {"type":"log","@timestamp":"2020-04-28T02:11:01Z","tags":["info","plugins","features"],"pid":6,"message":"Setting up plugin"} {"type":"log","@timestamp":"2020-04-28T02:11:01Z","tags":["info","plugins","security"],"pid":6,"message":"Setting up plugin"} {"type":"log","@timestamp":"2020-04-28T02:11:01Z","tags":["warning","plugins","security","config"],"pid":6,"message":"Generating a random key for xpack.security.encryptionKey. To prevent sessions from bei ng invalidated on restart, please set xpack.security.encryptionKey in kibana.yml"} {"type":"log","@timestamp":"2020-04-28T02:11:01Z","tags":["info","plugins","usageCollection"],"pid":6,"message":"Setting up plugin"} {"type":"log","@timestamp":"2020-04-28T02:11:01Z","tags":["info","plugins","metrics"],"pid":6,"message":"Setting up plugin"} {"type":"log","@timestamp":"2020-04-28T02:11:01Z","tags":["info","plugins","canvas"],"pid":6,"message":"Setting up plugin"} {"type":"log","@timestamp":"2020-04-28T02:11:01Z","tags":["info","plugins","apm_oss"],"pid":6,"message":"Setting up plugin"} {"type":"log","@timestamp":"2020-04-28T02:11:01Z","tags":["info","plugins","translations"],"pid":6,"message":"Setting up plugin"} {"type":"log","@timestamp":"2020-04-28T02:11:01Z","tags":["info","plugins","data"],"pid":6,"message":"Setting up plugin"} {"type":"log","@timestamp":"2020-04-28T02:11:01Z","tags":["info","plugins","share"],"pid":6,"message":"Setting up plugin"} {"type":"log","@timestamp":"2020-04-28T02:11:01Z","tags":["info","plugins","home"],"pid":6,"message":"Setting up plugin"} {"type":"log","@timestamp":"2020-04-28T02:11:01Z","tags":["info","plugins","spaces"],"pid":6,"message":"Setting up plugin"} {"type":"log","@timestamp":"2020-04-28T02:11:01Z","tags":["info","plugins","cloud"],"pid":6,"message":"Setting up plugin"} {"type":"log","@timestamp":"2020-04-28T02:11:01Z","tags":["info","plugins","apm"],"pid":6,"message":"Setting up plugin"} {"type":"log","@timestamp":"2020-04-28T02:11:01Z","tags":["info","plugins","graph"],"pid":6,"message":"Setting up plugin"} {"type":"log","@timestamp":"2020-04-28T02:11:01Z","tags":["info","plugins","bfetch"],"pid":6,"message":"Setting up plugin"} {"type":"log","@timestamp":"2020-04-28T02:11:01Z","tags":["info","savedobjects-service"],"pid":6,"message":"Waiting until all Elasticsearch nodes are compatible with Kibana before starting saved objects m igrations..."} {"type":"log","@timestamp":"2020-04-28T02:11:01Z","tags":["info","savedobjects-service"],"pid":6,"message":"Starting saved objects migrations"} {"type":"log","@timestamp":"2020-04-28T02:11:02Z","tags":["info","plugins-system"],"pid":6,"message":"Starting [22] plugins: [taskManager,infra,siem,licensing,encryptedSavedObjects,code,timelion,features, security,usageCollection,metrics,canvas,apm_oss,translations,data,share,home,spaces,cloud,apm,graph,bfetch]"} {"type":"log","@timestamp":"2020-04-28T02:11:09Z","tags":["status","plugin:kibana@7.6.2","info"],"pid":6,"state":"green","message":"Status changed from uninitialized to green - Ready","prevState":"uniniti alized","prevMsg":"uninitialized"} {"type":"log","@timestamp":"2020-04-28T02:11:09Z","tags":["status","plugin:elasticsearch@7.6.2","info"],"pid":6,"state":"yellow","message":"Status changed from uninitialized to yellow - Waiting for Elasti csearch","prevState":"uninitialized","prevMsg":"uninitialized"} {"type":"log","@timestamp":"2020-04-28T02:11:09Z","tags":["status","plugin:elasticsearch@7.6.2","info"],"pid":6,"state":"green","message":"Status changed from yellow to green - Ready","prevState":"yellow" ,"prevMsg":"Waiting for Elasticsearch"} {"type":"log","@timestamp":"2020-04-28T02:11:09Z","tags":["status","plugin:xpack_main@7.6.2","info"],"pid":6,"state":"green","message":"Status changed from uninitialized to green - Ready","prevState":"uni nitialized","prevMsg":"uninitialized"} {"type":"log","@timestamp":"2020-04-28T02:11:09Z","tags":["status","plugin:graph@7.6.2","info"],"pid":6,"state":"green","message":"Status changed from uninitialized to green - Ready","prevState":"uninitia lized","prevMsg":"uninitialized"} {"type":"log","@timestamp":"2020-04-28T02:11:09Z","tags":["info","monitoring","kibana-monitoring"],"pid":6,"message":"Starting monitoring stats collection"} {"type":"log","@timestamp":"2020-04-28T02:11:09Z","tags":["status","plugin:monitoring@7.6.2","info"],"pid":6,"state":"green","message":"Status changed from uninitialized to green - Ready","prevState":"uni nitialized","prevMsg":"uninitialized"} {"type":"log","@timestamp":"2020-04-28T02:11:09Z","tags":["status","plugin:spaces@7.6.2","info"],"pid":6,"state":"green","message":"Status changed from uninitialized to green - Ready","prevState":"uniniti alized","prevMsg":"uninitialized"} {"type":"log","@timestamp":"2020-04-28T02:11:09Z","tags":["status","plugin:security@7.6.2","info"],"pid":6,"state":"green","message":"Status changed from uninitialized to green - Ready","prevState":"unini tialized","prevMsg":"uninitialized"} {"type":"log","@timestamp":"2020-04-28T02:11:09Z","tags":["status","plugin:searchprofiler@7.6.2","info"],"pid":6,"state":"green","message":"Status changed from uninitialized to green - Ready","prevState": "uninitialized","prevMsg":"uninitialized"} {"type":"log","@timestamp":"2020-04-28T02:11:09Z","tags":["status","plugin:ml@7.6.2","info"],"pid":6,"state":"green","message":"Status changed from uninitialized to green - Ready","prevState":"uninitializ ed","prevMsg":"uninitialized"} {"type":"log","@timestamp":"2020-04-28T02:11:09Z","tags":["status","plugin:tilemap@7.6.2","info"],"pid":6,"state":"green","message":"Status changed from uninitialized to green - Ready","prevState":"uninit ialized","prevMsg":"uninitialized"} {"type":"log","@timestamp":"2020-04-28T02:11:09Z","tags":["status","plugin:watcher@7.6.2","info"],"pid":6,"state":"green","message":"Status changed from uninitialized to green - Ready","prevState":"uninit ialized","prevMsg":"uninitialized"} {"type":"log","@timestamp":"2020-04-28T02:11:09Z","tags":["status","plugin:grokdebugger@7.6.2","info"],"pid":6,"state":"green","message":"Status changed from uninitialized to green - Ready","prevState":"u ninitialized","prevMsg":"uninitialized"} {"type":"log","@timestamp":"2020-04-28T02:11:09Z","tags":["status","plugin:dashboard_mode@7.6.2","info"],"pid":6,"state":"green","message":"Status changed from uninitialized to green - Ready","prevState": "uninitialized","prevMsg":"uninitialized"} {"type":"log","@timestamp":"2020-04-28T02:11:09Z","tags":["status","plugin:logstash@7.6.2","info"],"pid":6,"state":"green","message":"Status changed from uninitialized to green - Ready","prevState":"unini tialized","prevMsg":"uninitialized"} {"type":"log","@timestamp":"2020-04-28T02:11:09Z","tags":["status","plugin:beats_management@7.6.2","info"],"pid":6,"state":"green","message":"Status changed from uninitialized to green - Ready","prevState ":"uninitialized","prevMsg":"uninitialized"} {"type":"log","@timestamp":"2020-04-28T02:11:09Z","tags":["status","plugin:apm_oss@7.6.2","info"],"pid":6,"state":"green","message":"Status changed from uninitialized to green - Ready","prevState":"uninit ialized","prevMsg":"uninitialized"} {"type":"log","@timestamp":"2020-04-28T02:11:09Z","tags":["status","plugin:apm@7.6.2","info"],"pid":6,"state":"green","message":"Status changed from uninitialized to green - Ready","prevState":"uninitiali zed","prevMsg":"uninitialized"} {"type":"log","@timestamp":"2020-04-28T02:11:09Z","tags":["status","plugin:maps@7.6.2","info"],"pid":6,"state":"green","message":"Status changed from uninitialized to green - Ready","prevState":"uninitial ized","prevMsg":"uninitialized"} {"type":"log","@timestamp":"2020-04-28T02:11:09Z","tags":["status","plugin:interpreter@7.6.2","info"],"pid":6,"state":"green","message":"Status changed from uninitialized to green - Ready","prevState":"un initialized","prevMsg":"uninitialized"} {"type":"log","@timestamp":"2020-04-28T02:11:09Z","tags":["status","plugin:canvas@7.6.2","info"],"pid":6,"state":"green","message":"Status changed from uninitialized to green - Ready","prevState":"uniniti alized","prevMsg":"uninitialized"} {"type":"log","@timestamp":"2020-04-28T02:11:09Z","tags":["status","plugin:license_management@7.6.2","info"],"pid":6,"state":"green","message":"Status changed from uninitialized to green - Ready","prevSta te":"uninitialized","prevMsg":"uninitialized"} {"type":"log","@timestamp":"2020-04-28T02:11:09Z","tags":["status","plugin:index_management@7.6.2","info"],"pid":6,"state":"green","message":"Status changed from uninitialized to green - Ready","prevState ":"uninitialized","prevMsg":"uninitialized"} {"type":"log","@timestamp":"2020-04-28T02:11:09Z","tags":["status","plugin:console@7.6.2","info"],"pid":6,"state":"green","message":"Status changed from uninitialized to green - Ready","prevState":"uninit ialized","prevMsg":"uninitialized"} {"type":"log","@timestamp":"2020-04-28T02:11:09Z","tags":["status","plugin:console_extensions@7.6.2","info"],"pid":6,"state":"green","message":"Status changed from uninitialized to green - Ready","prevSta te":"uninitialized","prevMsg":"uninitialized"} {"type":"log","@timestamp":"2020-04-28T02:11:09Z","tags":["status","plugin:index_lifecycle_management@7.6.2","info"],"pid":6,"state":"green","message":"Status changed from uninitialized to green - Ready", "prevState":"uninitialized","prevMsg":"uninitialized"} {"type":"log","@timestamp":"2020-04-28T02:11:09Z","tags":["status","plugin:kuery_autocomplete@7.6.2","info"],"pid":6,"state":"green","message":"Status changed from uninitialized to green - Ready","prevSta te":"uninitialized","prevMsg":"uninitialized"} {"type":"log","@timestamp":"2020-04-28T02:11:09Z","tags":["status","plugin:metrics@7.6.2","info"],"pid":6,"state":"green","message":"Status changed from uninitialized to green - Ready","prevState":"uninit ialized","prevMsg":"uninitialized"} {"type":"log","@timestamp":"2020-04-28T02:11:09Z","tags":["status","plugin:infra@7.6.2","info"],"pid":6,"state":"green","message":"Status changed from uninitialized to green - Ready","prevState":"uninitia lized","prevMsg":"uninitialized"} {"type":"log","@timestamp":"2020-04-28T02:11:09Z","tags":["info","plugins","taskManager","taskManager"],"pid":6,"message":"TaskManager is identified by the Kibana UUID: 98ba170d-cb1d-42d3-ad25-dcc6ca2d46c c"} {"type":"log","@timestamp":"2020-04-28T02:11:09Z","tags":["status","plugin:task_manager@7.6.2","info"],"pid":6,"state":"green","message":"Status changed from uninitialized to green - Ready","prevState":"u ninitialized","prevMsg":"uninitialized"} {"type":"log","@timestamp":"2020-04-28T02:11:09Z","tags":["status","plugin:rollup@7.6.2","info"],"pid":6,"state":"green","message":"Status changed from uninitialized to green - Ready","prevState":"uniniti alized","prevMsg":"uninitialized"} {"type":"log","@timestamp":"2020-04-28T02:11:09Z","tags":["status","plugin:transform@7.6.2","info"],"pid":6,"state":"green","message":"Status changed from uninitialized to green - Ready","prevState":"unin itialized","prevMsg":"uninitialized"} {"type":"log","@timestamp":"2020-04-28T02:11:09Z","tags":["status","plugin:encryptedSavedObjects@7.6.2","info"],"pid":6,"state":"green","message":"Status changed from uninitialized to green - Ready","prev State":"uninitialized","prevMsg":"uninitialized"} {"type":"log","@timestamp":"2020-04-28T02:11:09Z","tags":["status","plugin:actions@7.6.2","info"],"pid":6,"state":"green","message":"Status changed from uninitialized to green - Ready","prevState":"uninit ialized","prevMsg":"uninitialized"} {"type":"log","@timestamp":"2020-04-28T02:11:09Z","tags":["status","plugin:alerting@7.6.2","info"],"pid":6,"state":"green","message":"Status changed from uninitialized to green - Ready","prevState":"unini tialized","prevMsg":"uninitialized"} {"type":"log","@timestamp":"2020-04-28T02:11:09Z","tags":["status","plugin:siem@7.6.2","info"],"pid":6,"state":"green","message":"Status changed from uninitialized to green - Ready","prevState":"uninitial ized","prevMsg":"uninitialized"} {"type":"log","@timestamp":"2020-04-28T02:11:09Z","tags":["status","plugin:remote_clusters@7.6.2","info"],"pid":6,"state":"green","message":"Status changed from uninitialized to green - Ready","prevState" :"uninitialized","prevMsg":"uninitialized"} {"type":"log","@timestamp":"2020-04-28T02:11:09Z","tags":["status","plugin:cross_cluster_replication@7.6.2","info"],"pid":6,"state":"green","message":"Status changed from uninitialized to green - Ready"," prevState":"uninitialized","prevMsg":"uninitialized"} {"type":"log","@timestamp":"2020-04-28T02:11:10Z","tags":["status","plugin:upgrade_assistant@7.6.2","info"],"pid":6,"state":"green","message":"Status changed from uninitialized to green - Ready","prevStat e":"uninitialized","prevMsg":"uninitialized"} {"type":"log","@timestamp":"2020-04-28T02:11:10Z","tags":["status","plugin:uptime@7.6.2","info"],"pid":6,"state":"green","message":"Status changed from uninitialized to green - Ready","prevState":"uniniti alized","prevMsg":"uninitialized"} {"type":"log","@timestamp":"2020-04-28T02:11:10Z","tags":["status","plugin:oss_telemetry@7.6.2","info"],"pid":6,"state":"green","message":"Status changed from uninitialized to green - Ready","prevState":" uninitialized","prevMsg":"uninitialized"} {"type":"log","@timestamp":"2020-04-28T02:11:10Z","tags":["status","plugin:file_upload@7.6.2","info"],"pid":6,"state":"green","message":"Status changed from uninitialized to green - Ready","prevState":"un initialized","prevMsg":"uninitialized"} {"type":"log","@timestamp":"2020-04-28T02:11:10Z","tags":["status","plugin:data@7.6.2","info"],"pid":6,"state":"green","message":"Status changed from uninitialized to green - Ready","prevState":"uninitial ized","prevMsg":"uninitialized"} {"type":"log","@timestamp":"2020-04-28T02:11:10Z","tags":["status","plugin:lens@7.6.2","info"],"pid":6,"state":"green","message":"Status changed from uninitialized to green - Ready","prevState":"uninitial ized","prevMsg":"uninitialized"} {"type":"log","@timestamp":"2020-04-28T02:11:10Z","tags":["status","plugin:snapshot_restore@7.6.2","info"],"pid":6,"state":"green","message":"Status changed from uninitialized to green - Ready","prevState ":"uninitialized","prevMsg":"uninitialized"} {"type":"log","@timestamp":"2020-04-28T02:11:10Z","tags":["status","plugin:kibana_react@7.6.2","info"],"pid":6,"state":"green","message":"Status changed from uninitialized to green - Ready","prevState":"u ninitialized","prevMsg":"uninitialized"} {"type":"log","@timestamp":"2020-04-28T02:11:10Z","tags":["status","plugin:management@7.6.2","info"],"pid":6,"state":"green","message":"Status changed from uninitialized to green - Ready","prevState":"uni nitialized","prevMsg":"uninitialized"} {"type":"log","@timestamp":"2020-04-28T02:11:10Z","tags":["status","plugin:navigation@7.6.2","info"],"pid":6,"state":"green","message":"Status changed from uninitialized to green - Ready","prevState":"uni nitialized","prevMsg":"uninitialized"} {"type":"log","@timestamp":"2020-04-28T02:11:10Z","tags":["status","plugin:region_map@7.6.2","info"],"pid":6,"state":"green","message":"Status changed from uninitialized to green - Ready","prevState":"uni nitialized","prevMsg":"uninitialized"} {"type":"log","@timestamp":"2020-04-28T02:11:10Z","tags":["status","plugin:telemetry@7.6.2","info"],"pid":6,"state":"green","message":"Status changed from uninitialized to green - Ready","prevState":"unin itialized","prevMsg":"uninitialized"} {"type":"log","@timestamp":"2020-04-28T02:11:10Z","tags":["status","plugin:timelion@7.6.2","info"],"pid":6,"state":"green","message":"Status changed from uninitialized to green - Ready","prevState":"unini tialized","prevMsg":"uninitialized"} {"type":"log","@timestamp":"2020-04-28T02:11:10Z","tags":["status","plugin:ui_metric@7.6.2","info"],"pid":6,"state":"green","message":"Status changed from uninitialized to green - Ready","prevState":"unin itialized","prevMsg":"uninitialized"} {"type":"log","@timestamp":"2020-04-28T02:11:10Z","tags":["status","plugin:markdown_vis@7.6.2","info"],"pid":6,"state":"green","message":"Status changed from uninitialized to green - Ready","prevState":"u ninitialized","prevMsg":"uninitialized"} {"type":"log","@timestamp":"2020-04-28T02:11:10Z","tags":["status","plugin:metric_vis@7.6.2","info"],"pid":6,"state":"green","message":"Status changed from uninitialized to green - Ready","prevState":"uni nitialized","prevMsg":"uninitialized"} {"type":"log","@timestamp":"2020-04-28T02:11:10Z","tags":["status","plugin:table_vis@7.6.2","info"],"pid":6,"state":"green","message":"Status changed from uninitialized to green - Ready","prevState":"unin itialized","prevMsg":"uninitialized"} {"type":"log","@timestamp":"2020-04-28T02:11:10Z","tags":["status","plugin:tagcloud@7.6.2","info"],"pid":6,"state":"green","message":"Status changed from uninitialized to green - Ready","prevState":"unini tialized","prevMsg":"uninitialized"} {"type":"log","@timestamp":"2020-04-28T02:11:10Z","tags":["status","plugin:vega@7.6.2","info"],"pid":6,"state":"green","message":"Status changed from uninitialized to green - Ready","prevState":"uninitial ized","prevMsg":"uninitialized"} {"type":"log","@timestamp":"2020-04-28T02:11:10Z","tags":["status","plugin:input_control_vis@7.6.2","info"],"pid":6,"state":"green","message":"Status changed from uninitialized to green - Ready","prevStat e":"uninitialized","prevMsg":"uninitialized"} {"type":"log","@timestamp":"2020-04-28T02:11:10Z","tags":["reporting","browser-driver","warning"],"pid":6,"message":"Enabling the Chromium sandbox provides an additional layer of protection."} {"type":"log","@timestamp":"2020-04-28T02:11:12Z","tags":["reporting","warning"],"pid":6,"message":"Generating a random key for xpack.reporting.encryptionKey. To prevent pending reports from failing on re start, please set xpack.reporting.encryptionKey in kibana.yml"} {"type":"log","@timestamp":"2020-04-28T02:11:12Z","tags":["reporting","warning"],"pid":6,"message":"Reporting plugin self-check generated a warning: Error: Found 'server.host: \"0\"' in settings. This is incompatible with Reporting. To enable Reporting to work, 'xpack.reporting.kibanaServer.hostname: 0.0.0.0' is being automatically to the configuration. You can change to 'server.host: 0.0.0.0' or add 'xpa ck.reporting.kibanaServer.hostname: 0.0.0.0' in kibana.yml to prevent this message."} {"type":"log","@timestamp":"2020-04-28T02:11:12Z","tags":["status","plugin:reporting@7.6.2","info"],"pid":6,"state":"green","message":"Status changed from uninitialized to green - Ready","prevState":"unin itialized","prevMsg":"uninitialized"} {"type":"log","@timestamp":"2020-04-28T02:11:12Z","tags":["listening","info"],"pid":6,"message":"Server running at https://0:5601"} {"type":"log","@timestamp":"2020-04-28T02:11:12Z","tags":["info","http","server","Kibana"],"pid":6,"message":"http server running at https://0:5601"} {"type":"response","@timestamp":"2020-04-28T02:11:15Z","tags":[],"pid":6,"method":"get","statusCode":200,"req":{"url":"/login","method":"get","headers":{"host":"100.117.144.179:5601","user-agent":"kube-pr obe/1.18","accept-encoding":"gzip","connection":"close"},"remoteAddress":"192.168.93.12","userAgent":"192.168.93.12"},"res":{"statusCode":200,"responseTime":78,"contentLength":9},"message":"GET /login 200 78ms - 9.0B"} {"type":"response","@timestamp":"2020-04-28T02:11:25Z","tags":[],"pid":6,"method":"get","statusCode":200,"req":{"url":"/login","method":"get","headers":{"host":"100.117.144.179:5601","user-agent":"kube-pr obe/1.18","accept-encoding":"gzip","connection":"close"},"remoteAddress":"192.168.93.12","userAgent":"192.168.93.12"},"res":{"statusCode":200,"responseTime":16,"contentLength":9},"message":"GET /login 200 16ms - 9.0B"} {"type":"response","@timestamp":"2020-04-28T02:11:35Z","tags":[],"pid":6,"method":"get","statusCode":200,"req":{"url":"/login","method":"get","headers":{"host":"100.117.144.179:5601","user-agent":"kube-pr obe/1.18","accept-encoding":"gzip","connection":"close"},"remoteAddress":"192.168.93.12","userAgent":"192.168.93.12"},"res":{"statusCode":200,"responseTime":15,"contentLength":9},"message":"GET /login 200 15ms - 9.0B"} {"type":"response","@timestamp":"2020-04-28T02:11:45Z","tags":[],"pid":6,"method":"get","statusCode":200,"req":{"url":"/login","method":"get","headers":{"host":"100.117.144.179:5601","user-agent":"kube-pr obe/1.18","accept-encoding":"gzip","connection":"close"},"remoteAddress":"192.168.93.12","userAgent":"192.168.93.12"},"res":{"statusCode":200,"responseTime":26,"contentLength":9},"message":"GET /login 200 26ms - 9.0B"} {"type":"response","@timestamp":"2020-04-28T02:11:55Z","tags":[],"pid":6,"method":"get","statusCode":200,"req":{"url":"/login","method":"get","headers":{"host":"100.117.144.179:5601","user-agent":"kube-pr obe/1.18","accept-encoding":"gzip","connection":"close"},"remoteAddress":"192.168.93.12","userAgent":"192.168.93.12"},"res":{"statusCode":200,"responseTime":26,"contentLength":9},"message":"GET /login 200 26ms - 9.0B"} {"type":"response","@timestamp":"2020-04-28T02:12:05Z","tags":[],"pid":6,"method":"get","statusCode":200,"req":{"url":"/login","method":"get","headers":{"host":"100.117.144.179:5601","user-agent":"kube-pr obe/1.18","accept-encoding":"gzip","connection":"close"},"remoteAddress":"192.168.93.12","userAgent":"192.168.93.12"},"res":{"statusCode":200,"responseTime":23,"contentLength":9},"message":"GET /login 200 23ms - 9.0B"}

sebgl commented 4 years ago

monitor-kibana-user is not the secret you want to retrieve to grab the elastic user password. They contain credentials for the user used by Kibana to access Elasticsearch. That's a different user.

Instead, you should get the content of the monitor-es-elastic-user secret, and use it to connect to Kibana. See also the instructions in the quickstart.