From 3cab8ee660cf39405bdc5c6f1ad8ceb067c66c9f Mon Sep 17 00:00:00 2001 From: Maksym Makuch Date: Mon, 8 Apr 2024 17:57:46 +0100 Subject: [PATCH] * Updates ecs endpoint documentation * Updates k8s helm chart docs --- sending-data/platforms/aws/ecs-logs.md | 14 +++++++++----- sending-data/platforms/kubernetes.md | 4 ++-- 2 files changed, 11 insertions(+), 7 deletions(-) diff --git a/sending-data/platforms/aws/ecs-logs.md b/sending-data/platforms/aws/ecs-logs.md index be961f71f..a84c9c0ba 100644 --- a/sending-data/platforms/aws/ecs-logs.md +++ b/sending-data/platforms/aws/ecs-logs.md @@ -69,12 +69,13 @@ export function API({ stack }: StackContext) { logging: new ecs.FireLensLogDriver({ options: { "Name": "http", - "Host": "ecs-logs-ingest.baselime.io", + "Host": "events.baselime.io", "Port": "443", "TLS": "on", "format": "json", "retry_limit": "2", "header": `x-api-key ${key}`, + "URI": "/v1/ecs-logs" }, }), } @@ -99,12 +100,13 @@ resource "aws_ecs_task_definition" "example_task" { log_driver = "awsfirelens" options = { "Name" = "http" - "Host" = "ecs-logs-ingest.baselime.io" + "Host" = "events.baselime.io" "Port" = "443" "TLS" = "on" "format" = "json" "retry_limit" = "2" "header" = "x-api-key " + "URI" = "/v1/ecs-logs" } } } @@ -126,12 +128,13 @@ taskDef.addContainer("container", { logging: new ecs.FireLensLogDriver({ options: { "Name": "http", - "Host": "ecs-logs-ingest.baselime.io", + "Host": "events.baselime.io", "Port": "443", "TLS": "on", "format": "json", "retry_limit": "2", "header": `x-api-key `, + "URI": "/v1/ecs-logs" }, }), }); @@ -153,13 +156,14 @@ taskDef.addContainer("container", { "logConfiguration": { "logDriver": "awsfirelens", "options": { - "Host": "ecs-logs-ingest.baselime.io", + "Host": "events.baselime.io", "Name": "http", "Port": "443", "TLS": "on", "format": "json", "header": "x-api-key ", - "retry_limit": "2" + "retry_limit": "2", + "URI": "/v1/ecs-logs" }, "secretOptions": [] } diff --git a/sending-data/platforms/kubernetes.md b/sending-data/platforms/kubernetes.md index 40482e654..77d1e5d40 100644 --- a/sending-data/platforms/kubernetes.md +++ b/sending-data/platforms/kubernetes.md @@ -18,9 +18,9 @@ Obtain your API key from the console [Baselime console](https://console.baselime Next install the Baselime Helm chart ```bash -helm repo add baselime-logs-exporter https://github.com/baselime/helm-charts +helm repo add baselime-logs-exporter https://baselime.github.io/helm-charts helm repo update -helm install baselime-logs-exporter baselime-logs-exporter/baselime-logs-exporter-logs-exporter --values custom-values.yaml +helm install baselime-logs-exporter baselime-logs-exporter/baselime-logs-exporter --values custom-values.yaml ``` ---