Adding logstashFunctional scenario data.

This commit is contained in:
LeeDr 2015-10-26 12:42:40 -05:00
parent 1431d28852
commit a2a31c22a4
5 changed files with 28142 additions and 0 deletions

View file

@ -23,6 +23,22 @@ module.exports = {
source: 'kibana.js',
haltOnFailure: false
}]
},
logstashFunctional: {
baseDir: path.join(rootDir, 'logstashFunctional'),
bulk: [{
indexDefinition: 'makelogsIndexDefinition.js',
indexName: 'logstash-2015.09.20',
source: 'logstash-2015.09.20.js'
}, {
indexDefinition: 'makelogsIndexDefinition.js',
indexName: 'logstash-2015.09.21',
source: 'logstash-2015.09.21.js'
}, {
indexDefinition: 'makelogsIndexDefinition.js',
indexName: 'logstash-2015.09.22',
source: 'logstash-2015.09.22.js'
}]
}
}
};

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'
}
}
}
}
}
}
}
}
};