From 737f498e1f402a5a41068a37ab20f34cabd4b052 Mon Sep 17 00:00:00 2001 From: Rasmus Luha Date: Tue, 29 Apr 2025 23:49:58 +0300 Subject: telegraf basicETL working --- config.py | 13 ++++++++----- 1 file changed, 8 insertions(+), 5 deletions(-) (limited to 'config.py') diff --git a/config.py b/config.py index 86c43aa..a2911a5 100644 --- a/config.py +++ b/config.py @@ -1,5 +1,5 @@ -INTERACTIVE_MODE=True -#PLATFORM="Nifiaskdjas" +INTERACTIVE_MODE=False +#PLATFORM="Nifi" #### Nifi #### @@ -10,10 +10,13 @@ NIFI_DEPLOY=False NIFI_USER="lab08nifiuser" NIFI_PASS="tartunifi2023" -NIFI_MEASUREMENT_NAME="test_measurementName" +MEASUREMENT_NAME="test_measurementName" ## Database -DB_URL="http://influxdb:8086/write?db=nifi_weatherData" +#DB_URL="http://influxdb:8086/write?db=nifi_weatherData" +DB_URL="http://influxdb:8086" +#DB_NAME="nifi_weatherData" +DB_NAME="telegraf_weatherData" DB_USER="admin" DB_PASS="admin" @@ -30,5 +33,5 @@ API_URL="https://api.open-meteo.com/v1/forecast?latitude=58.38&longitude=26.72&c API_FIELDS={'temperature': '.current_weather.temperature', 'windspeed': '.current_weather.windspeed'} API_USERNAME="Placeholder" API_PASSWORD="Placehoder" -PIPELINE_SCHEDULING_PERIOD="10 sec" +PIPELINE_SCHEDULING_PERIOD="10" PIPELINE_NAME="test_pipeline" -- cgit v1.2.3