Upload Filter Parameters

Avatar
  • updated
  • Answered
Hello,

In some cases, I am looking for 100 different specific products in a report. So, I have been entering the include filters one at a time.

Is there a way to upload a batch of filters to the profile perhaps?

Is there a way to download the filters applied to a profile?

Also, is there a max number of filters that can be entered for any given profile?

Thank you,
Gina
Avatar
Michael
There is no special way to upload or download filters for the profile. The only way to batch import/export filters is to edit the appropriate .pfl file manually.

.pfl files are profile files that have text format and are located in the Profiles subfolder of the WebLog Expert data folder (usually “C:\Program Files\WebLog Expert” under Windows XP/2003 or older and “C:\ProgramData\WebLog Expert” under Windows Vista/2008/7 or newer).

Please note that if you use Windows Vista/2008/7/8 or newer, the C:\ProgramData folder is hidden by default (unlike the Program Files folder), so you need to set Windows Explorer to show hidden files and folders. To do it, click the Organize button on the toolbar in Windows Explorer and choose the "Folder and search options" item. Open the "View" tab and select the "Show hidden files, folders, and drives" option.

There is no limit on number of filters per profile.

Please note that it you wish to get separate statistics on each product (file name), it may be easier to use the file tracking feature to get detailed statistics on all products in one report without need to use include filters.
Avatar
Gina Price
Thank you very much!!

Okay,would you mind telling me where I might find the details about the filters and tracking feature so I could educate myself on those differences?

I have a store with many products. Individual products belong to different sellers. I want to have a nice report that includes only that specific seller's products. Unfortunately, the products could not always fit nicely into a file system, so there are some anomalies I have to capture. I don't want other products to be in the report. This way, I can hand the report to the seller and they can see the full picture of their product sales and customer patterns. Essentially, I want statistics for the seller's products as a group. Would this be filters or file tracking?

Seller A: product 1, product 2, product 3
All Store: product 1, product 2, product 3, allProduct4, allProduct15

I want the report to tell me everything about Seller A's sales.

Thank you,

Gina
Avatar
Michael
Tracking is per-file feature (it shows separate statistics for each tracked file), so in your case you indeed need filters.

However, if you need to include multiple files, you can also add them in one include filter by separating file names with spaces, it's not necessary to create multiple filters. It is also possible to use wildcards like /dir/* in include filters, while I'm not sure that it could be useful in your case.
Avatar
Gina Price
Thank you again, Michael!

You brought up something that maybe I misunderstood until now. If I add many items to one include filter, is that an OR or an AND situation?

Include File for Filter A = item1.php item 2.php item 3.php

Will I get information for all three items even if item2.php was never accessed? Or, would all three items have to exist to get information about any one of them?

I was putting in individual filters because I thought that was the OR scenario. I wanted information about the list of items, but it was okay if one item never had any visitors.

Thank you very much,

Gina
Avatar
Michael
If you specify multiple values in one filter (in one line) it uses the OR logic.

E.g. you can the "File" filter with the following value:
item1.php item2.php item3.php

It means that requests for all these files (if exist in logs) will be shown in reports. If any file doesn't exist, information on other files will still be shown.

In fact entering item1.php item2.php item3.php in include filter works the same way as creating three separate include filters with these values. If you have many values, you can also split them among several include filters with each of them containing multiple values.

Please note that the program also supports the AND logic in filters, it is necessary to choose the "Multiple" filter criteria mode to use it. However, it doesn't seem that you need it in your case.
Avatar
Gina Price
Michael,

Thank you again for your help. I wanted to tell you that your idea to change the profile file (.pfl) in the Program Data File is a huge help. I am able to work on profiles while the application is analyzing the log files. I am so happy to be able to continue with my work in WebLog Expert while it is analyzing.

And, thank you again for the help with the AND/OR logic and filters. You are THE best!

Gina