On 07/16/2013 09:28 PM, David Lang wrote:
take a look at http://www.rsyslog.com/doc/node32.html and see if it
answers your questions.

since the queue is specified inside action does that mean that each action needs its own queue? E.g. I have two actions that forward messages to remote log aggregator and would like them to be assisted by the same disk queue (so that I can specify one queue.maxdiskspace). Is that possible?

  action(
    type="omfwd"
    template="some template"
    queue.filename="/var/log/myFile"
    queue.maxdiskspace="4294967296"
    ...
  )
  ...
  action(
    type="omfwd"
    template="a different template"
    queue.filename="/var/log/myFile"
    queue.maxdiskspace="4294967296"
    ...
  )

Would this create one disk based queue with filename /var/log/myFile that both actions would use or would this just mess things up?

Alternatively is there a way to specify total limit for all disk based queues? (didn't find anything so I guess not but hope never dies :)

  thanks!

        erik


David Lang

On Tue, 16 Jul 2013, Erik Steffl wrote:

 Action definition:

 action(
   type="omfwd"
   target="somehost.com"
   port="5140"
   protocol="tcp"
   template="json"
 )

 How to make this action use disk assisted queue? I did read
http://www.rsyslog.com/doc/omfwd.html and
http://www.rsyslog.com/doc/queues.html

 Section 'Disk-Assisted Memory Queues' says 'If a disk queue name is
defined for in-memory queues (via $<object>QueueFileName), they
automatically become "disk-assisted" (DA)'. However I also see at
http://www.rsyslog.com/doc/rsyslog_conf_actions.html that legacy
format does not affect RainerScript actions (which is what I use).

 Or is it going to automatically store it in a directory specified by
this: $WorkDirectory /var/spool/rsyslog and I don't have to worry
about it?

 thanks!

    erik
_______________________________________________
rsyslog mailing list
http://lists.adiscon.net/mailman/listinfo/rsyslog
http://www.rsyslog.com/professional-services/
What's up with rsyslog? Follow https://twitter.com/rgerhards
NOTE WELL: This is a PUBLIC mailing list, posts are ARCHIVED by a
myriad of sites beyond our control. PLEASE UNSUBSCRIBE and DO NOT POST
if you DON'T LIKE THAT.

_______________________________________________
rsyslog mailing list
http://lists.adiscon.net/mailman/listinfo/rsyslog
http://www.rsyslog.com/professional-services/
What's up with rsyslog? Follow https://twitter.com/rgerhards
NOTE WELL: This is a PUBLIC mailing list, posts are ARCHIVED by a myriad
of sites beyond our control. PLEASE UNSUBSCRIBE and DO NOT POST if you
DON'T LIKE THAT.

_______________________________________________
rsyslog mailing list
http://lists.adiscon.net/mailman/listinfo/rsyslog
http://www.rsyslog.com/professional-services/
What's up with rsyslog? Follow https://twitter.com/rgerhards
NOTE WELL: This is a PUBLIC mailing list, posts are ARCHIVED by a myriad of 
sites beyond our control. PLEASE UNSUBSCRIBE and DO NOT POST if you DON'T LIKE 
THAT.

Reply via email to