added parameters to allow searching for a specific group or groups or specific ips