The following section outlines an example event message that is sent from the DHCP Statistics service to the configured HTTP endpoint, Splunk server, Kafka cluster, or Elasticsearch server. You can configure the endpoint to retrieve specific information from the DHCP statistics event message to monitor the health of your DHCP environment.
Example DHCPv4 event
message
{
"data": {
"ackSent": 0,
"declineReceived": 0,
"discoverReceived": 0,
"informReceived": 0,
"leasesPerSecond": 0.0,
"nakSent": 0,
"offerSent": 0,
"received": 0,
"releaseReceived": 0,
"requestReceived": 0,
"sent": 0
},
"key": "e2e9317c-8473-40e1-9bb2-b3b0db7c0322",
"payloadType": "dhcpv4-statistics",
"schemaVersion": "1.0",
"serverId": "bdds111",
"sourceId": "421bce7d-b4e6-b705-6057-7039628a9847",
"time": 1638200581312914953,
"timePrecision": "ns"
}
Parameters
data
—the DHCPv4 statistics data available on the DHCP server.key
—the unique event ID of the message.payloadType
—the event payload type.schemaVersion
—the version of the schema used to generate the DHCP statistics message.serverId
—the ID of the DNS server.sourceId
—the system UUID of the DHCP server.time
—the time that the response message was received or sent by the DHCP server.timePrecision
—the measurement of the value intime
. The measurement is in nanoseconds (ns
).
Example DHCPv6 event
message
{
"data": {
"advertiseSent": 0,
"confirmReceived": 0,
"declineReceived": 0,
"infoRequestReceived": 0,
"leasesPerSecond": 0.9988280267329872,
"rebindReceived": 10,
"received": 10,
"reconfReceived": 0,
"releaseReceived": 0,
"renewReceived": 0,
"replySent": 10,
"requestReceived": 0,
"sent": 10,
"solicitReceived": 0
},
"key": "2a3d72fb-462b-44df-8cd2-adb2f6984e8b",
"payloadType": "dhcpv6-statistics",
"schemaVersion": "1.0",
"serverId": "bdds111",
"sourceId": "421bce7d-b4e6-b705-6057-7039628a9847",
"time": 1638200581313878839,
"timePrecision": "ns"
}
Parameters
data
—the DHCPv6 statistics data available on the DHCP server.key
—the unique event ID of the message.payloadType
—the event payload type.schemaVersion
—the version of the schema used to generate the DHCP statistics message.serverId
—the ID of the DNS server.sourceId
—the system UUID of the DHCP server.time
—the time that the response message was received or sent by the DHCP server.timePrecision
—the measurement of the value intime
. The measurement is in nanoseconds (ns
).