-
Notifications
You must be signed in to change notification settings - Fork 5k
[Metricbeat] add a network_summary metricset #15196
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Changes from 10 commits
d00d6db
2c37aa4
27d36de
61e394d
f7ac244
0568dd5
2f8cf0a
8389e4a
d705aa5
cf725ea
5d7fc72
d1df761
ae561f5
83f803a
b444cab
f55fea2
0e4f7aa
6e92d88
0ab13db
699bd31
9d6d91d
73cbc2e
b970bf4
9c30581
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,23 @@ | ||
| //// | ||
| This file is generated! See scripts/mage/docs_collector.go | ||
| //// | ||
|
|
||
| [[metricbeat-metricset-system-network_summary]] | ||
| === System network_summary metricset | ||
|
|
||
| beta[] | ||
|
|
||
| include::../../../module/system/network_summary/_meta/docs.asciidoc[] | ||
|
|
||
|
|
||
| ==== Fields | ||
|
|
||
| For a description of each field in the metricset, see the | ||
| <<exported-fields-system,exported fields>> section. | ||
|
|
||
| Here is an example document generated by this metricset: | ||
|
|
||
| [source,json] | ||
| ---- | ||
| include::../../../module/system/network_summary/_meta/data.json[] | ||
| ---- |
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Large diffs are not rendered by default.
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,245 @@ | ||
| { | ||
| "@timestamp": "2017-10-12T08:05:34.853Z", | ||
| "event": { | ||
| "dataset": "system.network_summary", | ||
| "duration": 115000, | ||
| "module": "system" | ||
| }, | ||
| "metricset": { | ||
| "name": "network_summary", | ||
| "period": 10000 | ||
| }, | ||
| "service": { | ||
| "type": "system" | ||
| }, | ||
| "system": { | ||
| "network_summary": { | ||
| "icmp": { | ||
| "InAddrMaskReps": 0, | ||
|
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. is it common practice in metricbeat to use camel case for a set of 'undocumented' metrics? Do we want to convert to snake case (e.g. github.com/stoewer/go-strcase).
Contributor
Author
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. So, my thinking was that since we're inserting "blind" metrics with no real opinionated manipulating of the data, keeping the key values the same as the their OS values might be a good idea. Let me hunt around the system module to see if we do this in other places. There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more.
Contributor
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. We have done this when ingesting metrics in raw from a source, to avoid confusion. AWS cloudwatch is an example. That said, I don't have a strong opinion here |
||
| "InAddrMasks": 0, | ||
| "InCsumErrors": 0, | ||
| "InDestUnreachs": 835, | ||
| "InEchoReps": 0, | ||
| "InEchos": 1, | ||
| "InErrors": 20, | ||
| "InMsgs": 836, | ||
| "InParmProbs": 0, | ||
| "InRedirects": 0, | ||
| "InSrcQuenchs": 0, | ||
| "InTimeExcds": 0, | ||
| "InTimestampReps": 0, | ||
| "InTimestamps": 0, | ||
| "InType3": 835, | ||
| "InType8": 1, | ||
| "OutAddrMaskReps": 0, | ||
| "OutAddrMasks": 0, | ||
| "OutDestUnreachs": 940, | ||
| "OutEchoReps": 1, | ||
| "OutEchos": 0, | ||
| "OutErrors": 0, | ||
| "OutMsgs": 941, | ||
| "OutParmProbs": 0, | ||
| "OutRedirects": 0, | ||
| "OutSrcQuenchs": 0, | ||
| "OutTimeExcds": 0, | ||
| "OutTimestampReps": 0, | ||
| "OutTimestamps": 0, | ||
| "OutType0": 1, | ||
| "OutType3": 940 | ||
| }, | ||
| "ip": { | ||
| "DefaultTTL": 64, | ||
| "ForwDatagrams": 33389, | ||
| "Forwarding": 1, | ||
| "FragCreates": 0, | ||
| "FragFails": 0, | ||
| "FragOKs": 0, | ||
| "InAddrErrors": 19, | ||
| "InBcastOctets": 431773621, | ||
| "InBcastPkts": 1686995, | ||
| "InCEPkts": 0, | ||
| "InCsumErrors": 0, | ||
| "InDelivers": 38037698, | ||
| "InDiscards": 0, | ||
| "InECT0Pkts": 3160941, | ||
| "InECT1Pkts": 0, | ||
| "InHdrErrors": 0, | ||
| "InMcastOctets": 0, | ||
| "InMcastPkts": 0, | ||
| "InNoECTPkts": 129521210, | ||
| "InNoRoutes": 0, | ||
| "InOctets": 167733588581, | ||
| "InReceives": 41266648, | ||
| "InTruncatedPkts": 0, | ||
| "InUnknownProtos": 0, | ||
| "OutBcastOctets": 0, | ||
| "OutBcastPkts": 0, | ||
| "OutDiscards": 1, | ||
| "OutMcastOctets": 0, | ||
| "OutMcastPkts": 0, | ||
| "OutNoRoutes": 4, | ||
| "OutOctets": 75001958794, | ||
| "OutRequests": 29261852, | ||
| "ReasmFails": 0, | ||
| "ReasmOKs": 0, | ||
| "ReasmOverlaps": 0, | ||
| "ReasmReqds": 0, | ||
| "ReasmTimeout": 0 | ||
| }, | ||
| "tcp": { | ||
| "ActiveOpens": 6172, | ||
| "ArpFilter": 0, | ||
| "AttemptFails": 1488, | ||
| "BusyPollRxPackets": 0, | ||
| "CurrEstab": 9, | ||
| "DelayedACKLocked": 111, | ||
| "DelayedACKLost": 1587, | ||
| "DelayedACKs": 516004, | ||
| "EmbryonicRsts": 2, | ||
| "EstabResets": 404, | ||
| "IPReversePathFilter": 0, | ||
| "InCsumErrors": 0, | ||
| "InErrs": 4, | ||
| "InSegs": 38005498, | ||
| "ListenDrops": 0, | ||
| "ListenOverflows": 0, | ||
| "LockDroppedIcmps": 0, | ||
| "MaxConn": -1, | ||
| "OfoPruned": 0, | ||
| "OutOfWindowIcmps": 39, | ||
| "OutRsts": 10739, | ||
| "OutSegs": 66991971, | ||
| "PAWSActive": 0, | ||
| "PAWSEstab": 19, | ||
| "PFMemallocDrop": 0, | ||
| "PassiveOpens": 1411, | ||
| "PruneCalled": 0, | ||
| "RcvPruned": 0, | ||
| "RetransSegs": 15996, | ||
| "RtoAlgorithm": 1, | ||
| "RtoMax": 120000, | ||
| "RtoMin": 200, | ||
| "SyncookiesFailed": 2, | ||
| "SyncookiesRecv": 0, | ||
| "SyncookiesSent": 0, | ||
| "TCPACKSkippedChallenge": 2, | ||
| "TCPACKSkippedFinWait2": 0, | ||
| "TCPACKSkippedPAWS": 1, | ||
| "TCPACKSkippedSeq": 4, | ||
| "TCPACKSkippedSynRecv": 8, | ||
| "TCPACKSkippedTimeWait": 0, | ||
| "TCPAbortFailed": 0, | ||
| "TCPAbortOnClose": 321, | ||
| "TCPAbortOnData": 2613, | ||
| "TCPAbortOnLinger": 0, | ||
| "TCPAbortOnMemory": 0, | ||
| "TCPAbortOnTimeout": 84, | ||
| "TCPAckCompressed": 232116, | ||
| "TCPAutoCorking": 162, | ||
| "TCPBacklogCoalesce": 509441, | ||
| "TCPBacklogDrop": 0, | ||
| "TCPChallengeACK": 2, | ||
| "TCPDSACKIgnoredNoUndo": 4623, | ||
| "TCPDSACKIgnoredOld": 242, | ||
| "TCPDSACKOfoRecv": 2, | ||
| "TCPDSACKOfoSent": 15, | ||
| "TCPDSACKOldSent": 1668, | ||
| "TCPDSACKRecv": 8205, | ||
| "TCPDSACKUndo": 36, | ||
| "TCPDeferAcceptDrop": 0, | ||
| "TCPDelivered": 54733743, | ||
| "TCPDeliveredCE": 0, | ||
| "TCPFastOpenActive": 0, | ||
| "TCPFastOpenActiveFail": 0, | ||
| "TCPFastOpenBlackhole": 0, | ||
| "TCPFastOpenCookieReqd": 0, | ||
| "TCPFastOpenListenOverflow": 0, | ||
| "TCPFastOpenPassive": 0, | ||
| "TCPFastOpenPassiveFail": 0, | ||
| "TCPFastRetrans": 5324, | ||
| "TCPFromZeroWindowAdv": 977, | ||
| "TCPFullUndo": 3, | ||
| "TCPHPAcks": 4648338, | ||
| "TCPHPHits": 22005367, | ||
| "TCPHystartDelayCwnd": 3535, | ||
| "TCPHystartDelayDetect": 24, | ||
| "TCPHystartTrainCwnd": 4609, | ||
| "TCPHystartTrainDetect": 205, | ||
| "TCPKeepAlive": 312560, | ||
| "TCPLossFailures": 1, | ||
| "TCPLossProbeRecovery": 387, | ||
| "TCPLossProbes": 12748, | ||
| "TCPLossUndo": 437, | ||
| "TCPLostRetransmit": 1499, | ||
| "TCPMD5Failure": 0, | ||
| "TCPMD5NotFound": 0, | ||
| "TCPMD5Unexpected": 0, | ||
| "TCPMTUPFail": 0, | ||
| "TCPMTUPSuccess": 0, | ||
| "TCPMemoryPressures": 0, | ||
| "TCPMemoryPressuresChrono": 0, | ||
| "TCPMinTTLDrop": 0, | ||
| "TCPOFODrop": 0, | ||
| "TCPOFOMerge": 13, | ||
| "TCPOFOQueue": 266342, | ||
| "TCPOrigDataSent": 54724129, | ||
| "TCPPartialUndo": 145, | ||
| "TCPPureAcks": 6490261, | ||
| "TCPRcvCoalesce": 5762438, | ||
| "TCPRcvCollapsed": 0, | ||
| "TCPRcvQDrop": 0, | ||
| "TCPRenoFailures": 0, | ||
| "TCPRenoRecovery": 0, | ||
| "TCPRenoRecoveryFail": 0, | ||
| "TCPRenoReorder": 0, | ||
| "TCPReqQFullDoCookies": 0, | ||
| "TCPReqQFullDrop": 0, | ||
| "TCPRetransFail": 0, | ||
| "TCPSACKDiscard": 123, | ||
| "TCPSACKReneging": 0, | ||
| "TCPSACKReorder": 2707, | ||
| "TCPSYNChallenge": 4, | ||
| "TCPSackFailures": 5, | ||
| "TCPSackMerged": 13758, | ||
| "TCPSackRecovery": 241, | ||
| "TCPSackRecoveryFail": 3, | ||
| "TCPSackShiftFallback": 1455, | ||
| "TCPSackShifted": 37107, | ||
| "TCPSlowStartRetrans": 2, | ||
| "TCPSpuriousRTOs": 3, | ||
| "TCPSpuriousRtxHostQueues": 16, | ||
| "TCPSynRetrans": 346, | ||
| "TCPTSReorder": 732, | ||
| "TCPTimeWaitOverflow": 0, | ||
| "TCPTimeouts": 2178, | ||
| "TCPToZeroWindowAdv": 977, | ||
| "TCPWantZeroWindowAdv": 109048, | ||
| "TCPWinProbe": 0, | ||
| "TCPZeroWindowDrop": 0, | ||
| "TW": 1443, | ||
| "TWKilled": 0, | ||
| "TWRecycled": 0 | ||
| }, | ||
| "udp": { | ||
| "IgnoredMulti": 0, | ||
| "InCsumErrors": 0, | ||
| "InDatagrams": 31359, | ||
| "InErrors": 0, | ||
| "NoPorts": 61, | ||
| "OutDatagrams": 31756, | ||
| "RcvbufErrors": 0, | ||
| "SndbufErrors": 0 | ||
| }, | ||
| "udpLite": { | ||
| "IgnoredMulti": 0, | ||
| "InCsumErrors": 0, | ||
| "InDatagrams": 0, | ||
| "InErrors": 0, | ||
| "NoPorts": 0, | ||
| "OutDatagrams": 0, | ||
| "RcvbufErrors": 0, | ||
| "SndbufErrors": 0 | ||
| } | ||
| } | ||
| } | ||
| } | ||
Uh oh!
There was an error while loading. Please reload this page.