Sort and limit data with Flux

    If you’re just getting started with Flux queries, check out the following:

    Example sorting system uptime

    The limit() function limits the number of records in output tables to a fixed number, . The following example shows up to 10 records from the past hour.

    You now have created a Flux query that sorts and limits data. Flux also provides the and bottom() functions to perform both of these functions at the same time.