Created
July 5, 2017 19:38
-
-
Save milescrabill/442e3f48bd84b2d0f0363d3d0db26fbd to your computer and use it in GitHub Desktop.
Socorro index creation for reindex-from-remote. Note that # of replicas and refresh interval should be changed upon the completion of the reindex operation.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"mappings": { | |
"crash_reports": { | |
"_all": { | |
"enabled": false | |
}, | |
"properties": { | |
"raw_crash": { | |
"dynamic": "true", | |
"type": "object", | |
"properties": { | |
"TotalPageFile": { | |
"type": "long" | |
}, | |
"ContentSandboxEnabled": { | |
"type": "boolean", | |
"null_value": false | |
}, | |
"PluginHangUIDuration": { | |
"type": "long" | |
}, | |
"InstallTime": { | |
"type": "long" | |
}, | |
"Android_Fingerprint": { | |
"type": "keyword", | |
"ignore_above": 10922 | |
}, | |
"IsGarbageCollecting": { | |
"type": "boolean", | |
"null_value": false | |
}, | |
"IPCMessageName": { | |
"fields": { | |
"full": { | |
"type": "keyword", | |
"ignore_above": 10922 | |
} | |
}, | |
"type": "text" | |
}, | |
"AppInitDLLs": { | |
"type": "text", | |
"fielddata": true, | |
"analyzer": "semicolon_keywords" | |
}, | |
"ShutdownProgress": { | |
"type": "keyword", | |
"ignore_above": 10922 | |
}, | |
"TotalVirtualMemory": { | |
"type": "long" | |
}, | |
"IPCShutdownState": { | |
"type": "keyword", | |
"ignore_above": 10922 | |
}, | |
"MozCrashReason": { | |
"fields": { | |
"full": { | |
"type": "keyword", | |
"ignore_above": 10922 | |
} | |
}, | |
"type": "text" | |
}, | |
"Theme": { | |
"type": "keyword", | |
"ignore_above": 10922 | |
}, | |
"IPCSystemError": { | |
"type": "integer" | |
}, | |
"SafeMode": { | |
"type": "boolean", | |
"null_value": false | |
}, | |
"ActiveExperiment": { | |
"type": "keyword", | |
"ignore_above": 10922 | |
}, | |
"useragent_locale": { | |
"type": "text", | |
"analyzer": "semicolon_keywords" | |
}, | |
"IPCMessageSize": { | |
"type": "long" | |
}, | |
"FramePoisonSize": { | |
"type": "long" | |
}, | |
"FramePoisonBase": { | |
"type": "keyword", | |
"ignore_above": 10922 | |
}, | |
"Android_Hardware": { | |
"type": "keyword", | |
"ignore_above": 10922 | |
}, | |
"BIOS_Manufacturer": { | |
"type": "keyword", | |
"ignore_above": 10922 | |
}, | |
"Vendor": { | |
"type": "keyword", | |
"ignore_above": 10922 | |
}, | |
"AvailablePageFile": { | |
"type": "long" | |
}, | |
"EMCheckCompatibility": { | |
"type": "boolean", | |
"null_value": false | |
}, | |
"GraphicsCriticalError": { | |
"type": "keyword", | |
"ignore_above": 10922 | |
}, | |
"Throttleable": { | |
"type": "boolean" | |
}, | |
"IPCFatalErrorMsg": { | |
"fields": { | |
"full": { | |
"type": "keyword", | |
"ignore_above": 10922 | |
} | |
}, | |
"type": "text" | |
}, | |
"FlashProcessDump": { | |
"type": "keyword", | |
"ignore_above": 10922 | |
}, | |
"ContainsMemoryReport": { | |
"type": "short" | |
}, | |
"SecondsSinceLastCrash": { | |
"type": "long" | |
}, | |
"DOMIPCEnabled": { | |
"type": "short", | |
"null_value": 0 | |
}, | |
"CoGetInterfaceAndReleaseStreamFailure": { | |
"type": "keyword", | |
"ignore_above": 10922 | |
}, | |
"TotalPhysicalMemory": { | |
"type": "long" | |
}, | |
"AsyncPluginInit": { | |
"type": "boolean", | |
"null_value": false | |
}, | |
"AdapterDeviceID": { | |
"type": "keyword", | |
"ignore_above": 10922 | |
}, | |
"Android_Device": { | |
"type": "keyword", | |
"ignore_above": 10922 | |
}, | |
"Android_CPU_ABI2": { | |
"type": "keyword", | |
"ignore_above": 10922 | |
}, | |
"throttle_rate": { | |
"type": "long" | |
}, | |
"AvailableVirtualMemory": { | |
"type": "long" | |
}, | |
"CpuUsageFlashProcess2": { | |
"type": "double" | |
}, | |
"CpuUsageFlashProcess1": { | |
"type": "double" | |
}, | |
"AsyncPluginShutdownStates": { | |
"fields": { | |
"full": { | |
"type": "keyword", | |
"ignore_above": 10922 | |
} | |
}, | |
"type": "text" | |
}, | |
"Android_CPU_ABI": { | |
"type": "keyword", | |
"ignore_above": 10922 | |
}, | |
"OOMAllocationSize": { | |
"type": "long" | |
}, | |
"buildid": { | |
"type": "long" | |
}, | |
"timestamp": { | |
"type": "double" | |
}, | |
"CoMarshalInterfaceFailure": { | |
"type": "keyword", | |
"ignore_above": 10922 | |
}, | |
"Android_Display": { | |
"type": "keyword", | |
"ignore_above": 10922 | |
}, | |
"Android_Manufacturer": { | |
"type": "keyword", | |
"ignore_above": 10922 | |
}, | |
"RemoteType": { | |
"type": "keyword", | |
"ignore_above": 10922 | |
}, | |
"UptimeTS": { | |
"type": "double", | |
"ignore_malformed": true | |
}, | |
"AvailablePhysicalMemory": { | |
"type": "long" | |
}, | |
"AdapterVendorID": { | |
"type": "keyword", | |
"ignore_above": 10922 | |
}, | |
"Android_Brand": { | |
"type": "keyword", | |
"ignore_above": 10922 | |
}, | |
"AbortMessage": { | |
"fields": { | |
"full": { | |
"type": "keyword", | |
"ignore_above": 10922 | |
} | |
}, | |
"type": "text" | |
}, | |
"E10SCohort": { | |
"type": "keyword", | |
"ignore_above": 10922 | |
}, | |
"GMPPlugin": { | |
"type": "short" | |
}, | |
"StartupTime": { | |
"type": "long" | |
}, | |
"PluginCpuUsage": { | |
"type": "double" | |
}, | |
"Min_ARM_Version": { | |
"type": "integer" | |
}, | |
"PluginHang": { | |
"type": "boolean", | |
"null_value": false | |
}, | |
"BuildID": { | |
"type": "long" | |
}, | |
"SystemError": { | |
"type": "long" | |
}, | |
"Android_Model": { | |
"fields": { | |
"full": { | |
"type": "keyword", | |
"ignore_above": 10922 | |
} | |
}, | |
"type": "text" | |
}, | |
"AsyncShutdownTimeout": { | |
"fields": { | |
"full": { | |
"type": "keyword", | |
"ignore_above": 10922 | |
} | |
}, | |
"type": "text" | |
}, | |
"ContentSandboxCapabilities": { | |
"type": "integer" | |
}, | |
"ContentSandboxLevel": { | |
"type": "short" | |
}, | |
"StartupCrash": { | |
"type": "boolean", | |
"null_value": false | |
}, | |
"Android_Board": { | |
"type": "keyword", | |
"ignore_above": 10922 | |
}, | |
"legacy_processing": { | |
"type": "boolean", | |
"null_value": false | |
}, | |
"ContentSandboxCapable": { | |
"type": "boolean", | |
"null_value": false | |
}, | |
"Android_Version": { | |
"type": "keyword", | |
"ignore_above": 10922 | |
}, | |
"GraphicsStartupTest": { | |
"type": "short" | |
}, | |
"SystemMemoryUsePercentage": { | |
"type": "long" | |
}, | |
"B2G_OS_Version": { | |
"type": "keyword", | |
"ignore_above": 10922 | |
}, | |
"IPCExtraSystemError": { | |
"fields": { | |
"full": { | |
"type": "keyword", | |
"ignore_above": 10922 | |
} | |
}, | |
"type": "text" | |
}, | |
"ActiveExperimentBranch": { | |
"type": "keyword", | |
"ignore_above": 10922 | |
}, | |
"SubmittedFromInfobar": { | |
"type": "boolean", | |
"null_value": false | |
}, | |
"IPCFatalErrorProtocol": { | |
"type": "keyword", | |
"ignore_above": 10922 | |
}, | |
"AsyncPluginShutdown": { | |
"fields": { | |
"full": { | |
"type": "keyword", | |
"ignore_above": 10922 | |
} | |
}, | |
"type": "text" | |
}, | |
"AddonsShouldHaveBlockedE10s": { | |
"type": "boolean", | |
"null_value": false | |
}, | |
"Accessibility": { | |
"type": "boolean", | |
"null_value": false | |
} | |
} | |
}, | |
"processed_crash": { | |
"dynamic": "true", | |
"type": "object", | |
"properties": { | |
"client_crash_date": { | |
"type": "date", | |
"format": "yyyy-MM-dd'T'HH:mm:ssZZ||yyyy-MM-dd'T'HH:mm:ss.SSSSSSZZ" | |
}, | |
"PluginFilename": { | |
"fields": { | |
"full": { | |
"type": "keyword", | |
"ignore_above": 10922 | |
} | |
}, | |
"type": "text" | |
}, | |
"hang_type": { | |
"type": "short" | |
}, | |
"startedDateTime": { | |
"type": "date", | |
"format": "yyyy-MM-dd'T'HH:mm:ssZZ||yyyy-MM-dd'T'HH:mm:ss.SSSSSSZZ" | |
}, | |
"java_stack_trace": { | |
"fields": { | |
"full": { | |
"type": "keyword", | |
"ignore_above": 10922 | |
} | |
}, | |
"type": "text" | |
}, | |
"crash_time": { | |
"type": "long" | |
}, | |
"crashedThread": { | |
"type": "long" | |
}, | |
"product": { | |
"fields": { | |
"full": { | |
"type": "keyword", | |
"ignore_above": 10922 | |
} | |
}, | |
"type": "text" | |
}, | |
"cpu_info": { | |
"fields": { | |
"full": { | |
"type": "keyword", | |
"ignore_above": 10922 | |
} | |
}, | |
"type": "text" | |
}, | |
"PluginName": { | |
"fields": { | |
"full": { | |
"type": "keyword", | |
"ignore_above": 10922 | |
} | |
}, | |
"type": "text" | |
}, | |
"install_age": { | |
"type": "long" | |
}, | |
"distributor": { | |
"type": "keyword", | |
"ignore_above": 10922 | |
}, | |
"topmost_filenames": { | |
"type": "text", | |
"fielddata": true, | |
"analyzer": "semicolon_keywords" | |
}, | |
"processor_notes": { | |
"fields": { | |
"full": { | |
"type": "keyword", | |
"ignore_above": 10922 | |
} | |
}, | |
"type": "text" | |
}, | |
"user_comments": { | |
"fields": { | |
"full": { | |
"type": "keyword", | |
"ignore_above": 10922 | |
} | |
}, | |
"type": "text" | |
}, | |
"os_pretty_version": { | |
"fields": { | |
"full": { | |
"type": "keyword", | |
"ignore_above": 10922 | |
} | |
}, | |
"type": "text" | |
}, | |
"json_dump": { | |
"dynamic": "true", | |
"type": "object", | |
"properties": { | |
"largest_free_vm_block": { | |
"type": "keyword", | |
"ignore_above": 10922 | |
}, | |
"write_combine_size": { | |
"type": "long" | |
}, | |
"system_info": { | |
"dynamic": "true", | |
"type": "object", | |
"properties": { | |
"cpu_count": { | |
"type": "short" | |
} | |
} | |
}, | |
"tiny_block_size": { | |
"type": "long" | |
} | |
} | |
}, | |
"release_channel": { | |
"type": "keyword", | |
"ignore_above": 10922 | |
}, | |
"uuid": { | |
"type": "keyword", | |
"ignore_above": 10922 | |
}, | |
"flash_version": { | |
"type": "keyword", | |
"ignore_above": 10922 | |
}, | |
"distributor_version": { | |
"type": "keyword", | |
"ignore_above": 10922 | |
}, | |
"truncated": { | |
"type": "boolean", | |
"null_value": false | |
}, | |
"process_type": { | |
"type": "keyword", | |
"ignore_above": 10922 | |
}, | |
"memory_measures": { | |
"dynamic": "true", | |
"type": "object", | |
"properties": { | |
"vsize_max_contiguous": { | |
"type": "long" | |
}, | |
"system_heap_allocated": { | |
"type": "long" | |
}, | |
"heap_unclassified": { | |
"type": "long" | |
}, | |
"resident_unique": { | |
"type": "long" | |
}, | |
"host_object_urls": { | |
"type": "long" | |
}, | |
"resident": { | |
"type": "long" | |
}, | |
"explicit": { | |
"type": "long" | |
}, | |
"js_main_runtime": { | |
"type": "long" | |
}, | |
"private": { | |
"type": "long" | |
}, | |
"heap_overhead": { | |
"type": "long" | |
}, | |
"ghost_windows": { | |
"type": "long" | |
}, | |
"images": { | |
"type": "long" | |
}, | |
"gfx_textures": { | |
"type": "long" | |
}, | |
"heap_allocated": { | |
"type": "long" | |
}, | |
"vsize": { | |
"type": "long" | |
}, | |
"top_none_detached": { | |
"type": "long" | |
} | |
} | |
}, | |
"os_version": { | |
"fields": { | |
"full": { | |
"type": "keyword", | |
"ignore_above": 10922 | |
} | |
}, | |
"type": "text" | |
}, | |
"PluginVersion": { | |
"fields": { | |
"full": { | |
"type": "keyword", | |
"ignore_above": 10922 | |
} | |
}, | |
"type": "text" | |
}, | |
"version": { | |
"type": "keyword", | |
"ignore_above": 10922 | |
}, | |
"build": { | |
"type": "long" | |
}, | |
"proto_signature": { | |
"fields": { | |
"full": { | |
"type": "keyword", | |
"ignore_above": 10922 | |
} | |
}, | |
"type": "text" | |
}, | |
"email": { | |
"type": "keyword", | |
"ignore_above": 10922 | |
}, | |
"addons_checked": { | |
"type": "boolean", | |
"null_value": false | |
}, | |
"app_notes": { | |
"fields": { | |
"full": { | |
"type": "keyword", | |
"ignore_above": 10922 | |
} | |
}, | |
"type": "text" | |
}, | |
"os_name": { | |
"fields": { | |
"full": { | |
"type": "keyword", | |
"ignore_above": 10922 | |
} | |
}, | |
"type": "text" | |
}, | |
"build_date": { | |
"type": "date", | |
"format": "yyyy-MM-dd'T'HH:mm:ssZZ||yyyy-MM-dd'T'HH:mm:ss.SSSSSSZZ" | |
}, | |
"last_crash": { | |
"type": "long" | |
}, | |
"date_processed": { | |
"type": "date", | |
"format": "yyyy-MM-dd'T'HH:mm:ssZZ||yyyy-MM-dd'T'HH:mm:ss.SSSSSSZZ" | |
}, | |
"cpu_name": { | |
"type": "keyword", | |
"ignore_above": 10922 | |
}, | |
"uptime": { | |
"type": "long" | |
}, | |
"Winsock_LSP": { | |
"fields": { | |
"full": { | |
"type": "keyword", | |
"ignore_above": 10922 | |
} | |
}, | |
"type": "text" | |
}, | |
"reason": { | |
"fields": { | |
"full": { | |
"type": "keyword", | |
"ignore_above": 10922 | |
} | |
}, | |
"type": "text" | |
}, | |
"address": { | |
"type": "keyword", | |
"ignore_above": 10922 | |
}, | |
"completeddatetime": { | |
"type": "date", | |
"format": "yyyy-MM-dd'T'HH:mm:ssZZ||yyyy-MM-dd'T'HH:mm:ss.SSSSSSZZ" | |
}, | |
"productid": { | |
"type": "keyword", | |
"ignore_above": 10922 | |
}, | |
"classifications": { | |
"type": "object", | |
"dynamic": "true", | |
"properties": { | |
"skunk_works": { | |
"dynamic": "true", | |
"properties": { | |
"classification_version": { | |
"type": "keyword", | |
"ignore_above": 10922 | |
}, | |
"classification_data": { | |
"type": "text" | |
}, | |
"classification": { | |
"type": "keyword", | |
"ignore_above": 10922 | |
} | |
} | |
}, | |
"support": { | |
"dynamic": "true", | |
"properties": { | |
"classification_version": { | |
"type": "keyword", | |
"ignore_above": 10922 | |
}, | |
"classification_data": { | |
"type": "text" | |
}, | |
"classification": { | |
"type": "keyword", | |
"ignore_above": 10922 | |
} | |
} | |
} | |
} | |
}, | |
"success": { | |
"type": "boolean" | |
}, | |
"url": { | |
"type": "keyword", | |
"ignore_above": 10922 | |
}, | |
"signature": { | |
"fields": { | |
"full": { | |
"type": "keyword", | |
"ignore_above": 10922 | |
} | |
}, | |
"type": "text" | |
}, | |
"addons": { | |
"type": "keyword", | |
"ignore_above": 10922 | |
}, | |
"exploitability": { | |
"fields": { | |
"full": { | |
"type": "keyword", | |
"ignore_above": 10922 | |
} | |
}, | |
"type": "text" | |
} | |
} | |
} | |
} | |
} | |
}, | |
"settings": { | |
"index.mapping.ignore_malformed": true, | |
"index": { | |
"query": { | |
"default_field": "signature" | |
}, | |
"analysis": { | |
"analyzer": { | |
"semicolon_keywords": { | |
"pattern": ";", | |
"type": "pattern" | |
} | |
} | |
}, | |
"number_of_shards": 5, | |
"number_of_replicas" : 0, | |
"refresh_interval" : -1 | |
} | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment