include "../common.conf" [Logstor] # Catch clause specifies rules for catching specific messages. # Rules are processed in order given by this config files. Message is passed # to the first rule it matches. If no rule is matched and Output specified # message is sent to Output, otherwise it is discarded. # # - Host is either * or xxx.xxx.xxx.xxx ip address (if omited * is assumed). # For xxx.xxx.xxx.xxx ip address this rule is applied only to the messages # with this ip address. The * matches all hosts. # - Agent is either * or agent name (if omited * is assumed). For specified # agent this rule is applied only to the messages generated by this agent. # The * matches all agents. # - MessageType is either * or name of the message type to catch (if omited * is # assumed). For specified message type names this rule is applied only to # the messages with this name. The * matches all message names. # - Instance is either * or name of the instance which generated the messages to # catch. For specified instance this rule is applied only to the messages with # this instance name. The * matches all message names. # - Logfile parameter is mandatory. Specifies the filename where the messages # matching this name should be stored. Catch { Host * Agent * MessageType * Instance * Logfile /var/lib/log/echelog/logstor.log }