[Freeipa-users] dirsrv access log redirect

Rich Megginson rmeggins at redhat.com
Thu Aug 21 13:54:39 UTC 2014


On 08/21/2014 06:59 AM, Rob Crittenden wrote:
> barrykfl at gmail.com wrote:
>> Hi:
>>
>> I m not avaibable to test the pipe setting as the servers are live now
>> and need restrt..can i simply config rsyslog server using
>> /var/log/dirsrv/slapf-abc.com/access <http://slapf-abc.com/access>
>> to redirect ot another rsyslog server ?
> Please keep responses on the list.
>
> I don't know, perhaps someone else does.

I don't understand the question.  dirsrv does not use syslog.  You would 
have to use the Named Pipe thing and write your own script to send the 
contents of the access log to syslog/rsyslog.

>
> rob
>
>>
>>
>> 2014-08-20 21:15 GMT+08:00 Rob Crittenden <rcritten at redhat.com
>> <mailto:rcritten at redhat.com>>:
>>
>>      Dmitri Pal wrote:
>>      > On 08/20/2014 06:23 AM, barrykfl at gmail.com
>>      <mailto:barrykfl at gmail.com> wrote:
>>      >> Dear all:
>>      >>
>>      >> I got 2 servers as cluster ... how can i redirect all logs server2 's
>>      >> /var/log/dirsrv/slapd-abc.com/access
>>      <http://slapd-abc.com/access> <http://slapd-abc.com/access> to
>>      >> server 1 's  /var/log/dirsrv/slapd-abc.com/access
>>      <http://slapd-abc.com/access>
>>      >> <http://slapd-abc.com/access>
>>      >>
>>      >> so i can view once ?what config should consider ?  Or should i use
>>      >> syslog to collect server2
>>      >> and redirect all to server 1 ?
>>      >>
>>      >> thks
>>      >>
>>      >>
>>      >>
>>      > You should use log collection tools of your choice to collect and
>>      > process the logs.
>>      > You can send logs to syslog and then use rsyslog to collect it. After
>>      > that you can use different tools to process it: logstash, splunk, etc.
>>
>>      Take a look at this page for instructions on redirecting logging in
>>      389-ds: http://www.port389.org/wiki/Named_Pipe_Log_Script
>>
>>      rob
>>
>>      --
>>      Manage your subscription for the Freeipa-users mailing list:
>>      https://www.redhat.com/mailman/listinfo/freeipa-users
>>      Go To http://freeipa.org for more info on the project
>>
>>




More information about the Freeipa-users mailing list