Skip to content

Commit

Permalink
updates chunking config
Browse files Browse the repository at this point in the history
  • Loading branch information
blaklaybul committed Sep 16, 2020
1 parent 1248e27 commit 1288b8f
Show file tree
Hide file tree
Showing 5 changed files with 16 additions and 12 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,10 @@
"indices_options": {
"allow_no_indices": true
},
"chunking_config": {
"mode": "manual",
"time_span": "900s"
},
"query": {
"bool": {
"must": [
Expand All @@ -21,13 +25,13 @@
"host.name": {
"terms": {
"field": "host.name",
"size": 1000
"size": 100
},
"aggs": {
"buckets": {
"date_histogram": {
"field": "@timestamp",
"fixed_interval": "1m"
"fixed_interval": "5m"
},
"aggs": {
"@timestamp": {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -15,10 +15,10 @@
},
"chunking_config": {
"mode": "manual",
"time_span": "1000s"
"time_span": "900s"
},
"aggregations": {
"host.name": {"terms": {"field": "host.name", "size": 1000},
"host.name": {"terms": {"field": "host.name", "size": 100},
"aggregations": {
"buckets": {
"date_histogram": {"field": "@timestamp","fixed_interval": "5m"},
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -15,10 +15,10 @@
},
"chunking_config": {
"mode": "manual",
"time_span": "1000s"
"time_span": "900s"
},
"aggregations": {
"host.name": {"terms": {"field": "host.name", "size": 1000},
"host.name": {"terms": {"field": "host.name", "size": 100},
"aggregations": {
"buckets": {
"date_histogram": {"field": "@timestamp","fixed_interval": "5m"},
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -15,12 +15,12 @@
},
"chunking_config": {
"mode": "manual",
"time_span": "1000s"
"time_span": "900s"
},
"aggregations": {
"kubernetes.namespace": {"terms": {"field": "kubernetes.namespace", "size": 1000},
"kubernetes.namespace": {"terms": {"field": "kubernetes.namespace", "size": 25},
"aggregations": {
"kubernetes.pod.uid": {"terms": {"field": "kubernetes.pod.uid", "size": 1000},
"kubernetes.pod.uid": {"terms": {"field": "kubernetes.pod.uid", "size": 100},
"aggregations": {
"buckets": {
"date_histogram": {"field": "@timestamp","fixed_interval": "5m"},
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -15,12 +15,12 @@
},
"chunking_config": {
"mode": "manual",
"time_span": "1000s"
"time_span": "900s"
},
"aggregations": {
"kubernetes.namespace": {"terms": {"field": "kubernetes.namespace", "size": 1000},
"kubernetes.namespace": {"terms": {"field": "kubernetes.namespace", "size": 25},
"aggregations": {
"kubernetes.pod.uid": {"terms": {"field": "kubernetes.pod.uid", "size": 1000},
"kubernetes.pod.uid": {"terms": {"field": "kubernetes.pod.uid", "size": 100},
"aggregations": {
"buckets": {
"date_histogram": {"field": "@timestamp","fixed_interval": "5m"},
Expand Down

0 comments on commit 1288b8f

Please sign in to comment.