@HB9VQQ
If you add this to your conf file
[[processors.starlark]]
## Source of the Starlark script.
source = '''
def apply(metric):
for k, v in metric.fields.items():
if k == "time-tag":
metric.fields["time-tag"] = metric.fields["time-tag"] + "-01"
return metric
'''
then the resulting output is
SWPC time-tag="2040-04-01",predicted_ssn=0.1,high_ssn=10.1,low_ssn=0,predicted_f10.7=67.8,high_f10.7=76.8,low_f10.7=67.7 1658150680000000000
SWPC time-tag="2040-05-01",predicted_ssn=0.1,high_ssn=10.1,low_ssn=0,predicted_f10.7=67.8,high_f10.7=76.8,low_f10.7=67.7 1658150680000000000
SWPC low_f10.7=67.7,time-tag="2040-06-01",predicted_ssn=0.1,high_ssn=10.1,low_ssn=0,predicted_f10.7=67.8,high_f10.7=76.8 1658150680000000000
SWPC predicted_ssn=0,high_ssn=9,low_ssn=0,predicted_f10.7=67.73,high_f10.7=8,low_f10.7=67.7,time-tag="2040-07-01" 1658150680000000000
SWPC time-tag="2040-08-01",predicted_ssn=0,high_ssn=9,low_ssn=0,predicted_f10.7=67.73,high_f10.7=8,low_f10.7=67.7 1658150680000000000
SWPC low_ssn=0,predicted_f10.7=67.73,high_f10.7=8,low_f10.7=67.7,time-tag="2040-09-01",predicted_ssn=0,high_ssn=9 1658150680000000000
SWPC predicted_ssn=0,high_ssn=9,low_ssn=0,predicted_f10.7=67.73,high_f10.7=8,low_f10.7=67.7,time-tag="2040-10-01" 1658150680000000000
SWPC high_f10.7=8,low_f10.7=67.7,time-tag="2040-11-01",predicted_ssn=0,high_ssn=9,low_ssn=0,predicted_f10.7=67.73 1658150680000000000
SWPC low_f10.7=67.7,time-tag="2040-12-01",predicted_ssn=0,high_ssn=9,low_ssn=0,predicted_f10.7=67.73,high_f10.7=8 1658150680000000000
You could filter on time-tag in InfluxDB or, with a little more code in the processor plug-in, you could replace the timestamp with an RFC3339 version of time-tag.