Jump to content


Photo

IP Range Filter in Customized Template of Table Report


  • Please log in to reply
2 replies to this topic

#1 Ally

Ally

    Newbie

  • Members
  • Pip
  • 6 posts
  • Gender:Not Telling

Posted 24 April 2014 - 07:25 PM

Hello,

 

I tried to make my own template of the table report to show

 

1. Network Name

2. IP Address between a range (for example: 192.168.1.1 ~ 192.168.15.254)

3. User Name

 

I know there are some condition terms provided to us like equals (=), matches, and so on.

 

I could get all of the assets without adding any IP condition, but I got none of assets while I try to add the condition to the IP address.

 

I try to add the condition to the network name, it works. So I know the template should be okay.

 

Would you please help to guide me how to do? Thanks.



#2 Zak

Zak

    Administrator

  • Root Admin
  • PipPipPip
  • 747 posts
  • Gender:Male

Posted 25 April 2014 - 12:58 AM

Hello,

 

What condition are you trying to add to the IP address?

For the report, this field is a string, not a number, so unfortunately it's not possible to add a condition "less than 192.168.15.254". It is possible to add something like "matches 192.168.*", but it will also include everything from subnets 16, 17, etc. However you can do that, and then sort the resulting table by IP address and then remove everything unnecessary after the export.


Softinventive Lab support

#3 Ally

Ally

    Newbie

  • Members
  • Pip
  • 6 posts
  • Gender:Not Telling

Posted 27 April 2014 - 07:29 PM

Hello,

 

 

172.21.51.0/255.255.240.0 is the ip range condition.

 

Refer to the last reply, I tried to use

 

Or

IP address ~ Matches "172.21.51.*"

IP address ~ Matches "172.21.52.*"

IP address ~ Matches "172.21.53.*"

.

.

.

 

to include all of subnets.

 

I am not sure if you and the team would like to plan to simplify the condition for IP range condition one day? I look forward to seeing your feedback.

 

Many thanks.






0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users