2015-04-10 03:35 AM
Hi,
it is possible to create report with grouping fields and number of events? Something like this: ip.src, ip.dst, count
Regards
Arek
2015-04-20 10:43 PM
In 10.4, you can use lookup_and_add with count. Refer SAdocs for additional syntax,https://sadocs.emc.com/0_en-us/090_10.4_User_Guide/90_Report/10_Rule/00_RuleOverview/RulSyntax/NWDBRulSyntax
Select-->ip.src,ip.dst,count(ip.src)
Where-->ip.src exists && ip.dst exists
Then-->lookup_and_add(ip.dst,ip.src,1000)
In 10.5 upcoming release, there is native support of group by and order by and syntax would be like,
Select-->ip.src,ip.dst,count(ip.src)
Where-->ip.src exists && ip.dst exists
Group by--> ip.src,ip.dst
Order by-->any of the meta fields available in Select
2015-04-20 10:39 AM
Not easily unless you have the warehouse component.
The best you can do for now is to use aggregate and lookup_and_add() - see sadocs.emc.com for examples.
2015-04-20 05:27 PM
This feature is coming in 10.5. Concentrator will have native support for group by and order by clauses in the query language.
2015-04-20 10:43 PM
In 10.4, you can use lookup_and_add with count. Refer SAdocs for additional syntax,https://sadocs.emc.com/0_en-us/090_10.4_User_Guide/90_Report/10_Rule/00_RuleOverview/RulSyntax/NWDBRulSyntax
Select-->ip.src,ip.dst,count(ip.src)
Where-->ip.src exists && ip.dst exists
Then-->lookup_and_add(ip.dst,ip.src,1000)
In 10.5 upcoming release, there is native support of group by and order by and syntax would be like,
Select-->ip.src,ip.dst,count(ip.src)
Where-->ip.src exists && ip.dst exists
Group by--> ip.src,ip.dst
Order by-->any of the meta fields available in Select