Public Repository

Last pushed: a year ago
Short Description
Data only container for elasticsearch database from airlines ingestion example.
Full Description

Supported tags

  • 1.7.1

How to use this image

Create data container
docker create --name data-elasticsearch-airlines stratio/elasticsearch-airlines:1.7.1
Run Elasticsearch container linking data container
docker run --name cassandra-node --volumes-from data-elasticsearch-airlines stratio/elasticsearch:1.7.1

Data Structure

Index

flume_airlines_demo-2016-04-07

Type

flight

Definition

{
"properties" : {
"@timestamp": { "type": "date", "store": true },
"@message": { "type": "string", "store": false, "index": "no"},
"flight_date": { "type": "date", "store": true},
"DepDelay": { "type": "integer"},
"destLatLon": { "type": "geo_point"},
"originLatLon": { "type": "geo_point"},
"Origin": {"type": "string"},
"Dest": {"type": "string"},
"ArrDelay": {"type": "integer"},
"UniqueCarrier": {"type": "string"}
},
"_source": { "enabled": true },
"_all": { "enabled": false }
}

Number of registries

Around 2 millions

Example

{
"took" : 135,
"timed_out" : false,
"_shards" : {
"total" : 5,
"successful" : 5,
"failed" : 0
},
"hits" : {
"total" : 1992166,
"max_score" : 1.0,
"hits" : [ {
"_index" : "flume_airlines_demo-2016-04-07",
"_type" : "flight",
"_id" : "AVPxJTsqwqP_gHcnVzZr",
"_score" : 1.0,
"_source":{"@message":"","Origin":"SYR", "Dest":"BTV", "@timestamp":"2016-04-07T14:34:22.036Z", "flight_date":"569155740000", "DepDelay":"6", "UniqueCarrier":"PI", "destLatLon":"44.471861,-73.153278", "ArrDelay":"9","originLatLon":"43.111187,-76.106311"}
}, {
"_index" : "flume_airlines_demo-2016-04-07",
"_type" : "flight",
"_id" : "AVPxJTsqwqP_gHcnVzZw",
"_score" : 1.0,
"_source":{"@message":"","Origin":"SYR", "Dest":"BTV", "@timestamp":"2016-04-07T14:34:22.039Z", "flight_date":"569587200000", "DepDelay":"-3", "UniqueCarrier":"PI", "destLatLon":"44.471861,-73.153278", "ArrDelay":"-6", "originLatLon":"43.111187,-76.106311"}
}... ]
}
}

Docker Pull Command
Owner
stratio

Comments (0)