Skip to content

Commit c426947

Browse files
committed
monitor_agent: update Output Example
Signed-off-by: Shizuo Fujita <[email protected]>
1 parent a9e71f7 commit c426947

File tree

1 file changed

+40
-8
lines changed

1 file changed

+40
-8
lines changed

input/monitor_agent.md

Lines changed: 40 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -120,23 +120,41 @@ Here is how the output looks like in JSON:
120120
"plugin_category": "input",
121121
"type": "monitor_agent",
122122
"output_plugin": false,
123-
"retry_count": null
123+
"retry_count": null,
124+
"emit_records": 0,
125+
"emit_size": 0
124126
},
125127
{
126128
"plugin_id": "in_forward",
127129
"plugin_category": "input",
128130
"type": "forward",
129131
"output_plugin": false,
130-
"retry_count": null
132+
"retry_count": null,
133+
"emit_records": 0,
134+
"emit_size": 0
131135
},
132136
{
133137
"plugin_id": "out_es",
134138
"plugin_category": "output",
135139
"type": "elasticsearch",
136140
"output_plugin": true,
137141
"buffer_queue_length": 0,
142+
"buffer_timekeys": [],
138143
"buffer_total_queued_size": 0,
139144
"retry_count": 0,
145+
"emit_records": 0,
146+
"emit_size": 0,
147+
"emit_count": 0,
148+
"write_count": 0,
149+
"write_secondary_count": 0,
150+
"rollback_count": 0,
151+
"slow_flush_count": 0,
152+
"flush_time_count": 0,
153+
"drop_oldest_chunk_count": 0,
154+
"buffer_stage_length": 0,
155+
"buffer_stage_byte_size": 0,
156+
"buffer_queue_byte_size": 0,
157+
"buffer_available_buffer_space_ratios": 100.0,
140158
"retry": {}
141159
}
142160
]
@@ -152,18 +170,32 @@ If the output plugin is in retry status, additional fields are added to `retry`.
152170
Here is the response:
153171

154172
```text
155-
{
173+
{
156174
"plugin_id": "out_es",
157175
"plugin_category": "output",
158176
"type": "elasticsearch",
159177
"output_plugin": true,
160178
"buffer_queue_length": 1,
161-
"buffer_total_queued_size": 0,
162-
"retry_count": 3,
179+
"buffer_timekeys": [],
180+
"buffer_total_queued_size": 117,
181+
"retry_count": 4,
182+
"emit_records": 1,
183+
"emit_size": 0,
184+
"emit_count": 1,
185+
"write_count": 4,
186+
"write_secondary_count": 0,
187+
"rollback_count": 4,
188+
"slow_flush_count": 0,
189+
"flush_time_count": 0,
190+
"drop_oldest_chunk_count": 0,
191+
"buffer_stage_length": 0,
192+
"buffer_stage_byte_size": 0,
193+
"buffer_queue_byte_size": 117,
194+
"buffer_available_buffer_space_ratios": 100.0,
163195
"retry": {
164-
"start": "2018-01-30 22:42:47 +0900",
165-
"steps": 2,
166-
"next_time": "2018-01-30 22:42:52 +0900"
196+
"start": "2025-05-29 16:05:36 +0900",
197+
"steps": 3,
198+
"next_time": "2025-05-29 16:05:52 +0900"
167199
}
168200
}
169201
```

0 commit comments

Comments
 (0)