{
  "id": "elasticsearch/rollup-job-configuration-error",
  "signature": "RollupJobConfigurationException: Rollup job configuration validation failed",
  "signature_zh": "RollupJobConfigurationException: 汇总作业配置验证失败",
  "regex": "Rollup job configuration validation failed",
  "domain": "elasticsearch",
  "category": "config_error",
  "subcategory": null,
  "root_cause": "The rollup job configuration has invalid field mappings, missing required fields, or incompatible date histograms.",
  "root_cause_type": "generic",
  "root_cause_zh": "汇总作业配置包含无效字段映射、缺少必需字段或不兼容的日期直方图。",
  "versions": [
    {
      "version": "elasticsearch 8.12",
      "introduced": null,
      "deprecated": null,
      "removed": null,
      "behavior_change": null,
      "status": "active"
    },
    {
      "version": "elasticsearch 8.13",
      "introduced": null,
      "deprecated": null,
      "removed": null,
      "behavior_change": null,
      "status": "active"
    },
    {
      "version": "elasticsearch 7.17",
      "introduced": null,
      "deprecated": null,
      "removed": null,
      "behavior_change": null,
      "status": "active"
    },
    {
      "version": "opensearch 2.11",
      "introduced": null,
      "deprecated": null,
      "removed": null,
      "behavior_change": null,
      "status": "active"
    }
  ],
  "os_specific": {},
  "dead_ends": [
    {
      "action": "",
      "why_fails": "The configuration is still invalid; recreation does not fix the underlying validation issue.",
      "fail_rate": 0.9,
      "condition": "",
      "sources": []
    },
    {
      "action": "",
      "why_fails": "This affects indexing, not rollup job validation; rollup checks field types at config time.",
      "fail_rate": 0.8,
      "condition": "",
      "sources": []
    },
    {
      "action": "",
      "why_fails": "Validation failure is not a timeout issue; timeout increase does not resolve invalid config.",
      "fail_rate": 0.95,
      "condition": "",
      "sources": []
    }
  ],
  "workarounds": [
    {
      "action": "Verify that all fields in the rollup config exist in the source index with correct types. Example: GET my_source_index/_mapping/field/date_field",
      "success_rate": 0.9,
      "how": "Verify that all fields in the rollup config exist in the source index with correct types. Example: GET my_source_index/_mapping/field/date_field",
      "condition": "",
      "sources": []
    },
    {
      "action": "Use the rollup capability API to check supported fields: GET _rollup/job/my_rollup_job/_capabilities",
      "success_rate": 0.8,
      "how": "Use the rollup capability API to check supported fields: GET _rollup/job/my_rollup_job/_capabilities",
      "condition": "",
      "sources": []
    },
    {
      "action": "Recreate the rollup job with corrected config: PUT _rollup/job/my_rollup_job { \"rollup\": { \"index_pattern\": \"source-*\", \"rollup_index\": \"rollup-*\", \"cron\": \"*/5 * * * * ?\", \"page_size\": 1000, \"groups\": { \"date_histogram\": { \"field\": \"timestamp\", \"fixed_interval\": \"1h\" } }, \"metrics\": [ { \"field\": \"value\", \"metrics\": [\"avg\", \"sum\"] } ] } }",
      "success_rate": 0.85,
      "how": "Recreate the rollup job with corrected config: PUT _rollup/job/my_rollup_job { \"rollup\": { \"index_pattern\": \"source-*\", \"rollup_index\": \"rollup-*\", \"cron\": \"*/5 * * * * ?\", \"page_size\": 1000, \"groups\": { \"date_histogram\": { \"field\": \"timestamp\", \"fixed_interval\": \"1h\" } }, \"metrics\": [ { \"field\": \"value\", \"metrics\": [\"avg\", \"sum\"] } ] } }",
      "condition": "",
      "sources": []
    }
  ],
  "workarounds_zh": [
    "验证汇总配置中的所有字段在源索引中存在且类型正确。",
    "使用汇总功能API检查支持的字段。",
    "使用修正后的配置重新创建汇总作业。"
  ],
  "transition_graph": {
    "leads_to": [],
    "preceded_by": [],
    "frequently_confused_with": []
  },
  "official_doc_url": "https://www.elastic.co/guide/en/elasticsearch/reference/current/rollup-job-config.html",
  "official_doc_section": null,
  "error_code": null,
  "verification_tier": "ai_generated",
  "confidence": 0.83,
  "fix_success_rate": 0.82,
  "resolvable": "true",
  "first_seen": "2024-06-05",
  "last_confirmed": "2024-06-01",
  "last_updated": "2024-06-01",
  "evidence_count": 1,
  "tags": [],
  "locale": "en",
  "aliases": []
}