influx v1 dbrp create

    • influx CLI 2.0.2+
    • InfluxDB 2.0.1+

    Authentication credentials

    The examples below assume your InfluxDB host, organization, and token are provided by the . If you do not have a CLI configuration set up, use the appropriate flags to provide these required credentials.

    Create a DBRP mapping
    1. influx v1 dbrp create \
    2. --bucket-id 12ab34cd56ef \
    3. --db example-db \
    4. --default