curl -u $APPLICATION_TOKEN:$INGESTING_HOST \
-H 'Content-type: plain/text' \
-X POST 'https://eu-nbg-2-connect.betterstackdata.com?output_format_pretty_row_numbers=0' \
-d "SELECT dt, raw FROM (
SELECT dt, raw FROM remote(t123456_your_source_logs)
UNION ALL
SELECT dt, raw FROM s3Cluster(primary, t123456_your_source_s3)
WHERE _row_type = 1
) ORDER BY dt DESC LIMIT 100 FORMAT JSONEachRow"
curl -u $APPLICATION_TOKEN:$PASSWORD \
-H 'Content-type: plain/text' \
-X POST 'https://eu-nbg-2-connect.betterstackdata.com?output_format_pretty_row_numbers=0' \
-d "SELECT dt, raw FROM (
SELECT dt, raw FROM remote(t123456_your_source_logs)
UNION ALL
SELECT dt, raw FROM s3Cluster(primary, t123456_your_source_s3)
WHERE _row_type = 1
) ORDER BY dt DESC LIMIT 100 FORMAT JSONEachRow"
helm repo add better-stack https://betterstackhq.github.io/collector-helm-chart
helm repo update
helm install better-stack-collector better-stack/collector \
--set collector.env.COLLECTOR_SECRET="$COLLECTOR_SECRET"
We use cookies to authenticate users, improve the product user experience, and for personalized ads. Learn more.