-
Notifications
You must be signed in to change notification settings - Fork 6
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
This PR adds an ingest test to check what types are supported. The test is quite strict right now. It compares the ingested field value literally with the query result. A less strict human/Kibana-acceptable comparison will be added in the future. It prints the following table: <img width="1326" alt="Screenshot 2024-12-20 at 11 52 48" src="https://github.com/user-attachments/assets/8a14ee47-d194-4801-9220-744020d03fa7" />
- Loading branch information
Showing
4 changed files
with
501 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,48 @@ | ||
frontendConnectors: | ||
- name: elastic-ingest | ||
type: elasticsearch-fe-ingest | ||
config: | ||
listenPort: 8080 | ||
- name: elastic-query | ||
type: elasticsearch-fe-query | ||
config: | ||
listenPort: 8080 | ||
backendConnectors: | ||
- name: my-minimal-elasticsearch | ||
type: elasticsearch | ||
config: | ||
url: "http://{{ .elasticsearch_host }}:{{ .elasticsearch_port }}" | ||
user: elastic | ||
password: quesmaquesma | ||
- name: my-clickhouse-instance | ||
type: clickhouse-os | ||
config: | ||
url: clickhouse://{{ .clickhouse_host }}:{{ .clickhouse_port }} | ||
ingestStatistics: true | ||
processors: | ||
- name: my-query-processor | ||
type: quesma-v1-processor-query | ||
config: | ||
indexes: | ||
"*": | ||
target: | ||
- my-clickhouse-instance | ||
|
||
- name: my-ingest-processor | ||
type: quesma-v1-processor-ingest | ||
config: | ||
indexes: | ||
"*": | ||
target: | ||
- my-clickhouse-instance | ||
|
||
pipelines: | ||
- name: my-elasticsearch-proxy-read | ||
frontendConnectors: [ elastic-query ] | ||
processors: [ my-query-processor ] | ||
backendConnectors: [ my-minimal-elasticsearch, my-clickhouse-instance ] | ||
- name: my-elasticsearch-proxy-write | ||
frontendConnectors: [ elastic-ingest ] | ||
processors: [ my-ingest-processor ] | ||
backendConnectors: [ my-minimal-elasticsearch, my-clickhouse-instance ] | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.