<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:m="http://schemas.microsoft.com/office/2004/12/omml" xmlns="http://www.w3.org/TR/REC-html40"><head><meta http-equiv=Content-Type content="text/html; charset=utf-8"><meta name=Generator content="Microsoft Word 14 (filtered medium)"><style><!--
/* Font Definitions */
@font-face
        {font-family:Calibri;
        panose-1:2 15 5 2 2 2 4 3 2 4;}
@font-face
        {font-family:Tahoma;
        panose-1:2 11 6 4 3 5 4 4 2 4;}
@font-face
        {font-family:-moz-fixed;
        panose-1:0 0 0 0 0 0 0 0 0 0;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
        {margin:0in;
        margin-bottom:.0001pt;
        font-size:12.0pt;
        font-family:"Times New Roman","serif";
        color:black;}
a:link, span.MsoHyperlink
        {mso-style-priority:99;
        color:blue;
        text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
        {mso-style-priority:99;
        color:purple;
        text-decoration:underline;}
span.moz-txt-tag
        {mso-style-name:moz-txt-tag;}
span.EmailStyle18
        {mso-style-type:personal-reply;
        font-family:"Calibri","sans-serif";
        color:#1F497D;}
.MsoChpDefault
        {mso-style-type:export-only;
        font-size:10.0pt;}
@page WordSection1
        {size:8.5in 11.0in;
        margin:1.0in 1.0in 1.0in 1.0in;}
div.WordSection1
        {page:WordSection1;}
--></style><!--[if gte mso 9]><xml>
<o:shapedefaults v:ext="edit" spidmax="1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
<o:shapelayout v:ext="edit">
<o:idmap v:ext="edit" data="1" />
</o:shapelayout></xml><![endif]--></head><body bgcolor=white lang=EN-US link=blue vlink=purple><div class=WordSection1><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'>Stepan<o:p></o:p></span></p><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'><o:p> </o:p></span></p><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'>Would you please post a sample screenshot of what you get through Audit ā€“ Iā€™m debating if I need to go through the hassle of implementing ā€“ if its not getting us much.. if the screenshot ā€“ too revealing, then just specify the details.<o:p></o:p></span></p><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'><o:p> </o:p></span></p><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'>Thanks<o:p></o:p></span></p><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'>ilya<o:p></o:p></span></p><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'><o:p> </o:p></span></p><div><div style='border:none;border-top:solid #B5C4DF 1.0pt;padding:3.0pt 0in 0in 0in'><p class=MsoNormal><b><span style='font-size:10.0pt;font-family:"Tahoma","sans-serif";color:windowtext'>From:</span></b><span style='font-size:10.0pt;font-family:"Tahoma","sans-serif";color:windowtext'> spacewalk-list-bounces@redhat.com [mailto:spacewalk-list-bounces@redhat.com] <b>On Behalf Of </b>Stepan Rogov<br><b>Sent:</b> Wednesday, July 18, 2012 9:53 AM<br><b>To:</b> spacewalk-list@redhat.com<br><b>Subject:</b> Re: [Spacewalk-list] Audit logging.<o:p></o:p></span></p></div></div><p class=MsoNormal><o:p> </o:p></p><p class=MsoNormal>On 18.07.2012 17:11, Joshua Roys wrote: <o:p></o:p></p><div><p class=MsoNormal><span style='font-size:9.0pt;font-family:"-moz-fixed","serif"'>On 07/18/2012 06:35 AM, Stepan Rogov wrote: <br><br><o:p></o:p></span></p><p class=MsoNormal style='margin-bottom:12.0pt'><span style='font-size:9.0pt;font-family:"-moz-fixed","serif"'>Well, I do the following: <br><br>Host named spacewalk. <br><br>1. I created a directory <span class=moz-txt-tag><i>/</i></span><i>var/satellite/systemlogs/spacewalk/audit<span class=moz-txt-tag>/</span></i> <br><br>2. Parse the audit log using the ausearch  and aup and sent results to <br>the file / <br>var/satellite/systemlogs/spacewalk/audit/audit-1342555201-1342641599.parsed <br>ausearch -r -ts 07/18/2012 00:00:01 -te 07/18/2012 23:59:59 | <span class=moz-txt-tag><i>/</i></span><i>root<span class=moz-txt-tag>/</span></i> <br>aup> /var/satellite/systemlogs/spacewalk/audit/audit- `date-d <br>"07/18/2012 00:00:01" +% s `-` date-d "07/18/2012 23:59:59" +% s `. parsed <br><br>3. In the spacewalk moved on the Auditing tab, and nothing appeared. <o:p></o:p></span></p><p class=MsoNormal style='margin-bottom:12.0pt'><span style='font-size:9.0pt;font-family:"-moz-fixed","serif"'><br>Hello, <br><br>Please try setting the following in /etc/rhn/rhn.conf: <br><br>web.audit.logdir = /var/satellite/systemlogs <br><br>And then restart tomcat.  Also, make sure that <span class=moz-txt-tag><i>/</i></span><i>var/satellite/systemlogs<span class=moz-txt-tag>/</span></i>*<span class=moz-txt-tag><i>/</i></span><i>audit<span class=moz-txt-tag>/</span></i>* are readable by tomcat all the way up from / (use `namei -m /var/satellite/systemlogs/spacewalk/audit` for example). <br><br>Thanks, <br><br>Josh <o:p></o:p></span></p></div><p class=MsoNormal style='margin-bottom:12.0pt'>It's work!<br>Thank you very much!<br>It is necessary to correct the spacewalk wiki.<o:p></o:p></p></div></body></html>