~ubuntu-branches/ubuntu/lucid/rsyslog/lucid-updates

« back to all changes in this revision

Viewing changes to doc/rsyslog_high_database_rate.html

  • Committer: Bazaar Package Importer
  • Author(s): Michael Biebl
  • Date: 2008-08-11 00:25:33 UTC
  • mfrom: (1.1.6 upstream) (3.1.1 lenny)
  • Revision ID: james.westby@ubuntu.com-20080811002533-83ln3s7t1li0b73n
Tags: 3.18.2-1
* New upstream release.
* debian/rsyslog.init
  - Restore default SELinux security context when creating /dev/xconsole.
    Closes: #493171
  - Add "status" action.
* debian/control
  - Bump dependency on lsb-base to >= 3.2-14, which provides status_of_proc.

Show diffs side-by-side

added added

removed removed

Lines of Context:
72
72
disk queue and then configure your action. There is nothing else to do. With the 
73
73
following simple config file, you log anything you receive to a MySQL database 
74
74
and have buffering applied automatically.</p>
75
 
<textarea rows="11" cols="80">$ModLoad ommysql.so  # load the output driver (use ompgsql.so for PostgreSQL)
76
 
$ModLoad imudp.so    # network reception
77
 
$UDPServerRun 514    # start a udp server at port 514
78
 
$ModLoad imuxsock.so # local message reception
 
75
<textarea rows="11" cols="80">
 
76
$ModLoad ommysql  # load the output driver (use ompgsql for PostgreSQL)
 
77
$ModLoad imudp    # network reception
 
78
$UDPServerRun 514 # start a udp server at port 514
 
79
$ModLoad imuxsock # local message reception
79
80
 
80
81
$WorkDirectory /rsyslog/work # default location for work (spool) files
81
82
$MainMsgQueueFileName mainq  # set file name, also enables disk mode
100
101
this on their own queues, de-coupling their processing speeds.</p>
101
102
<p>The configuration for the de-coupled database write involves just a few more 
102
103
commands:</p>
103
 
<textarea rows="11" cols="80">$ModLoad ommysql.so  # load the output driver (use ompgsql.so for PostgreSQL)
104
 
$ModLoad imudp.so    # network reception
105
 
$UDPServerRun 514    # start a udp server at port 514
106
 
$ModLoad imuxsock.so # local message reception
 
104
<textarea rows="11" cols="80">
 
105
$ModLoad ommysql  # load the output driver (use ompgsql for PostgreSQL)
 
106
$ModLoad imudp    # network reception
 
107
$UDPServerRun 514 # start a udp server at port 514
 
108
$ModLoad imuxsock # local message reception
107
109
 
108
110
$WorkDirectory /rsyslog/work # default location for work (spool) files
109
111