Monitoring Tools/ELK Stack

4.1 index pattern id 조회

ploz 2022. 4. 22. 12:31
반응형

curl -XGET 'localhost:5601/api/saved_objects/_find?type=index-pattern'

[root@CC-MON-ELASTIC conf.d]# curl -XGET 'localhost:5601/api/saved_objects/_find?type=index-pattern' | jq .

{
  "page": 1,
  "per_page": 20,
  "total": 1,
  "saved_objects": [
    {
      "type": "index-pattern",
      "id": "48df5170-bf95-11ec-9f40-4b6b290513da",
      "attributes": {
        "fieldAttrs": "{}",
        "title": "filebeat-nginx*",
        "timeFieldName": "@timestamp",
        "fields": "[]",
        "typeMeta": "{}",
        "runtimeFieldMap": "{}"
      },
      "references": [],
      "migrationVersion": {
        "index-pattern": "7.11.0"
      },
      "coreMigrationVersion": "7.15.1",
      "updated_at": "2022-04-19T04:00:43.527Z",
      "version": "Wzg3NiwzXQ==",
      "namespaces": [
        "default"
      ],
      "score": 0
    }
  ]
}

 

 

반응형