Want to create multiple index for multiple input

Thanks For your reply.
Please see this link from where i added wild character.

I just want to match with file name .for eg
admin.log
user1.log
for above log file i need to have respective index
I hope you understand.