I am using input.file to collect information from a CSV file that gets updated (the file is erased and created again, that is why I am not using input.tail) every nine minutes.
The configuration looks like this:
[inputs.file]]
files = ["/output_sc_LTE.csv"]
data_format = "csv"
csv_header_row_count = 0
csv_column_names = ["SERVINGCELL", "STATE", "TECN", "is_tdd", "mcc", "mnc", "cellid", "pcid", "earfcn", "freq_band_ind", "ul_band width", "dl_bandwidth", "tac", "rsrp", "rsrq", "rssi", "cqi", "tx_power", "srxlev"]
csv_column_types = ["string", "string", "string", "string", "integer", "integer", "integer", "integer", "integer", "integer", "integer", "integer", "string", "integer", "integer", "integer", "integer", "integer", "integer"]
name_override = "ServingCellLTE"
csv_tag_columns = ["host"]
interval = "10m"
collection_offset = "6m"
The data is sent to influx and then I can see it with grafana but when I try to use the RSSI value (example) that is defined as an integer in a trend line viz, Grafana says that the visualization is MISSING A NUMBER FIELD.
Is the configuration correct? I do not understand why this is happening since every column is configured correctly. Thank you