Skip to content
This repository was archived by the owner on Nov 7, 2025. It is now read-only.

Commit eac5ddf

Browse files
authored
Update examples/ a bit (#1388)
* added `sample_logs`. I checked by running the docker compose myself and the dashboard fully works, so why not do so. * bumped Clickhouse version to match our local configs
1 parent 911f86a commit eac5ddf

File tree

3 files changed

+32
-2
lines changed

3 files changed

+32
-2
lines changed

examples/kibana-sample-data/docker-compose.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -76,7 +76,7 @@ services:
7676
command: [ "/bin/bash", "-c", "/local_mount/run.sh" ]
7777
clickhouse:
7878
# user: 'default', no password
79-
image: clickhouse/clickhouse-server:23.12.2.59-alpine
79+
image: clickhouse/clickhouse-server:24.5.3.5-alpine
8080
ports:
8181
- "8123:8123"
8282
- "9000:9000"

examples/kibana-sample-data/kibana/run.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -61,7 +61,7 @@ add_sample_dataset() {
6161
wait_until_available
6262

6363
add_sample_dataset "flights"
64-
#add_sample_dataset "logs"
64+
add_sample_dataset "logs"
6565
add_sample_dataset "ecommerce"
6666

6767
echo -n "Adding data view logs-generic... "

examples/kibana-sample-data/quesma/config/local-dev.yaml

Lines changed: 30 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -54,6 +54,21 @@ processors:
5454
type: geo_point
5555
"OriginLocation":
5656
type: geo_point
57+
kibana_sample_data_logs:
58+
target: [ my-clickhouse-data-source ]
59+
schemaOverrides:
60+
fields:
61+
timestamp:
62+
type: alias
63+
targetColumnName: "@timestamp"
64+
ip:
65+
type: ip
66+
clientip:
67+
type: ip
68+
"geo.coordinates":
69+
type: geo_point
70+
"geo.src":
71+
type: keyword
5772
logs-generic-default:
5873
target:
5974
- my-clickhouse-data-source
@@ -103,6 +118,21 @@ processors:
103118
type: geo_point
104119
"OriginLocation":
105120
type: geo_point
121+
kibana_sample_data_logs:
122+
target: [ my-clickhouse-data-source ]
123+
schemaOverrides:
124+
fields:
125+
timestamp:
126+
type: alias
127+
targetColumnName: "@timestamp"
128+
ip:
129+
type: ip
130+
clientip:
131+
type: ip
132+
"geo.coordinates":
133+
type: geo_point
134+
"geo.src":
135+
type: keyword
106136
logs-generic-default:
107137
target:
108138
- my-clickhouse-data-source

0 commit comments

Comments
 (0)