2017-06-29 06:09 AM
Hi Team,
I want to create chart in which I can show total number of devices integrated with SIEM with respect to Device type. I tried to use sum_count() parameter in Rule. But I am not able to fetch this rule in chart. Is there any other ways to do so?
Can I use Lists to achieve this goal?
Thanks
Atul
2017-06-29 10:40 AM
You could do something like the following.
Select line -- device.type, count(device.type)
Where - medium ="32"
That will show you all the different log types that you have in the system over the given time period.
You could possibly in a tabular report add in:
then line -- Lookup_and_add('device.ip','device.type')
2017-06-29 01:06 PM
You are correct in your observation that the "Then" is not an item you can select in the chart.
Here is something else you can try. This will count the number of devices for each device type.
Report Rule:
Select: device.type,countdistinct(device.ip)
Alias: Device Type, Device Count
Where: medium=32
This will show a list of device types with a count of device IP's like below. You should be able to chart these just fine.
Device Type Device Count
ciscoasa 14
ciscoucs 4
You could also try the following:
Report Rule:
Select: device.type,countdistinct(device.ip)
Alias: Device Type, Device Count
Where: medium=32
Then: sum_count(countdistinct(device.ip))
Unfortunately it is not as pretty but it will display something like the following:
Total countdistinct(device.ip) of device.type 28 <--This should be your device count
Total countdistinct(device.ip) of device.type 2 <-- This should your device type count
I just did some general testing using the "Then: sum_count(countdistinct(device.ip))", to see if it would work at all. This will not be available to select in a chart, at least that is what I found in my testing on 10.6.2. Hopefully this information will help with what you are trying to achieve.
2017-06-30 03:02 AM
Can you please tell me what is medium? Why are we using medium 32?
Do you have a list of medium no and associated value?
2017-06-30 03:05 AM
Hi Leonard,
Unfortunately We are using 10.2 version. I don't think this version support count/countdistinct etc value. I have received error as
Select clause ' device.type, countdistinct(device.ip) ' in the NextGen query can not have multiple columns when Group by is used.
Also, we can use these rules for reporting purpose only, right? We can't use this in Chart section?
2017-06-30 09:35 AM
Atul,
You are correct countdistinct is only available in 10.5 and up. Report rules can be used for charts. Although you need to adhere to the following for chart rules.
You must select a rule that has a unique where clause and is summarized by session count or session size.
Only Netwitness (NWDB) rules are supported with Security Analytics 10.2
Report engine documentation link, in case you don't have it. Starting at page 227 addresses charts.
https://community.rsa.com/docs/DOC-1449
Thanks...
Leonard
2017-06-30 09:47 AM
Hi Atul,
I'm not sure if you are aware of this, but RSA Security Analytics version 10.2 reached its End of Primary Support (EOPS) back in June of 2016. You can view the EOPS dates for our versions here: Product Version Life Cycle for RSA NetWitness Logs and Packets.
I would strongly recommend upgrading your RSA NetWitness deployment to the latest version of 10.6. If you're interested, our team can have a conversation with you to discuss the benefits of upgrading - there are honestly far too many to list here. I am confident that you would find value in upgrading.
There are several options available to you if you are not interested in upgrading the environment on your own using RSA's documentation. Our Global Services team performs major upgrades on a regular basis so if we can be of any assistance to you please don't hesitate to let me know. I'd be more than happy to connect with you to discuss.
Have a great weekend.
Thank you,
Jake
Jake Dorval | Global Services Product Lead (SPL) – RSA NetWitness® Suite | Global Services| Reston, VA
Mobile: +1 410-960-6988 | jacob.dorval@rsa.com | GMT (-4) Time Zone
RSA® NetWitness® Suite Community: https://community.rsa.com/community/products/netwitness
2017-06-30 10:49 AM
Atul,
Medium is what is used to define whether you are looking at packets or logs. So if you have both packet decoders AND log decoders in your architecture AND your broker is consuming from both packet/log concentrators, you will want to define whether your query is a logs based query, packets based query, or both. Medium is the metakey that lets you do that. The examples below show how to use medium.
For LOGS ONLY start your query with:
medium=32
For PACKETS ONLY start your query with:
medium=1
For LOGS AND PACKETS no "medium =" is needed to prefix the query.
For architectures that only have Log collection or packet collection, no "medium=" is necessary as it is a singular type of data (logs only or packets only).
Thanks...
Leonard