Hi! I want to create query who get events with different severity and count them through api interface. I write query, but its not work.
{
"jsonrpc": "2.0",
"method": "event.get",
"params": [
{
"output": "extend",
"source":"0",
"value":"1",
"severities":["3"],
"countOutput":true
},
{
"output": "extend",
"source":"0",
"value":"1",
"severities":["4"],
"countOutput":true
}
],
"id": 2,
"auth": "e07d79515ad5ab8f19ed9edda0f482d5"
}
I want to get something like that
result: event count "severities 3"
result: event count "severities 4"
Perhaps the more experienced people can help figure out where I'm wrong, and is it possible.
Thanks for help.
{
"jsonrpc": "2.0",
"method": "event.get",
"params": [
{
"output": "extend",
"source":"0",
"value":"1",
"severities":["3"],
"countOutput":true
},
{
"output": "extend",
"source":"0",
"value":"1",
"severities":["4"],
"countOutput":true
}
],
"id": 2,
"auth": "e07d79515ad5ab8f19ed9edda0f482d5"
}
I want to get something like that
result: event count "severities 3"
result: event count "severities 4"
Perhaps the more experienced people can help figure out where I'm wrong, and is it possible.
Thanks for help.