README.md in fluent-plugin-ping-message-0.1.2 vs README.md in fluent-plugin-ping-message-0.2.0
- old
+ new
@@ -10,31 +10,31 @@
### PingMessageInput
To generate 1 ping message per 60seconds(default):
<source>
- type ping_message
+ @type ping_message
</source>
#=> tag: 'ping'
# message: {'data' => 'your.hostname.local'}
Change ping message interval into 30 seconds, and fix `tag` and `data`:
<source>
- type ping_message
+ @type ping_message
tag ping.webserver
interval 30
data ping message from ${hostname}
</source>
#=> tag: 'ping.webserver'
# message: {'data' => 'ping message from your.hostname.local'}
### PingMessageCheckerOutput
-To receive ping messages and checks ping message in-arrival, use `type ping_message_checker`:
+To receive ping messages and checks ping message in-arrival, use `@type ping_message_checker`:
<match ping.**>
- type ping_message_checker
+ @type ping_message_checker
tag missing.ping
check_interval 3600 # 1hour by default
notification_times 3 # 3 times by default
</match>