{
    "index": {
        "query": {
            "default_field": "signature"
        }
    },
    "mappings": {
        "%s": {
            "_all": {
                "enabled": false
            },
            "_source": {
                "compress": true
            },
            "properties": {
                "crash_id": {
                    "type": "string",
                    "index": "not_analyzed"
                },
                "processed_crash": {
                    "type": "object",
                    "dynamic": "true",
                    "properties": {
                        "PluginFilename": {
                            "type": "multi_field",
                            "fields": {
                                "PluginFilename": {
                                    "type": "string",
                                    "index": "analyzed"
                                },
                                "full": {
                                    "type": "string",
                                    "index": "not_analyzed"
                                }
                            }
                        },
                        "PluginName": {
                            "type": "multi_field",
                            "fields": {
                                "PluginName": {
                                    "type": "string",
                                    "index": "analyzed"
                                },
                                "full": {
                                    "type": "string",
                                    "index": "not_analyzed"
                                }
                            }
                        },
                        "PluginVersion": {
                            "type": "multi_field",
                            "fields": {
                                "PluginVersion": {
                                    "type": "string",
                                    "index": "analyzed"
                                },
                                "full": {
                                    "type": "string",
                                    "index": "not_analyzed"
                                }
                            }
                        },
                        "Winsock_LSP": {
                            "type": "string"
                        },
                        "addons": {
                            "type": "string"
                        },
                        "addons_checked": {
                            "type": "boolean"
                        },
                        "address": {
                            "type": "string",
                            "analyzer": "keyword"
                        },
                        "app_notes": {
                            "type": "string"
                        },
                        "build": {
                            "type": "long"
                        },
                        "build_date": {
                            "type": "date",
                            "format": "yyyy-MM-dd'T'HH:mm:ssZZ||yyyy-MM-dd'T'HH:mm:ss.SSSSSSZZ"
                        },
                        "classifications": {
                            "type": "object",
                            "dynamic": "true",
                            "properties": {
                                "skunk_works": {
                                    "dynamic": "true",
                                    "properties": {
                                        "classification": {
                                            "type": "string"
                                        },
                                        "classification_data": {
                                            "type": "string"
                                        },
                                        "classification_version": {
                                            "type": "string",
                                            "analyzer": "keyword"
                                        }
                                    }
                                },
                                "support": {
                                    "dynamic": "true",
                                    "properties": {
                                        "classification": {
                                            "type": "string"
                                        },
                                        "classification_data": {
                                            "type": "string"
                                        },
                                        "classification_version": {
                                            "type": "string",
                                            "analyzer": "keyword"
                                        }
                                    }
                                }
                            }
                        },
                        "client_crash_date": {
                            "type": "date",
                            "format": "yyyy-MM-dd'T'HH:mm:ssZZ||yyyy-MM-dd'T'HH:mm:ss.SSSSSSZZ"
                        },
                        "completeddatetime": {
                            "type": "date",
                            "format": "yyyy-MM-dd'T'HH:mm:ssZZ||yyyy-MM-dd'T'HH:mm:ss.SSSSSSZZ"
                        },
                        "cpu_info": {
                            "type": "multi_field",
                            "fields": {
                                "cpu_info": {
                                    "type": "string",
                                    "index": "analyzed",
                                    "analyzer": "standard"
                                },
                                "full": {
                                    "type": "string",
                                    "index": "not_analyzed"
                                }
                            }
                        },
                        "cpu_name": {
                            "type": "string",
                            "analyzer": "keyword"
                        },
                        "crash_time": {
                            "type": "long"
                        },
                        "crashedThread": {
                            "type": "long"
                        },
                        "date_processed": {
                            "type": "date",
                            "format": "yyyy-MM-dd'T'HH:mm:ssZZ||yyyy-MM-dd'T'HH:mm:ss.SSSSSSZZ"
                        },
                        "distributor": {
                            "type": "string"
                        },
                        "distributor_version": {
                            "type": "string",
                            "analyzer": "keyword"
                        },
                        "dump": {
                            "type": "string",
                            "index": "not_analyzed"
                        },
                        "email": {
                            "type": "string",
                            "analyzer": "keyword"
                        },
                        "exploitability": {
                            "type": "string"
                        },
                        "flash_version": {
                            "type": "string",
                            "analyzer": "keyword"
                        },
                        "hang_type": {
                            "type": "short"
                        },
                        "hangid": {
                            "type": "string"
                        },
                        "install_age": {
                            "type": "long"
                        },
                        "java_stack_trace": {
                            "type": "string"
                        },
                        "last_crash": {
                            "type": "long"
                        },
                        "os_name": {
                            "type": "multi_field",
                            "fields": {
                                "os_name": {
                                    "type": "string"
                                },
                                "full": {
                                    "type": "string",
                                    "index": "not_analyzed"
                                }
                            }
                        },
                        "os_version": {
                            "type": "string"
                        },
                        "process_type": {
                            "type": "string"
                        },
                        "processor_notes": {
                            "type": "string"
                        },
                        "product": {
                            "type": "multi_field",
                            "fields": {
                                "product": {
                                    "type": "string",
                                    "index": "analyzed"
                                },
                                "full": {
                                    "type": "string",
                                    "index": "not_analyzed"
                                }
                            }
                        },
                        "productid": {
                            "type": "string",
                            "analyzer": "keyword"
                        },
                        "reason": {
                            "type": "multi_field",
                            "fields": {
                                "reason": {
                                    "type": "string",
                                    "analyzer": "standard"
                                },
                                "full": {
                                    "type": "string",
                                    "index": "not_analyzed"
                                }
                            }
                        },
                        "release_channel": {
                            "type": "string",
                            "analyzer": "keyword"
                        },
                        "signature": {
                            "type": "multi_field",
                            "fields": {
                                "signature": {
                                    "type": "string"
                                },
                                "full": {
                                    "type": "string",
                                    "index": "not_analyzed"
                                }
                            }
                        },
                        "startedDateTime": {
                            "type": "date",
                            "format": "yyyy-MM-dd'T'HH:mm:ssZZ||yyyy-MM-dd'T'HH:mm:ss.SSSSSSZZ"
                        },
                        "success": {
                            "type": "boolean"
                        },
                        "topmost_filenames": {
                            "type": "string"
                        },
                        "truncated": {
                            "type": "boolean"
                        },
                        "uptime": {
                            "type": "long"
                        },
                        "url": {
                            "type": "string",
                            "analyzer": "keyword"
                        },
                        "user_comments": {
                            "type": "multi_field",
                            "fields": {
                                "user_comments": {
                                    "type": "string"
                                },
                                "full": {
                                    "type": "string",
                                    "index": "not_analyzed"
                                }
                            }
                        },
                        "uuid": {
                            "type": "string",
                            "index": "not_analyzed"
                        },
                        "version": {
                            "type": "string",
                            "analyzer": "keyword"
                        }
                    }
                },
                "raw_crash": {
                    "type": "object",
                    "dynamic": "true",
                    "properties": {
                        "Accessibility": {
                            "type": "boolean"
                        },
                        "AdapterDeviceID": {
                            "type": "string"
                        },
                        "AdapterVendorID": {
                            "type": "string"
                        },
                        "Android_Board": {
                            "type": "string"
                        },
                        "Android_Brand": {
                            "type": "string"
                        },
                        "Android_CPU_ABI": {
                            "type": "string",
                            "analyzer": "keyword"
                        },
                        "Android_CPU_ABI2": {
                            "type": "string",
                            "analyzer": "keyword"
                        },
                        "Android_Device": {
                            "type": "string",
                            "analyzer": "keyword"
                        },
                        "Android_Display": {
                            "type": "string"
                        },
                        "Android_Fingerprint": {
                            "type": "string"
                        },
                        "Android_Hardware": {
                            "type": "string"
                        },
                        "Android_Manufacturer": {
                            "type": "string"
                        },
                        "Android_Model": {
                            "type": "multi_field",
                            "fields": {
                                "Android_Model": {
                                    "type": "string"
                                },
                                "full": {
                                    "type": "string",
                                    "index": "not_analyzed"
                                }
                            }
                        },
                        "Android_Version": {
                            "type": "string",
                            "analyzer": "keyword"
                        },
                        "AvailablePageFile": {
                            "type": "long"
                        },
                        "AvailablePhysicalMemory": {
                            "type": "long"
                        },
                        "AvailableVirtualMemory": {
                            "type": "long"
                        },
                        "B2G_OS_Version": {
                            "type": "string",
                            "analyzer": "keyword"
                        },
                        "BIOS_Manufacturer": {
                            "type": "string",
                            "analyzer": "keyword"
                        },
                        "BuildID": {
                            "type": "long"
                        },
                        "CpuUsageFlashProcess1": {
                            "type": "double"
                        },
                        "CpuUsageFlashProcess2": {
                            "type": "double"
                        },
                        "CrashTime": {
                            "type": "long"
                        },
                        "DOMIPCEnabled": {
                            "type": "boolean",
                            "null_value": false
                        },
                        "EMCheckCompatibility": {
                            "type": "boolean"
                        },
                        "FramePoisonBase": {
                            "type": "string"
                        },
                        "FramePoisonSize": {
                            "type": "long"
                        },
                        "Hang": {
                            "type": "boolean"
                        },
                        "InstallTime": {
                            "type": "long"
                        },
                        "IsGarbageCollecting": {
                            "type": "boolean"
                        },
                        "Min_ARM_Version": {
                            "type": "string"
                        },
                        "Notes": {
                            "type": "string"
                        },
                        "NumberOfProcessors": {
                            "type": "long"
                        },
                        "OOMAllocationSize": {
                            "type": "long"
                        },
                        "PluginCpuUsage": {
                            "type": "double"
                        },
                        "PluginHang": {
                            "type": "boolean"
                        },
                        "PluginHangUIDuration": {
                            "type": "long"
                        },
                        "ProcessType": {
                            "type": "string",
                            "analyzer": "keyword"
                        },
                        "SecondsSinceLastCrash": {
                            "type": "long"
                        },
                        "StartupTime": {
                            "type": "long"
                        },
                        "SystemMemoryUsePercentage": {
                            "type": "long"
                        },
                        "Theme": {
                            "type": "string",
                            "analyzer": "keyword"
                        },
                        "Throttleable": {
                            "type": "boolean"
                        },
                        "TotalVirtualMemory": {
                            "type": "long"
                        },
                        "Vendor": {
                            "type": "string"
                        },
                        "additional_minidumps": {
                            "type": "string"
                        },
                        "buildid": {
                            "type": "long"
                        },
                        "legacy_processing": {
                            "type": "boolean"
                        },
                        "throttle_rate": {
                            "type": "long"
                        },
                        "timestamp": {
                            "type": "double"
                        },
                        "useragent_locale": {
                            "type": "string",
                            "analyzer": "keyword"
                        }
                    }
                }
            }
        }
    }
}
