When using logparser, file name to custom timezon

ex_ file name ) LD1_FUNCTION2018042712.log

i wish use File name’s date time

example )

[[inputs.logparser]]

files to tail.

files = [“LD1_FUNCTION%{YEAR}%{MONTHNUM}%{MONTHDAY}%{HOUR}*.log”]

is it possible?
Is there a way to use the Date Time of the file name?

thank you

No, this is not possible, the only options are parsing a timestamp from the line in the file or using the current system time.