Hallo Ingo,
im Wiki findet sich folgender Eintrag:
https://wiki.fhem.de/wiki/Creating_Plots#FileLog_objectsmit folgendem Abschnitt:
So you can do something like attr <weblink> title "Min $data{min1}, Max $data{max1}, Last $data{currval1}" Also implemented in this function is code which operates on the data retrieved. This can be specified at the "<fn>" tag. Up till now following functions are impemented:
int (to cut off % from a number, as for the actuator)
delta-h / delta-d to get rain/h and rain/d values from continuous data
And then there is this: the string is evaluated as a perl expression. @fld is the current line splitted by spaces (0-based). So you can do something like $fld[3]/1000 to plot values divided by 1000 or $fld[3]=~"on"?0.9:0.8 to map the 4th field which contains an on/off information into numerical values to be plotted in a graph. Be warned though: this string/perl expression cannot (!) contain any spaces.
For even more details see commandref/FileLog or the module 92_FileLog.pm.
Grüße Jörg