Adding logstashFunctional scenario data.
This commit is contained in:
parent
1431d28852
commit
a2a31c22a4
16
test/fixtures/config.js
vendored
16
test/fixtures/config.js
vendored
|
@ -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'
|
||||
}]
|
||||
}
|
||||
}
|
||||
};
|
||||
|
|
9516
test/fixtures/scenarios/logstashFunctional/logstash-2015.09.20.js
vendored
Normal file
9516
test/fixtures/scenarios/logstashFunctional/logstash-2015.09.20.js
vendored
Normal file
File diff suppressed because one or more lines are too long
9231
test/fixtures/scenarios/logstashFunctional/logstash-2015.09.21.js
vendored
Normal file
9231
test/fixtures/scenarios/logstashFunctional/logstash-2015.09.21.js
vendored
Normal file
File diff suppressed because one or more lines are too long
9269
test/fixtures/scenarios/logstashFunctional/logstash-2015.09.22.js
vendored
Normal file
9269
test/fixtures/scenarios/logstashFunctional/logstash-2015.09.22.js
vendored
Normal file
File diff suppressed because one or more lines are too long
110
test/fixtures/scenarios/logstashFunctional/makelogsIndexDefinition.js
vendored
Normal file
110
test/fixtures/scenarios/logstashFunctional/makelogsIndexDefinition.js
vendored
Normal 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'
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
};
|
Loading…
Reference in a new issue