diff options
author | Rasmus Luha <rasmus.luha@ut.ee> | 2025-04-29 23:49:58 +0300 |
---|---|---|
committer | Rasmus Luha <rasmus.luha@ut.ee> | 2025-04-29 23:49:58 +0300 |
commit | 737f498e1f402a5a41068a37ab20f34cabd4b052 (patch) | |
tree | 2b97e22aa8e3293e4c66e69c5ba7d7bcc5b0a5fd /config.py | |
parent | b2e8ec86abe8089ed5fbd1655677889b6691397f (diff) |
telegraf basicETL working
Diffstat (limited to 'config.py')
-rw-r--r-- | config.py | 13 |
1 files changed, 8 insertions, 5 deletions
@@ -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" |