Local ELK stack to use with docker-compose.
I created this project to explore the parent-child paradigm as shown in the documentation: https://www.elastic.co/guide/en/elasticsearch/reference/current/parent-join.html
https://docs.docker.com/compose/compose-file/
https://www.elastic.co/guide/en/elasticsearch/reference/7.5/docker.html
https://www.elastic.co/guide/en/logstash/7.5/docker-config.html
https://www.elastic.co/guide/en/kibana/7.5/docker.html
GET /visits/_search
{
"query": {
"match_all": {}
}
}
GET /visits/_search
{
"query": {
"has_parent" : {
"parent_type" : "device",
"query" : {
"match_all": {}
}
}
}
}
GET /visits/_search
{
"query": {
"has_child": {
"type" : "visits",
"query" : {
"match_all": {}
}
}
}
}
GET /visits/_search
{
"query": {
"has_child": {
"type": "visit",
"min_children": 1, "max_children": 10,
"query": { "match_all": {} },
"inner_hits": {}
}
}
}