Skip to content

when i run the sensor_versions_by_hostname.py script it returns only 9500 records #681

Answered by jshcodes
afroz1 asked this question in Q&A
Discussion options

You must be logged in to vote

Hi @afroz1 -

Thank you for the question!

The sample you're testing leverages the get_devices_by_filter method (GetDevicesByFilter operation). This operation cannot return more than 10K hosts, so we will need to use the query_devices_by_filter_scroll method instead.

We have a sample discussing the differences between these two operations here.

I'm putting together an updated sample to speak to larger environments, but in the interim, give this code a try and let us know if you have any questions or problems.

"""This sample demonstrates retrieving sensor versions by hostname (scrolling).

This example requires FalconPy v0.8.6+
"""
import argparse
from falconpy import Hosts


def parse_com…

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@afroz1
Comment options

Answer selected by afroz1
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
code samples Functioning sample code to get you started hosts Hosts or Host Groups issues and questions
2 participants
Converted from issue

This discussion was converted from issue #680 on June 04, 2022 12:47.