Skip to content

Instantly share code, notes, and snippets.

@xenoid
Created March 11, 2020 10:27
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save xenoid/9c705ee8b2a5f8b7989be312b887a2dd to your computer and use it in GitHub Desktop.
Save xenoid/9c705ee8b2a5f8b7989be312b887a2dd to your computer and use it in GitHub Desktop.
{
"settings": {
"index": {
"mapping": {
"total_fields": {
"limit": "10000"
}
},
"refresh_interval": "120s",
"indexing": {
"slowlog": {
"threshold": {
"index": {
"warn": "10s",
"debug": "5s",
"info": "10s"
}
}
}
},
"translog": {
"flush_threshold_size": "5gb",
"durability": "async"
},
"auto_expand_replicas": "false",
"provided_name": "logstash-2020.03.11",
"creation_date": "1583859601433",
"requests": {
"cache": {
"enable": "true"
}
},
"analysis": {
"analyzer": {
"myown": {
"filter": [
"standard",
"lowercase",
"stop"
],
"char_filter": [
"myownword"
],
"type": "custom",
"tokenizer": "myown"
}
},
"char_filter": {
"myownword": {
"type": "mapping",
"mappings": [
"\\.=>_",
"\\u2010=>_",
"'=>_",
"\\:=>_",
"\\u0020=>_",
"\\u005C=>_",
"\\u0028=>_",
"\\u0029=>_",
"\\u0026=>_",
"\\u002F=>_",
"\\u002D=>_",
"\\u003F=>_",
"\\u003D=>_",
"\\u0025=>_",
"\\u2022=>_",
"\\u2024=>_",
"\\u2219=>_",
"\\u003B=>_",
"\\u0024=>_",
"\\u0040=>_",
"\\u0021=>_",
"\\u005D=>_",
"\\u005B=>_",
"\\u002B=>_",
"\\u223C=>_",
"\\u00A7=>_",
"\\u2038=>_",
"\\u2303=>_",
"\\u005E=>_",
"\\u00B0=>_",
"\\u2032=>_",
"\\u0022=>_",
"\\u201E=>_",
"\\u201C=>_",
"\\u201D=>_",
"\\u002A=>_",
"\\u0303=>_",
"\\u0330=>_",
"\\u0334=>_",
"\\u0023=>_",
"\\u007E=>_",
"\\u003C=>_",
"\\u003E=>_",
"\\u007C=>_",
"\\u2223=>_",
"\\u0060=>_",
"\\u00B4=>_",
"\\u00AE=>_",
"\\u00A9=>_",
"\\u007B=>_",
"\\u007D=>_",
"\\u002C=>_",
"\\u00AB=>_",
"\\u00D7=>_",
"\\u00A3=>_",
"\\u00BB=>_",
"\\u00BD=>_",
"\\u00F7=>_",
"\\u00B6=>_",
"\\u00B5=>_",
"\\u0336=>_",
"\\u0335=>_",
"\\u0332=>_",
"\\–=>_",
"\\u00E2=>_",
"\\u20AC=>_",
"\\u251C=>_",
"\\u00B2=>_",
"\\u00A6=>_"
]
}
},
"tokenizer": {
"myown": {
"type": "standard",
"max_token_length": "3500"
}
}
},
"priority": "100",
"number_of_replicas": "0",
"uuid": "feg9IzsIQt6tORK9Q-coAQ",
"version": {
"created": "6080699"
},
"lifecycle": {
"name": "index-lifecycle_logstash"
},
"codec": "best_compression",
"routing": {
"allocation": {
"require": {
"tier": "t1"
},
"total_shards_per_node": "1"
}
},
"search": {
"slowlog": {
"threshold": {
"fetch": {
"warn": "1s",
"debug": "900ms",
"info": "800ms"
},
"query": {
"warn": "15s",
"debug": "5s",
"info": "10s"
}
}
}
},
"number_of_shards": "38",
"max_docvalue_fields_search": "10000",
"merge": {
"scheduler": {
"max_thread_count": "50",
"max_merge_count": "50"
},
"policy": {
"max_merge_at_once": "50",
"max_merged_segment": "10gb",
"segments_per_tier": "25",
"floor_segment": "100mb"
}
}
}
},
"defaults": {
"index": {
"max_ngram_diff": "1",
"translog": {
"generation_threshold_size": "64mb",
"retention": {
"size": "512mb",
"age": "12h"
},
"sync_interval": "5s"
},
"max_inner_result_window": "100",
"mapper": {
"dynamic": "true"
},
"unassigned": {
"node_left": {
"delayed_timeout": "1m"
}
},
"max_terms_count": "65536",
"data_path": "",
"lifecycle": {
"rollover_alias": "",
"indexing_complete": "false"
},
"highlight": {
"max_analyzed_offset": "-1"
},
"routing": {
"rebalance": {
"enable": "all"
},
"allocation": {
"enable": "all"
}
},
"search": {
"slowlog": {
"level": "TRACE",
"threshold": {
"fetch": {
"trace": "-1"
},
"query": {
"trace": "-1"
}
}
},
"throttled": "false"
},
"fielddata": {
"cache": "node"
},
"routing_partition_size": "1",
"merge": {
"scheduler": {
"auto_throttle": "true"
},
"policy": {
"max_merge_at_once_explicit": "30",
"reclaim_deletes_weight": "2.0",
"expunge_deletes_allowed": "10.0",
"deletes_pct_allowed": "33.0"
}
},
"max_refresh_listeners": "1000",
"default_pipeline": "_none",
"max_regex_length": "1000",
"max_slices_per_scroll": "1024",
"shard": {
"check_on_startup": "false"
},
"load_fixed_bitset_filters_eagerly": "true",
"number_of_routing_shards": "5",
"write": {
"wait_for_active_shards": "1"
},
"xpack": {
"watcher": {
"template": {
"version": ""
}
},
"version": "",
"ccr": {
"following_index": "false"
}
},
"percolator": {
"map_unmapped_fields_as_text": "false",
"map_unmapped_fields_as_string": "false"
},
"allocation": {
"max_retries": "5"
},
"mapping": {
"coerce": "false",
"nested_fields": {
"limit": "50"
},
"depth": {
"limit": "20"
},
"ignore_malformed": "false"
},
"source_only": "false",
"indexing": {
"slowlog": {
"reformat": "true",
"threshold": {
"index": {
"trace": "-1"
}
},
"source": "1000",
"level": "TRACE"
}
},
"compound_format": "0.1",
"soft_deletes": {
"enabled": "false",
"retention": {
"operations": "0"
},
"retention_lease": {
"period": "12h"
}
},
"blocks": {
"metadata": "false",
"read": "false",
"read_only_allow_delete": "false",
"read_only": "false",
"write": "false"
},
"max_script_fields": "32",
"query": {
"default_field": [
"*"
],
"parse": {
"allow_unmapped_fields": "true"
}
},
"format": "0",
"max_result_window": "10000",
"frozen": "false",
"sort": {
"missing": [],
"mode": [],
"field": [],
"order": []
},
"store": {
"stats_refresh_interval": "10s",
"type": "",
"fs": {
"fs_lock": "native"
},
"preload": []
},
"queries": {
"cache": {
"enabled": "true"
}
},
"ttl": {
"disable_purge": "false"
},
"warmer": {
"enabled": "true"
},
"max_rescore_window": "10000",
"max_adjacency_matrix_filters": "100",
"max_shingle_diff": "3",
"gc_deletes": "60s",
"optimize_auto_generated_id": "true",
"query_string": {
"lenient": "false"
}
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment