Answers for "Can I change the index pattern of a visualization in Kibana?"

0

Can I change the index pattern of a visualization in Kibana?

(venvPython375) [[email protected] myfolder]$ curl -X POST -u $user:$pass -H "Content-Type: application/json" -H "kbn-xsrf:true"  "${KIBANA_URL}/api/saved_objects/index-pattern/jira-index" -d '{ "attributes": { "title":"jira-*","timeFieldName":"sprint_start_date"}}'  -w "\n"|jq
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
100   327  100   250  100    77    543    167 --:--:-- --:--:-- --:--:--   543
{
  "type": "index-pattern",
  "id": "jira-index",
  "attributes": {
    "title": "jira-*",
    "timeFieldName": "start_of_work"
  },
  "references": [],
  "migrationVersion": {
    "index-pattern": "6.5.0"
  },
  "updated_at": "2020-02-25T22:56:44.531Z",
  "version": "Wzg5NCwxNV0="
}
Posted by: Guest on June-30-2021

Code answers related to "Can I change the index pattern of a visualization in Kibana?"

Browse Popular Code Answers by Language