[prev in list] [next in list] [prev in thread] [next in thread] 

List:       analog-help
Subject:    RE: [analog-help] how to save graphs in a new directory
From:       "Cao Jenny-CJC140" <Jenny.Cao () motorola ! com>
Date:       2007-04-05 16:38:00
Message-ID: BDBC57C7DCB4E64EA69F6F7DCB3B6C1F0301E06B () de01exm67 ! ds ! mot ! com
[Download RAW message or body]

--===============2017787965==
Content-class: urn:content-classes:message
Content-Type: multipart/alternative;
	boundary="----_=_NextPart_001_01C777A0.C6A06D11"

This is a multi-part message in MIME format.


I combined both your suggestions and Aengus' together, it is working
now! 

 

Thank you so much!

 

Jenny

 

________________________________

From: analog-help-bounces@lists.meer.net
[mailto:analog-help-bounces@lists.meer.net] On Behalf Of Jeremy Wadsack
Sent: Thursday, April 05, 2007 11:03 AM
To: Support for analog web log analyzer
Subject: RE: [analog-help] how to save graphs in a new directory 

 

The CHARTDIR command needs to be a URL from the location where the
report is published. 

 

So let's say your home directory is

 

            /home/jenny/

 

And that you are putting the report.html in 

 

/home/jenny/webanalyzer/analog-6.0/

 

You want a sub folder and prefix for the charts so you set 

 

LOCALCHARTDIR /home/jenny/webanalyzer/analog-6.0/Charts/%D%M%Y

 

Now a relative URL from the report.html to the location where the charts
are would be

 

CHARTDIR /Charts/%D%M%Y

 

For more details on the commands see
http://www.analog.cx/docs/othreps.html#CHARTDIR.

 

 

--

 

Jeremy Wadsack

Seven Simple Machines

 

________________________________

From: analog-help-bounces@lists.meer.net
[mailto:analog-help-bounces@lists.meer.net] On Behalf Of Cao
Jenny-CJC140
Sent: Thursday, April 05, 2007 8:21 AM
To: analog-help@lists.meer.net
Subject: [analog-help] how to save graphs in a new directory 

 

All,

 

The image files that display graphs are generated dynamically by analog
when it runs and they are saved in the same directory as the report file
by default. I would like to keep the graphs in a separate directory with
date-based file names, so that the graphs do not get overwritten every
time analog runs, and I can go back to look at the historical data with
the corresponding graphs. 

 

I tried putting the following commands in my config file:

 

LOCALCHARTDIR <my_home_dir>/webanalyzer/analog-6.0/Charts/%D%M%Y.

CHARTDIR <my_home_dir>/webanalyzer/analog-6.0/Charts/%D%M%Y.

 

I could see the graphs are generated with the date as part of the file
names, but analog is not picking up the graphs in the report. 

 

Can anyone please help? Thanks in advance for your help!

 

Regards,

Jenny


[Attachment #3 (text/html)]

<html xmlns:v="urn:schemas-microsoft-com:vml" \
xmlns:o="urn:schemas-microsoft-com:office:office" \
xmlns:w="urn:schemas-microsoft-com:office:word" \
xmlns="http://www.w3.org/TR/REC-html40">

<head>
<meta http-equiv=Content-Type content="text/html; charset=us-ascii">
<meta name=Generator content="Microsoft Word 11 (filtered medium)">
<!--[if !mso]>
<style>
v\:* {behavior:url(#default#VML);}
o\:* {behavior:url(#default#VML);}
w\:* {behavior:url(#default#VML);}
.shape {behavior:url(#default#VML);}
</style>
<![endif]-->
<style>
<!--
 /* Font Definitions */
 @font-face
	{font-family:Tahoma;
	panose-1:2 11 6 4 3 5 4 4 2 4;}
@font-face
	{font-family:"Trebuchet MS";
	panose-1:2 11 6 3 2 2 2 2 2 4;}
 /* Style Definitions */
 p.MsoNormal, li.MsoNormal, div.MsoNormal
	{margin:0in;
	margin-bottom:.0001pt;
	font-size:12.0pt;
	font-family:"Times New Roman";}
a:link, span.MsoHyperlink
	{color:blue;
	text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
	{color:purple;
	text-decoration:underline;}
span.EmailStyle17
	{mso-style-type:personal;
	font-family:Arial;
	color:windowtext;}
span.EmailStyle18
	{mso-style-type:personal;
	font-family:"Trebuchet MS";
	color:maroon;
	font-weight:normal;
	font-style:normal;
	text-decoration:none none;}
span.EmailStyle19
	{mso-style-type:personal-reply;
	font-family:Arial;
	color:navy;}
@page Section1
	{size:8.5in 11.0in;
	margin:1.0in 1.25in 1.0in 1.25in;}
div.Section1
	{page:Section1;}
-->
</style>

</head>

<body lang=EN-US link=blue vlink=purple>

<div class=Section1>

<p class=MsoNormal><font size=2 color=navy face=Arial><span style='font-size:
10.0pt;font-family:Arial;color:navy'>I combined both your suggestions and \
Aengus&#8217; together, it is working now! <o:p></o:p></span></font></p>

<p class=MsoNormal><font size=2 color=navy face=Arial><span style='font-size:
10.0pt;font-family:Arial;color:navy'><o:p>&nbsp;</o:p></span></font></p>

<p class=MsoNormal><font size=2 color=navy face=Arial><span style='font-size:
10.0pt;font-family:Arial;color:navy'>Thank you so much!<o:p></o:p></span></font></p>

<p class=MsoNormal><font size=2 color=navy face=Arial><span style='font-size:
10.0pt;font-family:Arial;color:navy'><o:p>&nbsp;</o:p></span></font></p>

<p class=MsoNormal><font size=2 color=navy face=Arial><span style='font-size:
10.0pt;font-family:Arial;color:navy'>Jenny<o:p></o:p></span></font></p>

<p class=MsoNormal><font size=2 color=navy face=Arial><span style='font-size:
10.0pt;font-family:Arial;color:navy'><o:p>&nbsp;</o:p></span></font></p>

<div>

<div class=MsoNormal align=center style='text-align:center'><font size=3
face="Times New Roman"><span style='font-size:12.0pt'>

<hr size=2 width="100%" align=center tabindex=-1>

</span></font></div>

<p class=MsoNormal><b><font size=2 face=Tahoma><span style='font-size:10.0pt;
font-family:Tahoma;font-weight:bold'>From:</span></font></b><font size=2
face=Tahoma><span style='font-size:10.0pt;font-family:Tahoma'>
analog-help-bounces@lists.meer.net [mailto:analog-help-bounces@lists.meer.net] \
<b><span style='font-weight:bold'>On Behalf Of </span></b>Jeremy Wadsack<br>
<b><span style='font-weight:bold'>Sent:</span></b> Thursday, April 05, 2007
11:03 AM<br>
<b><span style='font-weight:bold'>To:</span></b> Support for analog web log
analyzer<br>
<b><span style='font-weight:bold'>Subject:</span></b> RE: [analog-help] how to
save graphs in a new directory </span></font><o:p></o:p></p>

</div>

<p class=MsoNormal><font size=3 face="Times New Roman"><span style='font-size:
12.0pt'><o:p>&nbsp;</o:p></span></font></p>

<p class=MsoNormal><font size=2 color=maroon face="Trebuchet MS"><span
style='font-size:10.0pt;font-family:"Trebuchet MS";color:maroon'>The CHARTDIR
command needs to be a URL from the location where the report is published. \
<o:p></o:p></span></font></p>

<p class=MsoNormal><font size=2 color=maroon face="Trebuchet MS"><span
style='font-size:10.0pt;font-family:"Trebuchet \
MS";color:maroon'><o:p>&nbsp;</o:p></span></font></p>

<p class=MsoNormal><font size=2 color=maroon face="Trebuchet MS"><span
style='font-size:10.0pt;font-family:"Trebuchet MS";color:maroon'>So let&#8217;s
say your home directory is<o:p></o:p></span></font></p>

<p class=MsoNormal><font size=2 color=maroon face="Trebuchet MS"><span
style='font-size:10.0pt;font-family:"Trebuchet \
MS";color:maroon'><o:p>&nbsp;</o:p></span></font></p>

<p class=MsoNormal><font size=2 color=maroon face="Trebuchet MS"><span
style='font-size:10.0pt;font-family:"Trebuchet \
                MS";color:maroon'>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
                
/home/jenny/<o:p></o:p></span></font></p>

<p class=MsoNormal><font size=2 color=maroon face="Trebuchet MS"><span
style='font-size:10.0pt;font-family:"Trebuchet \
MS";color:maroon'><o:p>&nbsp;</o:p></span></font></p>

<p class=MsoNormal><font size=2 color=maroon face="Trebuchet MS"><span
style='font-size:10.0pt;font-family:"Trebuchet MS";color:maroon'>And that you
are putting the report.html in <o:p></o:p></span></font></p>

<p class=MsoNormal><font size=2 color=maroon face="Trebuchet MS"><span
style='font-size:10.0pt;font-family:"Trebuchet \
MS";color:maroon'><o:p>&nbsp;</o:p></span></font></p>

<p class=MsoNormal style='text-indent:.5in'><font size=2 color=maroon
face="Trebuchet MS"><span style='font-size:10.0pt;font-family:"Trebuchet MS";
color:maroon'>/home/jenny/webanalyzer/analog-6.0/<o:p></o:p></span></font></p>

<p class=MsoNormal style='text-indent:.5in'><font size=2 color=maroon
face="Trebuchet MS"><span style='font-size:10.0pt;font-family:"Trebuchet MS";
color:maroon'><o:p>&nbsp;</o:p></span></font></p>

<p class=MsoNormal><font size=2 color=maroon face="Trebuchet MS"><span
style='font-size:10.0pt;font-family:"Trebuchet MS";color:maroon'>You want a sub
folder and prefix for the charts so you set <o:p></o:p></span></font></p>

<p class=MsoNormal><font size=2 color=maroon face="Trebuchet MS"><span
style='font-size:10.0pt;font-family:"Trebuchet \
MS";color:maroon'><o:p>&nbsp;</o:p></span></font></p>

<p class=MsoNormal style='text-indent:.5in'><font size=2 color=maroon
face="Trebuchet MS"><span style='font-size:10.0pt;font-family:"Trebuchet MS";
color:maroon'>LOCALCHARTDIR \
/home/jenny/webanalyzer/analog-6.0/Charts/%D%M%Y<o:p></o:p></span></font></p>

<p class=MsoNormal><font size=2 color=maroon face="Trebuchet MS"><span
style='font-size:10.0pt;font-family:"Trebuchet \
MS";color:maroon'><o:p>&nbsp;</o:p></span></font></p>

<p class=MsoNormal><font size=2 color=maroon face="Trebuchet MS"><span
style='font-size:10.0pt;font-family:"Trebuchet MS";color:maroon'>Now a relative
URL from the report.html to the location where the charts are would \
be<o:p></o:p></span></font></p>

<p class=MsoNormal><font size=2 color=maroon face="Trebuchet MS"><span
style='font-size:10.0pt;font-family:"Trebuchet \
MS";color:maroon'><o:p>&nbsp;</o:p></span></font></p>

<p class=MsoNormal style='text-indent:.5in'><font size=2 color=maroon
face="Trebuchet MS"><span style='font-size:10.0pt;font-family:"Trebuchet MS";
color:maroon'>CHARTDIR /Charts/%D%M%Y<o:p></o:p></span></font></p>

<p class=MsoNormal><font size=2 color=maroon face="Trebuchet MS"><span
style='font-size:10.0pt;font-family:"Trebuchet \
MS";color:maroon'><o:p>&nbsp;</o:p></span></font></p>

<p class=MsoNormal><font size=2 color=maroon face="Trebuchet MS"><span
style='font-size:10.0pt;font-family:"Trebuchet MS";color:maroon'>For more
details on the commands see <a
href="http://www.analog.cx/docs/othreps.html#CHARTDIR">http://www.analog.cx/docs/othreps.html#CHARTDIR</a>.<o:p></o:p></span></font></p>


<p class=MsoNormal><font size=2 color=maroon face="Trebuchet MS"><span
style='font-size:10.0pt;font-family:"Trebuchet \
MS";color:maroon'><o:p>&nbsp;</o:p></span></font></p>

<p class=MsoNormal><font size=2 color=maroon face="Trebuchet MS"><span
style='font-size:10.0pt;font-family:"Trebuchet \
MS";color:maroon'><o:p>&nbsp;</o:p></span></font></p>

<div>

<div>

<div>

<p class=MsoNormal><font size=2 color=maroon face="Trebuchet MS"><span
style='font-size:10.0pt;font-family:"Trebuchet \
MS";color:maroon'>--</span></font><font color=maroon><span \
style='color:maroon'><o:p></o:p></span></font></p>

<p class=MsoNormal><font size=3 color=maroon face="Times New Roman"><span
style='font-size:12.0pt;color:maroon'>&nbsp;<o:p></o:p></span></font></p>

<p class=MsoNormal><font size=2 color=maroon face="Trebuchet MS"><span
style='font-size:10.0pt;font-family:"Trebuchet MS";color:maroon'>Jeremy \
Wadsack</span></font><font color=maroon><span \
style='color:maroon'><o:p></o:p></span></font></p>

<p class=MsoNormal><font size=2 color=maroon face="Trebuchet MS"><span
style='font-size:10.0pt;font-family:"Trebuchet MS";color:maroon'>Seven Simple
Machines<o:p></o:p></span></font></p>

</div>

</div>

<p class=MsoNormal><font size=3 face="Times New Roman"><span style='font-size:
12.0pt'><o:p>&nbsp;</o:p></span></font></p>

</div>

<div style='border:none;border-left:solid blue 1.5pt;padding:0in 0in 0in 4.0pt'>

<div>

<div class=MsoNormal align=center style='text-align:center'><font size=3
face="Times New Roman"><span style='font-size:12.0pt'>

<hr size=2 width="100%" align=center tabindex=-1>

</span></font></div>

<p class=MsoNormal><b><font size=2 face=Tahoma><span style='font-size:10.0pt;
font-family:Tahoma;font-weight:bold'>From:</span></font></b><font size=2
face=Tahoma><span style='font-size:10.0pt;font-family:Tahoma'> \
analog-help-bounces@lists.meer.net [mailto:analog-help-bounces@lists.meer.net] \
<b><span style='font-weight:bold'>On Behalf Of </span></b>Cao Jenny-CJC140<br>
<b><span style='font-weight:bold'>Sent:</span></b> Thursday, April 05, 2007
8:21 AM<br>
<b><span style='font-weight:bold'>To:</span></b> analog-help@lists.meer.net<br>
<b><span style='font-weight:bold'>Subject:</span></b> [analog-help] how to save
graphs in a new directory </span></font><o:p></o:p></p>

</div>

<p class=MsoNormal><font size=3 face="Times New Roman"><span style='font-size:
12.0pt'><o:p>&nbsp;</o:p></span></font></p>

<p class=MsoNormal><font size=2 face=Arial><span style='font-size:10.0pt;
font-family:Arial'>All,<o:p></o:p></span></font></p>

<p class=MsoNormal><font size=2 face=Arial><span style='font-size:10.0pt;
font-family:Arial'><o:p>&nbsp;</o:p></span></font></p>

<p class=MsoNormal><font size=2 face=Arial><span style='font-size:10.0pt;
font-family:Arial'>The image files that display graphs are generated
dynamically by analog when it runs and they are saved in the same directory as
the report file by default. I would like to keep the graphs in a separate
directory with date-based file names, so that the graphs do not get overwritten
every time analog runs, and I can go back to look at the historical data with
the corresponding graphs. <o:p></o:p></span></font></p>

<p class=MsoNormal><font size=2 face=Arial><span style='font-size:10.0pt;
font-family:Arial'><o:p>&nbsp;</o:p></span></font></p>

<p class=MsoNormal><font size=2 face=Arial><span style='font-size:10.0pt;
font-family:Arial'>I tried putting the following commands in my config \
file:<o:p></o:p></span></font></p>

<p class=MsoNormal><font size=2 face=Arial><span style='font-size:10.0pt;
font-family:Arial'><o:p>&nbsp;</o:p></span></font></p>

<p class=MsoNormal><font size=2 face=Arial><span style='font-size:10.0pt;
font-family:Arial'>LOCALCHARTDIR
&lt;my_home_dir&gt;/webanalyzer/analog-6.0/Charts/%D%M%Y.<o:p></o:p></span></font></p>


<p class=MsoNormal><font size=2 face=Arial><span style='font-size:10.0pt;
font-family:Arial'>CHARTDIR
&lt;my_home_dir&gt;/webanalyzer/analog-6.0/Charts/%D%M%Y.<o:p></o:p></span></font></p>


<p class=MsoNormal><font size=2 face=Arial><span style='font-size:10.0pt;
font-family:Arial'><o:p>&nbsp;</o:p></span></font></p>

<p class=MsoNormal><font size=2 face=Arial><span style='font-size:10.0pt;
font-family:Arial'>I could see the graphs are generated with the date as part
of the file names, but analog is not picking up the graphs in the report. \
<o:p></o:p></span></font></p>

<p class=MsoNormal><font size=2 face=Arial><span style='font-size:10.0pt;
font-family:Arial'><o:p>&nbsp;</o:p></span></font></p>

<p class=MsoNormal><font size=2 face=Arial><span style='font-size:10.0pt;
font-family:Arial'>Can anyone please help? Thanks in advance for your \
help!<o:p></o:p></span></font></p>

<p class=MsoNormal><font size=2 face=Arial><span style='font-size:10.0pt;
font-family:Arial'><o:p>&nbsp;</o:p></span></font></p>

<p class=MsoNormal><font size=2 face=Arial><span style='font-size:10.0pt;
font-family:Arial'>Regards,<o:p></o:p></span></font></p>

<p class=MsoNormal><font size=2 face=Arial><span style='font-size:10.0pt;
font-family:Arial'>Jenny<o:p></o:p></span></font></p>

</div>

</div>

</body>

</html>



+------------------------------------------------------------------------
|  TO UNSUBSCRIBE from this list:
|    http://lists.meer.net/mailman/listinfo/analog-help
|
|  Analog Documentation: http://analog.cx/docs/Readme.html
|  List archives:  http://www.analog.cx/docs/mailing.html#listarchives
|  Usenet version: news://news.gmane.org/gmane.comp.web.analog.general
+------------------------------------------------------------------------

--===============2017787965==--

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic