Skip to content

Instantly share code, notes, and snippets.

@arcolife
Created December 26, 2017 19:17
Show Gist options
  • Save arcolife/949a4cec35473015f37296e292656938 to your computer and use it in GitHub Desktop.
Save arcolife/949a4cec35473015f37296e292656938 to your computer and use it in GitHub Desktop.
sar network example
{
"timed_out" : false,
"took" : 1,
"_shards" : {
"failed" : 0,
"successful" : 10,
"skipped" : 0,
"total" : 10
},
"hits" : {
"max_score" : 1,
"total" : 143,
"hits" : [
{
"_type" : "sar",
"_id" : "4a766b64359266f609c7c7680eea2341",
"_source" : {
"network" : {
"net-dev" : [
{
"rxmcst" : 0,
"txpck" : 0.38,
"txcmp" : 0,
"rxpck" : 23.02,
"rxkB" : 2.89,
"rxcmp" : 0,
"iface" : "eth0",
"txkB" : 0.81
},
{
"rxmcst" : 0,
"txcmp" : 0,
"rxpck" : 2.73,
"txpck" : 2.73,
"rxkB" : 0.49,
"txkB" : 0.49,
"iface" : "lo",
"rxcmp" : 0
}
],
"net-nfsd" : {
"udp" : 0,
"swrite" : 0,
"hit" : 0,
"sgetatt" : 0,
"sread" : 0,
"miss" : 0,
"saccess" : 0,
"packet" : 0,
"badcall" : 0,
"scall" : 0,
"tcp" : 0
},
"net-sock" : {
"totsck" : 836,
"ip-frag" : 0,
"rawsck" : 0,
"tcp-tw" : 0,
"udpsck" : 3,
"tcpsck" : 52
},
"net-edev" : [
{
"iface" : "eth0",
"txdrop" : 0,
"rxfram" : 0,
"txfifo" : 0,
"rxerr" : 0,
"rxfifo" : 0,
"txerr" : 0,
"rxdrop" : 0,
"coll" : 0,
"txcarr" : 0
},
{
"coll" : 0,
"txerr" : 0,
"rxdrop" : 0,
"txcarr" : 0,
"txdrop" : 0,
"iface" : "lo",
"rxfram" : 0,
"rxfifo" : 0,
"rxerr" : 0,
"txfifo" : 0
}
],
"net-nfs" : {
"retrans" : 0,
"write" : 0,
"getatt" : 0,
"access" : 0,
"read" : 0,
"call" : 0
}
}
},
"_index" : "sarjitsu.sar-20171208",
"_score" : 1
}
]
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment