Schrift
[thread]2946[/thread]

using logfiles to create implicit user profiles: (was: Ligfiles)



<< >> 10 Einträge, 1 Seite
rimhelaoui
 2005-09-05 14:31
#29548 #29548
User since
2005-09-05
4 Artikel
BenutzerIn
[default_avatar]
Hi all!

am considering the possibility to use logfiles in order to create implicite user profiles.Could a perl script be helpful?

Thanks very much in advance!
renee
 2005-09-05 14:35
#29549 #29549
User since
2003-08-04
14371 Artikel
ModeratorIn
[Homepage] [default_avatar]
Whether a perl script could be helpful or not, depends on what you want to do. Please point out more detailled, what you are planning to do.\n\n

<!--EDIT|renee|1125916573-->
OTRS-Erweiterungen (http://feature-addons.de/)
Frankfurt Perlmongers (http://frankfurt.pm/)
--

Unterlagen OTRS-Workshop 2012: http://otrs.perl-services.de/workshop.html
Perl-Entwicklung: http://perl-services.de/
rimhelaoui
 2005-09-05 14:45
#29550 #29550
User since
2005-09-05
4 Artikel
BenutzerIn
[default_avatar]
Hi renee,
thanks a lot for answering.As to my purpose, it is extacting any information from the generated logfiles so that to specify some user preferences (useful for a recommender as a next step)...I m not a perl programmer and I m just considering the possibility of taking profit of these Log files.
Could I then win any information concerning users? If yes what informations?
renee
 2005-09-05 14:55
#29551 #29551
User since
2003-08-04
14371 Artikel
ModeratorIn
[Homepage] [default_avatar]
So, if I understand your purposes, you want to parse existing logfiles to extract information about users. In that case Perl is a good choice to solve your problems.

Quote
Could I then win any information concerning users? If yes what informations?
You have to answer these questions yourself. We don't know anything about the logfiles (what is logged? are there information about users?).\n\n

<!--EDIT|renee|1125917800-->
OTRS-Erweiterungen (http://feature-addons.de/)
Frankfurt Perlmongers (http://frankfurt.pm/)
--

Unterlagen OTRS-Workshop 2012: http://otrs.perl-services.de/workshop.html
Perl-Entwicklung: http://perl-services.de/
rimhelaoui
 2005-09-05 15:18
#29552 #29552
User since
2005-09-05
4 Artikel
BenutzerIn
[default_avatar]
Hi renee,

in fact I am just envisaging the whole idea and I still don t have concreate informations.The logfiles, however, should contain informations about the user, since they are generated, when a logged in user chooses some services (let s suppose that by each choice, a logfile is generated).
And as the available Logfile analysis Tools, give informations about the whole traffic and netflow etc, they are useless in my case, since I am interested in individually extracted informations.Could a perlscript still solve this?

Thanks a lot!
renee
 2005-09-05 15:30
#29553 #29553
User since
2003-08-04
14371 Artikel
ModeratorIn
[Homepage] [default_avatar]
If the information are in the logfile, you can extract them with a perl script. But without more detailled information it is impossible to help you.
OTRS-Erweiterungen (http://feature-addons.de/)
Frankfurt Perlmongers (http://frankfurt.pm/)
--

Unterlagen OTRS-Workshop 2012: http://otrs.perl-services.de/workshop.html
Perl-Entwicklung: http://perl-services.de/
rimhelaoui
 2005-09-05 15:55
#29554 #29554
User since
2005-09-05
4 Artikel
BenutzerIn
[default_avatar]
Hi renee,

it s a kind of digital service system where services are offered to different users (for example booking a hotel room with some features which are to be chosen) and am wondering, whether it would be meaningful, to use a perlscript for a huge number of logfiles...(is there a way to do it automatically for each generated logfile?)

Am sincerely thankful.
renee
 2005-09-05 16:10
#29555 #29555
User since
2003-08-04
14371 Artikel
ModeratorIn
[Homepage] [default_avatar]
You can get all generated logfiles via opendir, readdir, closedir (see perldoc -f opendir, perldoc -f readdir, perldoc -f closedir). So you can start your perl scirpt once, get all logfiles and parse them automatically.
OTRS-Erweiterungen (http://feature-addons.de/)
Frankfurt Perlmongers (http://frankfurt.pm/)
--

Unterlagen OTRS-Workshop 2012: http://otrs.perl-services.de/workshop.html
Perl-Entwicklung: http://perl-services.de/
Gast Gast
 2005-09-05 19:00
#29556 #29556
thanks a lot... but what about the output? could I get it as a data base? That means to each "username" its corresponding information? (for instance the URL sent by the webserver) if no, how does the output look like?
renee
 2005-09-06 09:24
#29557 #29557
User since
2003-08-04
14371 Artikel
ModeratorIn
[Homepage] [default_avatar]
You can do what you want - store the information in a database, print them on the screen or print the information into a file.

If you want to store the information into a database, you should read the documentation of CPAN:DBI. A lot of database management systems are supported by Perl.
OTRS-Erweiterungen (http://feature-addons.de/)
Frankfurt Perlmongers (http://frankfurt.pm/)
--

Unterlagen OTRS-Workshop 2012: http://otrs.perl-services.de/workshop.html
Perl-Entwicklung: http://perl-services.de/
<< >> 10 Einträge, 1 Seite



View all threads created 2005-09-05 14:31.