Skip to content

Instantly share code, notes, and snippets.

@abramsm
Last active August 29, 2015 13:56
Show Gist options
  • Save abramsm/8980561 to your computer and use it in GitHub Desktop.
Save abramsm/8980561 to your computer and use it in GitHub Desktop.
Sample Hydra Output Section
"output":{
"type":"tree",
"root":{"path":"TREE"},
"paths":{
"TREE":[
{"type":"const", "value":"root", "data":{
"topterms":{"type":"key.top","key":"TERMS","size":1000},
"topuids":{"type":"key.top", "key":"UID", "size":1000},
"topip":{"type":"key.top", "key":"IP", "size":1000},
"uuuids":{"type":"count", "ver":"hllp", "key":"UID"},
"uips":{"type":"count", "ver":"hllp", "key":"IP"},
"time":{"type":"distribution", "key":"QUERY_TIME_MOD"},
}},
{"type":"branch", "list":[
[
{"type":"const", "value":"all", "data":{
"distro":{"type":"distribution", "key":"QUERY_TIME_MOD"},
}},
{"type":"value", "key":"TERMS"},
],
[
{"type":"const", "value":"bytime", "data":{
"distro":{"type":"distribution", "key":"QUERY_TIME_MOD"},
}},
{"type":"value", "key":"QUERY_TIME"},
{"type":"value", "key":"TERMS"},
],
[
{"type":"const", "value":"byip"},
{"type":"value", "key":"IP", "data":{
"uuuids":{"type":"count", "ver":"hllp", "key":"UID"},
}},
{"type":"value", "key":"TERMS"},
]
]},
],
},
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment