Added logstashFunctional bulk load files.

These are not working yet.
This commit is contained in:
leedr 2015-10-13 12:00:44 -05:00 committed by Joe Fleming
parent b6eecc6ba7
commit fef9468b60
4 changed files with 14123 additions and 0 deletions

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

View file

@ -0,0 +1,110 @@
module.exports = {
'settings': {
'index': {
'number_of_shards': 1,
'number_of_replicas': 0
},
'analysis': {
'analyzer': {
'url': {
'type': 'standard',
'tokenizer': 'uax_url_email',
'max_token_length': 1000
}
}
}
},
'mappings': {
'_default_': {
'dynamic_templates': [{
'string_fields': {
'mapping': {
'type': 'multi_field',
'doc_values': true,
'fields': {
'{name}': {
'index': 'analyzed',
'omit_norms': true,
'type': 'string'
},
'raw': {
'index': 'not_analyzed',
'type': 'string',
'doc_values': true
}
}
},
'match_mapping_type': 'string',
'match': '*'
}
}],
'_timestamp': {
'enabled': true
},
'properties': {
'@timestamp': {
'type': 'date'
},
'id': {
'type': 'integer',
'index': 'not_analyzed',
'include_in_all': false
},
'clientip': {
'type': 'ip'
},
'ip': {
'type': 'ip'
},
'memory': {
'type': 'double'
},
'referer': {
'type': 'string',
'index': 'not_analyzed'
},
'geo': {
'properties': {
'srcdest': {
'type': 'string',
'index': 'not_analyzed'
},
'dest': {
'type': 'string',
'index': 'not_analyzed'
},
'src': {
'type': 'string',
'index': 'not_analyzed'
},
'coordinates': {
'type': 'geo_point'
}
}
},
'meta': {
'properties': {
'related': {
'type': 'string'
},
'char': {
'type': 'string',
'index': 'not_analyzed'
},
'user': {
'properties': {
'firstname': {
'type': 'string'
},
'lastname': {
'type': 'integer',
'index': 'not_analyzed'
}
}
}
}
}
}
}
}
};