Created
July 31, 2012 06:46
-
-
Save frsyuki/3214309 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<match **> | |
あれこれ | |
</match> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# ここがログ処理のエントリーポイント | |
# 全ログを notify ラベルに転送 | |
<filter **> | |
type copy | |
<match **> | |
type forward | |
label notify | |
<server> | |
host notify_server2 | |
</server> | |
</match> | |
</filter> | |
# 全ログを archive ラベルに転送 | |
<match **> | |
type forward | |
label archive | |
<server> | |
host archive_server1 | |
</server> | |
<server> | |
host archive_server2 | |
</server> | |
</match> | |
# 各ラベルの設定をinclude | |
<label archive> | |
include notify.conf | |
</label> | |
<label archive> | |
include archive.conf | |
</label> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<match **> | |
あれこれ | |
</match> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment