Do not input private or sensitive data. View Qlik Privacy & Cookie Policy.
Skip to main content

Announcements
Qlik Open Lakehouse is Now Generally Available! Discover the key highlights and partner resources here.
cancel
Showing results for 
Search instead for 
Did you mean: 
Not applicable

How to give a relative path while loading multiple log files

Hi all

I am loading multiple log files in a folder using  ' * '

but i am unable to load all the log files using relative path

I have given the relative path as below but I am unable to load the files

Let vPath='..\IISLogs';

FROM

[($vPath)\IISLogs\DEV\a_*.log]

(txt, codepage is 1252, explicit labels, comment is #, delimiter is spaces);

Thank you

1 Solution

Accepted Solutions
sunny_talwar

You seem to be repeating IISLogs folder twice, once in your variable and once again in path. Do you have two folder IISLogs? Or is that what the issue might be?

Capture.PNG

View solution in original post

6 Replies
sunny_talwar

Which are the ones which don't load? Do you share there name? Alternatively, you can load using Loops in the Script

Not applicable
Author

I am unable to load any files.

I am getting the error as system can not find the path specified..

sunny_talwar

You seem to be repeating IISLogs folder twice, once in your variable and once again in path. Do you have two folder IISLogs? Or is that what the issue might be?

Capture.PNG

sunny_talwar

May be you need this

Let vPath='..\IISLogs';

FROM

[($vPath)\DEV\a_*.log]

(txt, codepage is 1252, explicit labels, comment is #, delimiter is spaces);

Not applicable
Author

Hi sunny

No, I don't have two IISLogs Folder

Now, I have removed the IISLogs in the from but, I couldnt load the files..

sunny_talwar

Unless you share more details, I think it would be difficult to know what might not be working here.