Forum Moderators: DixonJones

Message Too Old, No Replies

Webtrends, can it be scripted?

VB Scripting of webtrends

         

guybroster

11:32 am on Nov 14, 2002 (gmt 0)

10+ Year Member



Hi,

I'd like to be able to automate the creation of a webtrends report profile using VB or VB script.
Is it possible to do this? If so, is there any kind of reference on the Webtrends objects that are exposed to allow me to do this task?

Thanks for any help.

Cheers,
Guy

Mikkel Svendsen

12:51 am on Nov 15, 2002 (gmt 0)

10+ Year Member



Depending on what version of Webtrends you are using it is theoretically possible - and you don't even have to do it using any of the Webtrends objects.

At least in the older versions (I am not sure with the newest versions) all profiles and other definitions was saved in pure text file format. However, it has never been documented from Webtrends so you will have to figure out the formats by yourself and once Webtrends decides to change format they won't tell you and your will have to start all over.

So all in all, I wouldn't personally bother with the project. As long as it is not supported by Webtrends I think you run a high risk of wasting your time :)

guybroster

8:35 am on Nov 15, 2002 (gmt 0)

10+ Year Member



Thanks for that. I will at least spend a little time investigating what you mentioned about the files, but from what you say and from the lack of information I have found coming from Webtrends I won't be wasting too much time!

{{update}}
The version I am using is 7.0b and I can't seem to locate any profile info at the moment. If any has any idea where these profiles may reside I'd appreciate it.

Cheers,
Guy

guybroster

10:18 am on Nov 15, 2002 (gmt 0)

10+ Year Member



OK..for anyone who is interested.

To create a new profile without using the WT UI, you can use the FileSystemObject to create a .wlp flatfile in the C:\Program Files\WebTrends Analysis Series\wtm_log\datfiles directory. This contains the profile configuration and is quite standard and easy to alter. You also have to edit the categories.ini file in the same directory to include the profile in the profile list.

It is quite simple and I have done some succesful preliminary tests.

The proxy reports run along much the same idea but reside in the wtm_prx directory.

I'm currently writing a short document on this so if I get the time (or requests) I'l post a link to it on here. Of course, this all pretty much depends on whether it works to the full!

Cheers,
Guy

Mikkel Svendsen

10:51 pm on Nov 15, 2002 (gmt 0)

10+ Year Member



Sounds good. The problem still remain though, when a new version comes out and WebTrends undocumented change the format :)

Anyway, as long as you stay with the version you use now you shuld be fine.