There is lost primary datetime in elasticsearch

I deploy Temporal cluster with: docker-compose -f docker-compose-mysql-es.yml up -d

There is all container:

CONTAINER ID        IMAGE                                    COMMAND                  CREATED             STATUS              PORTS                                                                      NAMES
89d777f09113        docker.elastic.co/kibana/kibana:7.10.1   "/usr/local/bin/dumb…"   About an hour ago   Up About an hour    0.0.0.0:5601->5601/tcp                                                     pensive_spence
44ac1a27b3f5        temporalio/admin-tools:1.8.1             "tail -f /dev/null"      About an hour ago   Up About an hour                                                                               temporal-admin-tools
c35b702ec98e        temporalio/web:1.7.1                     "docker-entrypoint.s…"   About an hour ago   Up About an hour    0.0.0.0:8088->8088/tcp                                                     temporal-web
f007e6c7d66c        temporalio/auto-setup:1.8.1              "/entrypoint.sh /bin…"   About an hour ago   Up About an hour    6933-6935/tcp, 6939/tcp, 7234-7235/tcp, 7239/tcp, 0.0.0.0:7233->7233/tcp   temporal
2e17af7d43f8        elasticsearch:7.10.1                     "/tini -- /usr/local…"   About an hour ago   Up About an hour    0.0.0.0:9200->9200/tcp, 9300/tcp                                           temporal-elasticsearch
3ac42e5898d5        mysql:5.7                                "docker-entrypoint.s…"   About an hour ago   Up About an hour    33060/tcp, 0.0.0.0:13306->3306/tcp                                         temporal-mysql

Below is the data in elasticsearch.

{
                "_id": "hello-world_44d2731e-ca72-451f-99b3-d415f57d6474~1304c1ef-ed2f-4939-b39a-3418e0c29bc7",
                "_index": "temporal-visibility-dev",
                "_score": 1.0,
                "_source": {
                    "Attr": null,
                    "CloseTime": 1617963300903708192,
                    "ExecutionStatus": 6,
                    "ExecutionTime": 1617963300565310793,
                    "HistoryLength": 17,
                    "NamespaceId": "abc5c61f-d607-412d-9e51-b5f1cefe0caf",
                    "RunId": "1304c1ef-ed2f-4939-b39a-3418e0c29bc7",
                    "StartTime": 1617963240565310793,
                    "TaskQueue": "QUEUE",
                    "VisibilityTaskKey": "3~1050127",
                    "WorkflowId": "hello-world_44d2731e-ca72-451f-99b3-d415f57d6474",
                    "WorkflowType": "HelloworldWorkflow"
                },
                "_type": "_doc"
            }

In kibana , the primary datetime of Index patterns is Attr.CustomDatetimeField. So i get nothing in discovery of kibana.

Sorry, I don’t understand your question. What do you want to achieve? "Attr": null means you don’t have custom search attributes defined.