influxdb v2.3 Documentation
首页 白天 夜间 BookChat 小程序 小程序 下载 阅读记录
  • 书签 我的书签
  • 添加书签 添加书签 移除书签 移除书签

Query in the Flux REPL

来源 InfluxDB 浏览 1 扫码 打印 2026-10-29 07:58:35
  • Query in the Flux REPL

Query in the Flux REPL

This page documents an earlier version of InfluxDB. InfluxDB v2.7 is the latest stable version. View this page in the v2.7 documentation.

The Flux REPL starts an interactive Read-Eval-Print Loop (REPL) where you can write and execute Flux queries.

1. ./flux repl

For more information, see Use the Flux REPL.

query



上一篇:
下一篇:
  • 书签
  • 添加书签 移除书签
  • Install InfluxDB
  • Get started
  • Upgrade InfluxDB
    • InfluxDB 2.x to 2.3
    • InfluxDB 1.x to 2.3
      • Automatically upgrade
      • Manually upgrade
      • Upgrade with Docker
      • Migrate CQs
    • Downgrade InfluxDB
  • Develop with the API
    • Quick start
    • Client library tutorials
      • Python
      • JavaScript
    • Client libraries
      • Arduino
      • C#
      • Dart
      • Go
      • Java
      • JavaScript for browsers
      • Kotlin
      • Node.js
        • Install
        • Write
        • Query
      • PHP
      • Python
      • R
      • Ruby
      • Scala
      • Swift
  • Write data
    • Load data source in UI
    • No-code solutions
      • Telegraf (agent)
        • Automatically configure Telegraf
        • Dual write to InfluxDB OSS and InfluxDB Cloud
        • Manually configure Telegraf
        • Use Telegraf plugins
          • HTTP input plugin
      • Scrape data
        • Manage scrapers
          • Create a scraper
          • Update a scraper
          • Delete a scraper
        • Create scrapable endpoints
      • Third-party technologies
    • Developer tools
      • Third-party developer tools
      • Client libraries
      • Write CSV data
      • Influx CLI
      • Scrape Prometheus metrics
      • InfluxDB API
    • Best practices
      • Schema design
      • Resolve high cardinality
      • Optimize writes to InfluxDB
      • Handle duplicate points
    • Write from OSS to Cloud
    • Replicate data
      • Replicate data to Cloud
    • Troubleshoot issues
    • Delete data
  • Query data
    • Get started with Flux
      • Query InfluxDB
      • Transform data
    • Query with Flux
      • Query fields and tags
      • Group
      • Sort and limit
      • Window & aggregate
      • Explore your schema
      • Transform data with math
      • Calculate percentages
      • Cumulative sum
      • Fill
      • First & last
      • Histograms
      • Increase
      • Join
      • Median
      • Moving Average
      • Percentile & quantile
      • Rate
      • Conditional logic
      • Custom functions
        • Custom aggregate functions
      • Exists
      • Extract scalar values
      • Geo-temporal data
        • Shape geo-temporal data
        • Filter by region
        • Group geo-temporal data
      • Monitor states
      • Operate on timestamps
      • Query SQL data sources
      • Regular expressions
      • Flux version
    • Query with InfluxQL
    • Execute queries
      • Query with Data Explorer
      • Query with the InfluxDB API
      • Query in the Flux REPL
      • Use the influx CLI
    • Common queries
      • Operate on columns
      • Use multiple fields in a calculation
      • Compare values from different buckets
      • IoT common queries
    • Optimize queries
  • Visualize data
    • Manage dashboards
      • Create a dashboard
      • Control a dashboard
      • Export a dashboard
      • Delete a dashboard
    • Use and manage variables
      • Create a variable
      • Update a variable
      • View variables
      • Export a variable
      • Delete a variable
      • Variable types
      • Common variable queries
    • Manage labels
    • Use annotations
    • Visualization types
      • Band
      • Gauge
      • Graph
      • Graph + Single Stat
      • Heatmap
      • Histogram
      • Mosaic
      • Scatter
      • Single Stat
      • Table
  • Notebooks
    • Overview of notebooks
    • Create a notebook
    • Manage notebooks
    • Downsample data
    • Normalize data
    • Troubleshoot notebooks
  • Process data
    • Get started with tasks
    • Manage tasks
      • Create a task
      • View tasks
      • Run a task
      • View run history
      • Update a task
      • Export a task
      • Delete a task
    • Common tasks
      • Downsample data
      • Calculate a weekly mean
      • Convert results to JSON
    • Task options
  • Monitor & alert
    • Manage checks
      • Create checks
      • View checks
      • Update checks
      • Delete checks
    • Manage notification endpoints
      • Create endpoints
      • View endpoint history
      • Update endpoints
      • Delete endpoints
    • Manage notification rules
      • Create notification rules
      • View notification rules
      • Update notification rules
      • Delete notification rules
    • Monitor with templates
      • Monitor InfluxDB OSS
      • Monitor infrastructure
        • AWS CloudWatch
        • Raspberry Pi
        • Docker
        • vSphere
        • Windows
      • Monitor networks
        • HAproxy
    • Send alert email
    • Create custom checks
  • Back up & restore data
    • Back up data
    • Restore data
  • Migrate data
    • Migrate data from OSS
    • Migrate from Cloud to OSS
  • InfluxDB templates
    • Use templates
    • Create a template
    • InfluxDB stacks
      • Save time with stacks
      • Initialize a stack
      • Update a stack
      • View stacks
      • Remove a stack
  • Manage organizations
    • Create an organization
    • View organizations
    • Update an organization
    • Delete an organization
    • Manage buckets
      • Create a bucket
      • Update a bucket
      • View buckets
      • Delete a bucket
    • Switch organizations
    • Manage members
      • Add a member
      • View members
      • Remove a member
  • Manage users
    • Create a user
    • View users
    • Delete a user
    • Update a user
    • Change your password
    • Recover credentials
  • Security & authorization
    • Enable TLS encryption
    • Enable security features
    • Manage secrets
      • Add secrets
      • View secret keys
      • Update secrets
      • Delete secrets
      • Use secrets
      • Store secrets in Vault
    • Manage tokens
      • Create a token
      • View tokens
      • Update a token
      • Delete a token
      • Use tokens
    • Disable development features
  • Telegraf configurations
    • Clone a config
    • Create a config
    • View configs
    • Update a config
    • Remove a config
  • Tools & integrations
    • Use the influx CLI
    • Use Kapacitor
    • Use the Flux LSP with Vim
    • Use Chronograf
    • Use the Flux REPL
    • Use the Flux VS Code extension
    • Use Grafana
    • Use the Google Data Studio connector
    • Use Postman
暂无相关搜索结果!

    本文档使用 WanXiangYunDang 构建

    展开/收起文章目录

    思维导图备注

    文章二维码

    手机扫一扫,轻松掌上读

    文档下载

    请下载您需要的格式的文档,随时随地,享受汲取知识的乐趣!
    PDF文档 EPUB文档 MOBI文档

    微信小程序阅读

    BookChat 微信小程序阅读
    微信扫一扫,知识掌上学

    书签列表

      阅读记录

      阅读进度: 0.00% ( 0/0 ) 重置阅读进度