You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I have one mqtt input and several outputs. Among the outputs there is an [[output.file]] to generate a CSV file that is to be consumed by a third party.
Expected behavior
The generated CSV file must comply with some rules, being the most important one the column order. For example, it is mandatory that column 1 is the timestamp, column 2 is the temperature and column 3 the pressure.
Actual behavior
It is not possible to specify the mapping between fields (or tags) can the column order. I think that the CSV serializer is outputting the columns sorted by the alphabetical name of the corresponding field, and it is not possible to specify other criteria.
Additional info
No response
The text was updated successfully, but these errors were encountered:
Sorry for the late answer @srebhan . I was away for a time. These days I started implementing this new feature and it works like a charm. Thanks for your work!
Use Case
I have one mqtt input and several outputs. Among the outputs there is an
[[output.file]]
to generate a CSV file that is to be consumed by a third party.Expected behavior
The generated CSV file must comply with some rules, being the most important one the column order. For example, it is mandatory that column 1 is the timestamp, column 2 is the temperature and column 3 the pressure.
Actual behavior
It is not possible to specify the mapping between fields (or tags) can the column order. I think that the CSV serializer is outputting the columns sorted by the alphabetical name of the corresponding field, and it is not possible to specify other criteria.
Additional info
No response
The text was updated successfully, but these errors were encountered: