Import data by line protocl

Hi,
I have some old weather data to import by “File Upload”.
Tis is a part of the data:
wetter,modul=aussenmodul temp=9.5,humitidy=90 1696111232
wetter,modul=aussenmodul temp=9.4,humitidy=90 1696111540
wetter,modul=aussenmodul temp=9.3,humitidy=90 1696111847
wetter,modul=aussenmodul temp=9.2,humitidy=90 1696112155

If I import the data by line protocol manually, it works and the data will be imported.

But if I want to import a whole file with data in it, it don’t work: “Failed to write data - invalid line protocol submitted”
I saved the file as a .txt-file. Is that the problem?

The data in the file ist like the four lines above. Do I need a header or something like this?

If I import the data by line protocol manually, it works and the data will
be imported.

Please explain precisely what you are doing to “import the data manually”.

But if I want to import a whole file with data in it, it don’t work:

Please show us the exact command you are using to “import a whole file”.

Antony.

Hi Antony,

“import the data manually”:
I choose “Sources” → “File Upload” → “Line Protocol”
then I choose “enter manually” and put in the data:

This worked fine.

“Putting in the whole file”:
I choose “Upload file” instead of “enter manually” and loaded a .txt-file up.

Thhis way doesn’t work.

I put the txt-file to this email.

Kind regards!

VG
Frank Wächtler

------ Originalnachricht ------

line-protocol.txt (267 KB)