Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

not able to access the kibana restored snapshot #198740

Closed
Neerajkumar171 opened this issue Nov 2, 2024 · 7 comments
Closed

not able to access the kibana restored snapshot #198740

Neerajkumar171 opened this issue Nov 2, 2024 · 7 comments
Labels
bug Fixes for quality problems that affect the customer experience Feature:Snapshot and Restore Elasticsearch snapshots and repositories UI Team:Kibana Management Dev Tools, Index Management, Upgrade Assistant, ILM, Ingest Node Pipelines, and more triage_needed

Comments

@Neerajkumar171
Copy link

Neerajkumar171 commented Nov 2, 2024

When Iam restoring the snapshot in kibana(8.15.3), it is able to restore, but iam not able to see the logs, the field is not able to map, below is the json file

  "mappings": {
    "enabled": false,
    "_meta": {
      "_doc": {
        "dynamic": "true",
        "subobjects": true,
        "dynamic_date_formats": [
          "strict_date_optional_time",
          "yyyy/MM/dd HH:mm:ss Z||yyyy/MM/dd Z"
        ],
        "dynamic_templates": [],
        "date_detection": true,
        "numeric_detection": false,
        "properties": {
          "@timestamp": {
            "type": "date",
            "format": "strict_date_optional_time"
          },
          "kubernetes": {
            "properties": {
              "container_image": {
                "type": "text",
                "fields": {
                  "keyword": {
                    "type": "keyword",
                    "ignore_above": 256
                  }
                }
              },
              "container_name": {
                "type": "text",
                "fields": {
                  "keyword": {
                    "type": "keyword",
                    "ignore_above": 256
                  }
                }
              },
              "namespace_name": {
                "type": "text",
                "fields": {
                  "keyword": {
                    "type": "keyword",
                    "ignore_above": 256
                  }
                }
              },
              "pod_name": {
                "type": "text",
                "fields": {
                  "keyword": {
                    "type": "keyword",
                    "ignore_above": 256
                  }
                }
              }
            }
          },
          "log": {
            "type": "text",
            "fields": {
              "keyword": {
                "type": "keyword",
                "ignore_above": 256
              }
            }
          }
        }
      }
    }
  }
}```


and its statistic json files gives error
{
  "_shards": {
    "total": 2,
    "successful": 0,
    "failed": 1,
    "failures": [
      {
        "shard": 0,
        "index": "staging-ns-eks-2024.11.01-delete",
        "status": "INTERNAL_SERVER_ERROR",
        "reason": {
          "type": "unsupported_operation_exception",
          "reason": "_source only indices can't be searched or filtered"
        }
      }
    ]
  }
}
its happening when i restored the snapshot
@elasticmachine
Copy link
Contributor

Pinging @elastic/kibana-accessibility (Project:Accessibility)

@botelastic botelastic bot added the needs-team Issues missing a team label label Nov 2, 2024
@wayneseymour wayneseymour added the Team:Kibana Management Dev Tools, Index Management, Upgrade Assistant, ILM, Ingest Node Pipelines, and more label Nov 4, 2024
@elasticmachine
Copy link
Contributor

Pinging @elastic/kibana-management (Team:Kibana Management)

@botelastic botelastic bot removed the needs-team Issues missing a team label label Nov 4, 2024
@alisonelizabeth
Copy link
Contributor

Hi @Neerajkumar171 - are there any screenshots or steps to reproduce you can provide to help us troubleshoot? Are you using the Snapshot & Restore UI in Kibana?

@Neerajkumar171
Copy link
Author

i am creating policy in stack-management ==> snapshot&restore
Image
when iam restoring the snapshot, the snapshot is able to restore but, i am not able to discover index, in mapping section iam getting mapping=false, and when iam going to see index, iam facing this error:
unexpected docvalues type NONE for field '_ignored' (expected one of [SORTED, SORTED_SET]). Re-index with correct docvalues type.

@alisonelizabeth alisonelizabeth added Feature:Snapshot and Restore Elasticsearch snapshots and repositories UI bug Fixes for quality problems that affect the customer experience triage_needed labels Nov 11, 2024
@Neerajkumar171
Copy link
Author

@alisonelizabeth any update?

@alisonelizabeth
Copy link
Contributor

Hi @Neerajkumar171 this looks like a known issue on the Elasticsearch side, see: elastic/elasticsearch#77989.

Can you confirm?

@alisonelizabeth
Copy link
Contributor

Closing this issue, as it appears to be a known issue with Elasticsearch.

@alisonelizabeth alisonelizabeth closed this as not planned Won't fix, can't repro, duplicate, stale Nov 20, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Fixes for quality problems that affect the customer experience Feature:Snapshot and Restore Elasticsearch snapshots and repositories UI Team:Kibana Management Dev Tools, Index Management, Upgrade Assistant, ILM, Ingest Node Pipelines, and more triage_needed
Projects
None yet
Development

No branches or pull requests

5 participants