howto dump CFTOKEN and CFID in apache logs


 
Thread Tools Search this Thread
Top Forums UNIX for Advanced & Expert Users howto dump CFTOKEN and CFID in apache logs
# 1  
Old 06-18-2010
howto dump CFTOKEN and CFID in apache logs

hi folks,

Can you help me how to dump CFTOKEN and CFID requests in apache access_log ?

can you give me a better idea how to accomplish this ?

thanks
# 2  
Old 06-24-2010
Hi

normally the access_log files generated in /var/log/cups directory

in a *.gz format see what i mean below


saif@saif-laptop:/var/log/cups$ pwd
/var/log/cups
saif@saif-laptop:/var/log/cups$ ls -lrt
total 44
-rw-r----- 1 root adm 82 2009-12-18 16:38 error_log.4.gz
-rw-r----- 1 root adm 80 2009-12-26 23:04 error_log.3.gz
-rw-r----- 1 root adm 82 2010-02-15 17:15 error_log.2.gz
-rw-r----- 1 root adm 82 2010-03-03 22:30 error_log.1.gz
-rw-r----- 1 root lpadmin 0 2010-03-04 09:09 error_log
-rw-r----- 1 root adm 410 2010-06-16 08:49 access_log.7.gz
-rw-r----- 1 root adm 107 2010-06-17 08:43 access_log.6.gz
-rw-r----- 1 root adm 416 2010-06-20 08:55 access_log.5.gz
-rw-r----- 1 root adm 188 2010-06-21 08:50 access_log.4.gz
-rw-r----- 1 root adm 195 2010-06-22 08:40 access_log.3.gz
-rw-r----- 1 root adm 261 2010-06-23 08:49 access_log.2.gz
-rw-r----- 1 root adm 212 2010-06-24 08:45 access_log.1.gz
-rw-r----- 1 root lpadmin 0 2010-06-24 09:10 access_log
saif@saif-laptop:/var/log/cups$


to log the events CFTOKEN and CFID all you have to do to grep those events
from those files without need to uncompress them and direct to output to another file

zcat access_log*.gz | grep CFTOKEN > CFTOKEN.out
zcat access_log*.gz | grep CFID > CFID.out

Best Regards
# 3  
Old 07-01-2010
hi saif,

Thanks for your reply but what I need is to log cftoken and cfid parameter in access log since it is not
defined yet from the logs.

I dont know if this can be accomplish using apache config files or in coldfusion configs ?

Appreciate much your reply on this ..

Thanks
Login or Register to Ask a Question

Previous Thread | Next Thread

7 More Discussions You Might Find Interesting

1. Shell Programming and Scripting

If I ran perl script again,old logs should move with today date and new logs should generate.

Appreciate help for the below issue. Im using below code.....I dont want to attach the logs when I ran the perl twice...I just want to take backup with today date and generate new logs...What I need to do for the below scirpt.............. 1)if logs exist it should move the logs with extention... (1 Reply)
Discussion started by: Sanjeev G
1 Replies

2. AIX

Apache logs

Hi, I can't seem to find the apache logs in my system. Can anyone assist me on finding them? This was done with a RPM install. I've checked everywhere and even tried a find command with key names like httpd and apache. and i've come up with nothing except my conf files. (2 Replies)
Discussion started by: vpundit
2 Replies

3. Web Development

Include CFTOKEN and CFID in apache access_log

hi folks, how to write CFID and CFTOKEN cookie in apache logs ? can you give me a link or howtos in doing this. thanks in advance (0 Replies)
Discussion started by: linuxgeek
0 Replies

4. Red Hat

Sending all apache logs to Syslog Server

Hi All, I need to send all apache logs to local syslog and then to syslog server (STRM – Security Threat response manager). I follow these steps:- vi /etc/httpd/conf/httpd.conf Added these lines :- ErrorLog syslog:local1 LogLevel notice Then in syslog.conf:- local1.crit... (3 Replies)
Discussion started by: sidhurana
3 Replies

5. UNIX for Advanced & Expert Users

Apache Continuum remote build howto

Hi, We have few different OS/Platforms that we are using to build our products, such as: AIX 5.2, Solaris 8,9,10, Linux (RedHat, Suse, Slackware), Windows 2003 Server. We are using Apache Continuum Apache Maven Continuum - Welcome to Continuum to automate the build process for each Platform.... (0 Replies)
Discussion started by: +Yan
0 Replies

6. UNIX for Dummies Questions & Answers

Howto locate locally installed Perl module for a CGI script in APACHE .htaccess

Hi, I have the following simple CGI script, just containg header: #!/usr/bin/perl -w use CGI ':standard'; use lib "/home/myname/lib/perl5/site_perl/5.8.5/"; use Mail::Sendmail; I also have included this directive in ~/public_html/.htaccess : SetEnv PERL5LIB... (0 Replies)
Discussion started by: monkfan
0 Replies

7. UNIX for Dummies Questions & Answers

help, what is the difference between core dump and panic dump?

help, what is the difference between core dump and panic dump? (1 Reply)
Discussion started by: aileen
1 Replies
Login or Register to Ask a Question