21. <match mongo.**>
type mongo
database fluent
collection test
log
# Following attibutes are optional
host fluenter
port 10000
# Other buffer configurations here
</match>
22. Mon Nov 14 23:36:22 [conn13] run command admin.$cmd { replSetGetStatus: 1 }
Mon Nov 14 23:36:22 [conn13] command admin.$cmd command: { replSetGetStatus: 1 } ntoreturn:1 reslen:571 0ms
Mon Nov 14 23:36:22 [conn13] run command admin.$cmd { ismaster: 1 }
Mon Nov 14 23:36:22 [conn13] command admin.$cmd command: { ismaster: 1 } ntoreturn:1 reslen:234 0ms
Mon Nov 14 23:36:22 [conn13] run command admin.$cmd { replSetGetStatus: 1 } Input
{
_id : ...,
time: Mon Nov 14 23:36:22,
log
key1 : “[conn13]”,
key2 : “command”,
key3 : ”admin.$cmd”,
key4 : {
“ismaster”: 1
},
value : “0ms”,
} Output