docs-v2/content/influxdb/v2.1/query-data/flux/window-aggregate.md

359 lines
27 KiB
Markdown
Raw Normal View History

InfluxDB 2.1 (#3367) * base changes for influxdb 2.1 * remove duplicates in draft * draft categories * add categories * Document wildcards in SHOW MEASUREMENTS ON queries (#3273) * InfluxQL: document wildcards in SHOW MEASUREMENTS ON queries This applies to InfluxDB 2.1. See #3201 * latest notes * Update `influxd --store` values (#3272) * Use Unix ~ alias * Add sqlite path to file layout doc * add sqlite to filesystem diagrams * draft 2.1 release notes +questions * revert to check RNs changes in separately * latest release notes * Restructure installation docs for separate CLI package (#3280) * influxdb and cli install revamp * reorganized CLI install instructions * remove unnecessary short-code parameters * updated docs to address PR feedback * Apply suggestions from code review Co-authored-by: pierwill <19642016+pierwill@users.noreply.github.com> Co-authored-by: kelseiv <47797004+kelseiv@users.noreply.github.com> * Apply suggestions from code review * update linux install instructions Co-authored-by: pierwill <19642016+pierwill@users.noreply.github.com> Co-authored-by: kelseiv <47797004+kelseiv@users.noreply.github.com> * release note updates * updates * add support for annotations in OSS 2.1 (#3286) * Document support for bearer auth sytax (#3297) * 2.1 oss notebooks (#3281) * Move notebooks to OSS (addresses #2951 ) * Update content/influxdb/v2.1/notebooks/clean-data.md Co-authored-by: Scott Anderson <sanderson@users.noreply.github.com> * Update content/influxdb/v2.1/notebooks/create-notebook.md Co-authored-by: Scott Anderson <sanderson@users.noreply.github.com> * Update content/influxdb/v2.1/notebooks/manage-notebooks.md Co-authored-by: Scott Anderson <sanderson@users.noreply.github.com> * Update content/influxdb/v2.1/notebooks/overview.md Co-authored-by: Scott Anderson <sanderson@users.noreply.github.com> * Update content/influxdb/v2.1/notebooks/_index.md Co-authored-by: Scott Anderson <sanderson@users.noreply.github.com> * Update content/influxdb/v2.1/notebooks/troubleshoot-notebooks.md Co-authored-by: Scott Anderson <sanderson@users.noreply.github.com> * Update content/influxdb/v2.1/notebooks/clean-data.md Co-authored-by: Scott Anderson <sanderson@users.noreply.github.com> * Update content/influxdb/v2.1/notebooks/clean-data.md Co-authored-by: Scott Anderson <sanderson@users.noreply.github.com> * Update content/influxdb/v2.1/notebooks/clean-data.md Co-authored-by: Scott Anderson <sanderson@users.noreply.github.com> * Update content/influxdb/v2.1/notebooks/create-notebook.md Co-authored-by: Scott Anderson <sanderson@users.noreply.github.com> * Update content/influxdb/v2.1/notebooks/create-notebook.md Co-authored-by: Scott Anderson <sanderson@users.noreply.github.com> * Update content/influxdb/v2.1/notebooks/create-notebook.md Co-authored-by: kelseiv <47797004+kelseiv@users.noreply.github.com> * Update content/influxdb/v2.1/notebooks/create-notebook.md Co-authored-by: kelseiv <47797004+kelseiv@users.noreply.github.com> * Update content/influxdb/v2.1/notebooks/create-notebook.md Co-authored-by: kelseiv <47797004+kelseiv@users.noreply.github.com> * Update content/influxdb/v2.1/notebooks/create-notebook.md Co-authored-by: kelseiv <47797004+kelseiv@users.noreply.github.com> * Update content/influxdb/v2.1/notebooks/create-notebook.md Co-authored-by: kelseiv <47797004+kelseiv@users.noreply.github.com> * Update content/influxdb/v2.1/notebooks/create-notebook.md Co-authored-by: kelseiv <47797004+kelseiv@users.noreply.github.com> * Update content/influxdb/v2.1/notebooks/create-notebook.md Co-authored-by: kelseiv <47797004+kelseiv@users.noreply.github.com> * Update content/influxdb/v2.1/notebooks/create-notebook.md Co-authored-by: kelseiv <47797004+kelseiv@users.noreply.github.com> * Update content/influxdb/v2.1/notebooks/create-notebook.md Co-authored-by: kelseiv <47797004+kelseiv@users.noreply.github.com> * Update content/influxdb/v2.1/notebooks/create-notebook.md Co-authored-by: kelseiv <47797004+kelseiv@users.noreply.github.com> * Update content/influxdb/v2.1/notebooks/create-notebook.md Co-authored-by: kelseiv <47797004+kelseiv@users.noreply.github.com> * Update content/influxdb/v2.1/notebooks/create-notebook.md Co-authored-by: kelseiv <47797004+kelseiv@users.noreply.github.com> * Update content/influxdb/v2.1/notebooks/create-notebook.md Co-authored-by: kelseiv <47797004+kelseiv@users.noreply.github.com> * Update content/influxdb/v2.1/notebooks/overview.md Co-authored-by: kelseiv <47797004+kelseiv@users.noreply.github.com> * Update content/influxdb/v2.1/notebooks/overview.md Co-authored-by: kelseiv <47797004+kelseiv@users.noreply.github.com> * Update content/influxdb/v2.1/notebooks/overview.md Co-authored-by: kelseiv <47797004+kelseiv@users.noreply.github.com> * Update content/influxdb/v2.1/notebooks/overview.md Co-authored-by: kelseiv <47797004+kelseiv@users.noreply.github.com> * Update content/influxdb/v2.1/notebooks/overview.md Co-authored-by: kelseiv <47797004+kelseiv@users.noreply.github.com> * Update content/influxdb/v2.1/notebooks/overview.md Co-authored-by: kelseiv <47797004+kelseiv@users.noreply.github.com> * Update content/influxdb/v2.1/notebooks/overview.md Co-authored-by: kelseiv <47797004+kelseiv@users.noreply.github.com> * Update content/influxdb/v2.1/notebooks/create-notebook.md Co-authored-by: kelseiv <47797004+kelseiv@users.noreply.github.com> * Update content/influxdb/v2.1/notebooks/create-notebook.md Co-authored-by: kelseiv <47797004+kelseiv@users.noreply.github.com> * Update content/influxdb/v2.1/notebooks/create-notebook.md Co-authored-by: kelseiv <47797004+kelseiv@users.noreply.github.com> * Update content/influxdb/v2.1/notebooks/create-notebook.md Co-authored-by: kelseiv <47797004+kelseiv@users.noreply.github.com> * Update content/influxdb/v2.1/notebooks/create-notebook.md Co-authored-by: kelseiv <47797004+kelseiv@users.noreply.github.com> * Update content/influxdb/v2.1/notebooks/create-notebook.md Co-authored-by: kelseiv <47797004+kelseiv@users.noreply.github.com> * Update content/influxdb/v2.1/notebooks/create-notebook.md Co-authored-by: kelseiv <47797004+kelseiv@users.noreply.github.com> * Update content/influxdb/v2.1/notebooks/create-notebook.md Co-authored-by: kelseiv <47797004+kelseiv@users.noreply.github.com> * Update content/influxdb/v2.1/notebooks/create-notebook.md Co-authored-by: kelseiv <47797004+kelseiv@users.noreply.github.com> * Add PR feedback Co-authored-by: Scott Anderson <sanderson@users.noreply.github.com> Co-authored-by: kelseiv <47797004+kelseiv@users.noreply.github.com> * Fix link in bearer auth sytax doc (#3298) * Updated CLI docs content and added version metadata (#3285) * added metadata styles and data to cli docs * added missing ui-disabled influxd config flag * added updated versions to influx cli metadata * added metadata to all cloud influx cli docs * updated influx ping in cloud to have oss only tag * Update influxd documentation for 2.1 (#3302) * update and dynamically generate links to influxd flags (#3288) * remove 2.1 config options from 2.0 * New influxd commands (#3291) * added basic influxd recovery commands * added influxd recover commands, WIP for other influxd inspect commands * updated all influxd inspect commands * Apply suggestions from code review Co-authored-by: kelseiv <47797004+kelseiv@users.noreply.github.com> * updated influxd docs to address PR feedback Co-authored-by: kelseiv <47797004+kelseiv@users.noreply.github.com> Co-authored-by: kelseiv <47797004+kelseiv@users.noreply.github.com> * Add static legend to band and graph visualizations (#3315) * update band vis to include static legend * upd graph and graph-single-stat w static legend * update 2.1 links * update to latest Flux links * fix Flux links * Influxdb 2.1 release notes (#3279) * draft release notes * latest RN changes * test * revert * for review purposes * incorporate changes from new changelog * add note about new metadata included in CLI docs * edit * more edits * add overview features list * tweak verbiage about Telegraf support * Update content/influxdb/v2.1/reference/release-notes/influxdb.md Co-authored-by: Scott Anderson <sanderson@users.noreply.github.com> * Update content/influxdb/v2.1/reference/release-notes/influxdb.md Co-authored-by: Scott Anderson <sanderson@users.noreply.github.com> * Update content/influxdb/v2.1/reference/release-notes/influxdb.md Co-authored-by: Scott Anderson <sanderson@users.noreply.github.com> * Update content/influxdb/v2.1/reference/release-notes/influxdb.md Co-authored-by: Scott Anderson <sanderson@users.noreply.github.com> * Update content/influxdb/v2.1/reference/release-notes/influxdb.md Co-authored-by: Scott Anderson <sanderson@users.noreply.github.com> * Update content/influxdb/v2.1/reference/release-notes/influxdb.md Co-authored-by: Scott Anderson <sanderson@users.noreply.github.com> * Update content/influxdb/v2.1/reference/release-notes/influxdb.md Co-authored-by: Scott Anderson <sanderson@users.noreply.github.com> * Update content/influxdb/v2.1/reference/release-notes/influxdb.md Co-authored-by: Scott Anderson <sanderson@users.noreply.github.com> * Update content/influxdb/v2.1/reference/release-notes/influxdb.md Co-authored-by: Scott Anderson <sanderson@users.noreply.github.com> * Update content/influxdb/v2.1/reference/release-notes/influxdb.md Co-authored-by: Scott Anderson <sanderson@users.noreply.github.com> * Update content/influxdb/v2.1/reference/release-notes/influxdb.md Co-authored-by: Scott Anderson <sanderson@users.noreply.github.com> * add link * add edits from Scott, Dan, and Will * edits from dan * highlight and distinguish CLI separation changes * add links to new API endpoints * formatting upd * edits for secrets * mv Flux location support after rsv merge conflicts * edits from Tim * update influxql link * rmv SLQ metastore link * minor updates to 2.1 release notes * prep * Update content/influxdb/v2.1/reference/release-notes/influxdb.md Co-authored-by: Greg <2653109+glinton@users.noreply.github.com> Co-authored-by: Scott Anderson <sanderson@users.noreply.github.com> Co-authored-by: Scott Anderson <scott@influxdata.com> Co-authored-by: Greg <2653109+glinton@users.noreply.github.com> * add new Telegraf plugins to release notes * edit from Will * 2.1 upgrade and downgrade instructions (#3332) * influxd downgrade command, add upgrade instructions, closes #3331 * Apply suggestions from code review Co-authored-by: kelseiv <47797004+kelseiv@users.noreply.github.com> * Apply suggestions from code review Co-authored-by: Daniel Moran <danxmoran@gmail.com> * udpated downgrade docs to address PR feedback * remove references to localhost:1313 Co-authored-by: kelseiv <47797004+kelseiv@users.noreply.github.com> Co-authored-by: Daniel Moran <danxmoran@gmail.com> * updated flux version in release notes, added other new items, closes #3338 (#3344) * Chore/update oss api (#3341) * Standardize the term "key-value" (#3283) * s|key/value|key-value * Use en dash in prefix to open compound "time series" * CLI 2.2 (#3269) * add -b shorthand to influx delete * add cli 2.2 release notes * add example for all-access token * edits * updates to influx auth create * edits for operator token * remove inaccurate env var * Update influx-cli.md * Update influx-cli.md * make capitalization consistent with other docs * make headers parallel * Update content/influxdb/cloud/reference/release-notes/influx-cli.md Co-authored-by: Scott Anderson <sanderson@users.noreply.github.com> * Update content/influxdb/cloud/reference/release-notes/influx-cli.md Co-authored-by: Scott Anderson <sanderson@users.noreply.github.com> * Update content/influxdb/cloud/reference/release-notes/influx-cli.md Co-authored-by: Scott Anderson <sanderson@users.noreply.github.com> * edits from Scott and Dan * Update content/influxdb/v2.0/reference/cli/influx/auth/create.md Co-authored-by: Scott Anderson <sanderson@users.noreply.github.com> * Update content/influxdb/v2.0/reference/cli/influx/auth/create.md Co-authored-by: Daniel Moran <danxmoran@gmail.com> * Update content/influxdb/v2.0/reference/cli/influx/auth/create.md Co-authored-by: Daniel Moran <danxmoran@gmail.com> * edits to CLI * add oss-only shortcode and fix formatting * format updates * fix links * add oss-only inline * fix list * Update content/influxdb/v2.0/security/tokens/create-token.md Co-authored-by: Scott Anderson <sanderson@users.noreply.github.com> * Update content/influxdb/v2.0/security/tokens/create-token.md Co-authored-by: Scott Anderson <sanderson@users.noreply.github.com> * Update content/influxdb/v2.0/security/tokens/create-token.md Co-authored-by: Scott Anderson <sanderson@users.noreply.github.com> * edits from Dan * emphasize recommendation * edit from Dan re limits and page size * edit f Sam * update release date * remove vague description * Update content/influxdb/cloud/reference/release-notes/influx-cli.md Co-authored-by: Scott Anderson <sanderson@users.noreply.github.com> * Update content/influxdb/v2.0/reference/cli/influx/auth/create.md Co-authored-by: Scott Anderson <sanderson@users.noreply.github.com> * Update content/influxdb/v2.0/reference/cli/influx/auth/create.md Co-authored-by: Scott Anderson <sanderson@users.noreply.github.com> * Update content/influxdb/cloud/reference/release-notes/influx-cli.md Co-authored-by: Scott Anderson <sanderson@users.noreply.github.com> * Update content/influxdb/cloud/reference/release-notes/influx-cli.md Co-authored-by: Scott Anderson <sanderson@users.noreply.github.com> * edits from Scott Co-authored-by: Scott Anderson <sanderson@users.noreply.github.com> Co-authored-by: Daniel Moran <danxmoran@gmail.com> * add cloud updates in Sept (#3210) * Fix numbering in AWS install doc (#3293) Closes #3292 * Document new API Invocable Scripts feature (was named-functions) (#3282) * feat: add api-guides/guides and guides/api-invocable-scripts for the API-invocable scripts (managed functions) feature (##2547, #2233). * feat: document API-invocable scripts. Add example for creating and invoking a script with POST. Unable to make GET work with query parameters. * feat: moved API-invocable scripts under api-guide. Remove guides directory. Add docs for list and find. Add example for list. Add shortcuts and glossary links. Verified with team-compute that GET /invoke and python are not supported yet. * feat: rename example function for simplicity since there's no GET for now. * feat: add find_and_update example (#2547). * feat: add update example. Clarify, expand invoke example. Add links. (#2547) * Update content/influxdb/cloud/api-guide/api-invocable-scripts/_index.md Co-authored-by: Scott Anderson <sanderson@users.noreply.github.com> * fix: remove accidental commit of generated redoc-static.html * feat: manual update to cloud swagger. Merges meta, auth, tags, and x-tagGroups from src/cloud.yml to aggregate contracts/ref/cloud.yml. * fix: replace /functions with /scripts * feat: get swaggers from contracts/ref. Still requires copy-paste of info, tags, and auth from contracts/cloud.yml and contracts/oss.yml * feat: invocable scripts (#2547) * Update content/influxdb/cloud/api-guide/api-invocable-scripts/_index.md Co-authored-by: pierwill <19642016+pierwill@users.noreply.github.com> * feat: new section for params (#2547). * fix: swagger server url (#2547) * Update content/influxdb/cloud/api-guide/api-invocable-scripts/_index.md Co-authored-by: Scott Anderson <sanderson@users.noreply.github.com> * feat: remove jq and function where there's no clear need. Co-authored-by: pierwill <19642016+pierwill@users.noreply.github.com> * fix: add Invocable Scripts tag description. (#3296) * Fix api invocable (#3299) * fix: scripts api path. * fix: bad comma * Fix api invocable (#3306) * fix: scripts api path. * fix: bad comma * feat: add invocable scripts example for sending multiple parameter values. * fix: endpoint text. (#3308) * Fix api invocable (#3310) * fix: measurement -> point * fix: cloud API ref. Remove private paths. Patch description and orgID params into ScriptCreateRequest. * updated token naming and other typos, closes influxdata/DAR#244 (#3309) * Flux 0.136 (#3311) * Flux 0.136.0 release notes * Update pagerduty package for flux 0.136.0 (#3303) * Add Flux ServiceNow package (#3304) * added Flux servicenow package * Apply suggestions from code review * Enterprise dar updates (#3313) * removed references to web server in enteprise cluster docs, closes influxdata/DAR#245 * updated enterprise upgrade instructions, closes influxdata/DAR#243 * Apply suggestions from code review Co-authored-by: pierwill <19642016+pierwill@users.noreply.github.com> Co-authored-by: pierwill <19642016+pierwill@users.noreply.github.com> * fix: mjs example path (#3305) (#3316) * 3240 fix nodejs alias (#3317) * fix: mjs example path (#3305) * fix: add alias to node.js client library (#3240) * Edit description for amd_rocm_smi Telegraf plugin (#3186) * Edit description for amd_rocm_smi Telegraf plugin Edit name and description for amd_rocm_smi Telegraf plugin. Not sure if this is the only location that it needs to be udpated. * cpl minor updates Co-authored-by: Kelly <kelly@influxdata.com> * remove influxql support from v2 api, closes influxdata/DAR#246 (#3326) * Telegraf 1.20.3 (#3328) * Telegraf 1.20.3 * Update content/telegraf/v1.20/about_the_project/release-notes-changelog.md Co-authored-by: kelseiv <47797004+kelseiv@users.noreply.github.com> * Update content/telegraf/v1.20/about_the_project/release-notes-changelog.md Co-authored-by: kelseiv <47797004+kelseiv@users.noreply.github.com> * Update content/telegraf/v1.20/about_the_project/release-notes-changelog.md Co-authored-by: kelseiv <47797004+kelseiv@users.noreply.github.com> * Address PR feedback Co-authored-by: kelseiv <47797004+kelseiv@users.noreply.github.com> * docs: update telegraf configuration.md (#3300) * docs: update telegraf configuration.md * add note about rate limits * fix: correct debian/ubuntu install instructions (#3312) * fix: correct debian/ubuntu install instructions This consolidates the Debian and Ubutnu install instructions into one section. The install instructions can be the same for both as they use the same package manager (i.e. apt). This removes the use of the now deprecated pipe to apt-key. This removes references to starting the service, as the service starts on install and does not require an extra step. Also all supported operating systems are using systemd at this point so no need to call that out seperatly. Removes an extra 'sudo' in deb instructions. * missing word * added flux 0.137.0 release notes, added vertica sql support docs (#3318) * Update _index.md (#3195) broken link for external plugin repo * Addresses #3284 (#3334) * Updates to Flux `to()` (#3260) Closes https://github.com/influxdata/DAR/issues/236. Closes #3258. Co-authored-by: Scott Anderson <sanderson@users.noreply.github.com> * Fix shim and other link (#3336) * Update Kapacitor security docs (#3325) Co-authored-by: kelseiv <47797004+kelseiv@users.noreply.github.com> * Include TLS setup in Enterprise post-install steps (#3271) - Rename TLS guide file. - Use term "TLS" in title and introduction of TLS guide. Closes #3270. Co-authored-by: kelseiv <47797004+kelseiv@users.noreply.github.com> * Flux 0.138.0 and 0.139.0 (#3335) * added release notes for flux 0.138 and 0.139 and related updates * updated spec with related implementation issue * Apply suggestions from code review Co-authored-by: kelseiv <47797004+kelseiv@users.noreply.github.com> * updated to address PR feedback, added related links to int, uint, and bitwise docs Co-authored-by: kelseiv <47797004+kelseiv@users.noreply.github.com> * hotfix load data link * add aliases and fix load data link in oss * API Ref docs processing (#3337) * chore: API Reference Docs custom processing. Pulls contracts/ref files and applies custom content (tags, x-tagGroups, securitySchemes, info) before writing results to cloud/ref.yml and v2.0/ref.yml. Rename source files from swagger.yml to ref.yml to avoid confusion and in case we need to bundle additional specs in the future. Add an OpenAPI CLI docs-plugin with content and decorators. * chore: update api-docs/README.md * fix: add strip-version-prefix to remove /api/v2 added incorrectly to some paths during contract generation - also fixed in openapi repo so future contracts won't need this decorator. Fix server urls. Cleanup. * chore: update cloud contract. * chore: update oss API contract. * Apply suggestions from code review Co-authored-by: kelseiv <47797004+kelseiv@users.noreply.github.com> * Apply suggestions from code review Co-authored-by: pierwill <19642016+pierwill@users.noreply.github.com> Co-authored-by: kelseiv <47797004+kelseiv@users.noreply.github.com> Co-authored-by: Scott Anderson <sanderson@users.noreply.github.com> Co-authored-by: Daniel Moran <danxmoran@gmail.com> Co-authored-by: Samantha Wang <32681364+sjwang90@users.noreply.github.com> Co-authored-by: Kelly <kelly@influxdata.com> Co-authored-by: noramullen1 <42354779+noramullen1@users.noreply.github.com> Co-authored-by: Joshua Powers <powersj@influxdata.com> Co-authored-by: bgilmore-iot <85192039+bgilmore-iot@users.noreply.github.com> * edit from Tim: update v2.0 to v2.1 in API section * fix 2.1 links * Fix/api ref 2.1 (#3363) * fix: cloud-specific v1compat auth examples. * fix: openapi. Disabled securityScheme replacement. Cleaned up placeholders. Added links. * fix: update API auth descriptions. add API ref v2.1. Update links in openapi content. * fix: updates URLs to v2.1 in API ref docs * add verify-tsm to 2.1 release notes * Clockface updates for 2.1 and Cloud (#3364) * versioned old icomoon font * updated all existing icons with versioned style * Revert "updated all existing icons with versioned style" This reverts commit 79b6cdf539542a5420ab3988b7ada9a0db497a23. * versioned icon shortcode * update icons and new styles for clockface v3 * updated nav-icon shortcode and styles * updated account nav icon styles * misc updates * general style updates * updated oss versions on the homepage * fixed tick card colors on homepage Co-authored-by: Kelly <kelly@influxdata.com> Co-authored-by: pierwill <19642016+pierwill@users.noreply.github.com> Co-authored-by: kelseiv <47797004+kelseiv@users.noreply.github.com> Co-authored-by: noramullen1 <42354779+noramullen1@users.noreply.github.com> Co-authored-by: Greg <2653109+glinton@users.noreply.github.com> Co-authored-by: Daniel Moran <danxmoran@gmail.com> Co-authored-by: Jason Stirnaman <jstirnaman@influxdata.com> Co-authored-by: Samantha Wang <32681364+sjwang90@users.noreply.github.com> Co-authored-by: Joshua Powers <powersj@influxdata.com> Co-authored-by: bgilmore-iot <85192039+bgilmore-iot@users.noreply.github.com>
2021-11-08 17:48:11 +00:00
---
title: Window and aggregate data with Flux
seotitle: Window and aggregate data in InfluxDB with Flux
list_title: Window & aggregate
description: >
This guide walks through windowing and aggregating data with Flux and outlines
how it shapes your data in the process.
menu:
influxdb_2_1:
name: Window & aggregate
parent: Query with Flux
weight: 204
influxdb/v2.1/tags: [flux, aggregates]
aliases:
- /influxdb/v2.1/query-data/guides/window-aggregate/
- /influxdb/v2.1/query-data/flux/windowing-aggregating/
InfluxDB 2.1 (#3367) * base changes for influxdb 2.1 * remove duplicates in draft * draft categories * add categories * Document wildcards in SHOW MEASUREMENTS ON queries (#3273) * InfluxQL: document wildcards in SHOW MEASUREMENTS ON queries This applies to InfluxDB 2.1. See #3201 * latest notes * Update `influxd --store` values (#3272) * Use Unix ~ alias * Add sqlite path to file layout doc * add sqlite to filesystem diagrams * draft 2.1 release notes +questions * revert to check RNs changes in separately * latest release notes * Restructure installation docs for separate CLI package (#3280) * influxdb and cli install revamp * reorganized CLI install instructions * remove unnecessary short-code parameters * updated docs to address PR feedback * Apply suggestions from code review Co-authored-by: pierwill <19642016+pierwill@users.noreply.github.com> Co-authored-by: kelseiv <47797004+kelseiv@users.noreply.github.com> * Apply suggestions from code review * update linux install instructions Co-authored-by: pierwill <19642016+pierwill@users.noreply.github.com> Co-authored-by: kelseiv <47797004+kelseiv@users.noreply.github.com> * release note updates * updates * add support for annotations in OSS 2.1 (#3286) * Document support for bearer auth sytax (#3297) * 2.1 oss notebooks (#3281) * Move notebooks to OSS (addresses #2951 ) * Update content/influxdb/v2.1/notebooks/clean-data.md Co-authored-by: Scott Anderson <sanderson@users.noreply.github.com> * Update content/influxdb/v2.1/notebooks/create-notebook.md Co-authored-by: Scott Anderson <sanderson@users.noreply.github.com> * Update content/influxdb/v2.1/notebooks/manage-notebooks.md Co-authored-by: Scott Anderson <sanderson@users.noreply.github.com> * Update content/influxdb/v2.1/notebooks/overview.md Co-authored-by: Scott Anderson <sanderson@users.noreply.github.com> * Update content/influxdb/v2.1/notebooks/_index.md Co-authored-by: Scott Anderson <sanderson@users.noreply.github.com> * Update content/influxdb/v2.1/notebooks/troubleshoot-notebooks.md Co-authored-by: Scott Anderson <sanderson@users.noreply.github.com> * Update content/influxdb/v2.1/notebooks/clean-data.md Co-authored-by: Scott Anderson <sanderson@users.noreply.github.com> * Update content/influxdb/v2.1/notebooks/clean-data.md Co-authored-by: Scott Anderson <sanderson@users.noreply.github.com> * Update content/influxdb/v2.1/notebooks/clean-data.md Co-authored-by: Scott Anderson <sanderson@users.noreply.github.com> * Update content/influxdb/v2.1/notebooks/create-notebook.md Co-authored-by: Scott Anderson <sanderson@users.noreply.github.com> * Update content/influxdb/v2.1/notebooks/create-notebook.md Co-authored-by: Scott Anderson <sanderson@users.noreply.github.com> * Update content/influxdb/v2.1/notebooks/create-notebook.md Co-authored-by: kelseiv <47797004+kelseiv@users.noreply.github.com> * Update content/influxdb/v2.1/notebooks/create-notebook.md Co-authored-by: kelseiv <47797004+kelseiv@users.noreply.github.com> * Update content/influxdb/v2.1/notebooks/create-notebook.md Co-authored-by: kelseiv <47797004+kelseiv@users.noreply.github.com> * Update content/influxdb/v2.1/notebooks/create-notebook.md Co-authored-by: kelseiv <47797004+kelseiv@users.noreply.github.com> * Update content/influxdb/v2.1/notebooks/create-notebook.md Co-authored-by: kelseiv <47797004+kelseiv@users.noreply.github.com> * Update content/influxdb/v2.1/notebooks/create-notebook.md Co-authored-by: kelseiv <47797004+kelseiv@users.noreply.github.com> * Update content/influxdb/v2.1/notebooks/create-notebook.md Co-authored-by: kelseiv <47797004+kelseiv@users.noreply.github.com> * Update content/influxdb/v2.1/notebooks/create-notebook.md Co-authored-by: kelseiv <47797004+kelseiv@users.noreply.github.com> * Update content/influxdb/v2.1/notebooks/create-notebook.md Co-authored-by: kelseiv <47797004+kelseiv@users.noreply.github.com> * Update content/influxdb/v2.1/notebooks/create-notebook.md Co-authored-by: kelseiv <47797004+kelseiv@users.noreply.github.com> * Update content/influxdb/v2.1/notebooks/create-notebook.md Co-authored-by: kelseiv <47797004+kelseiv@users.noreply.github.com> * Update content/influxdb/v2.1/notebooks/create-notebook.md Co-authored-by: kelseiv <47797004+kelseiv@users.noreply.github.com> * Update content/influxdb/v2.1/notebooks/create-notebook.md Co-authored-by: kelseiv <47797004+kelseiv@users.noreply.github.com> * Update content/influxdb/v2.1/notebooks/overview.md Co-authored-by: kelseiv <47797004+kelseiv@users.noreply.github.com> * Update content/influxdb/v2.1/notebooks/overview.md Co-authored-by: kelseiv <47797004+kelseiv@users.noreply.github.com> * Update content/influxdb/v2.1/notebooks/overview.md Co-authored-by: kelseiv <47797004+kelseiv@users.noreply.github.com> * Update content/influxdb/v2.1/notebooks/overview.md Co-authored-by: kelseiv <47797004+kelseiv@users.noreply.github.com> * Update content/influxdb/v2.1/notebooks/overview.md Co-authored-by: kelseiv <47797004+kelseiv@users.noreply.github.com> * Update content/influxdb/v2.1/notebooks/overview.md Co-authored-by: kelseiv <47797004+kelseiv@users.noreply.github.com> * Update content/influxdb/v2.1/notebooks/overview.md Co-authored-by: kelseiv <47797004+kelseiv@users.noreply.github.com> * Update content/influxdb/v2.1/notebooks/create-notebook.md Co-authored-by: kelseiv <47797004+kelseiv@users.noreply.github.com> * Update content/influxdb/v2.1/notebooks/create-notebook.md Co-authored-by: kelseiv <47797004+kelseiv@users.noreply.github.com> * Update content/influxdb/v2.1/notebooks/create-notebook.md Co-authored-by: kelseiv <47797004+kelseiv@users.noreply.github.com> * Update content/influxdb/v2.1/notebooks/create-notebook.md Co-authored-by: kelseiv <47797004+kelseiv@users.noreply.github.com> * Update content/influxdb/v2.1/notebooks/create-notebook.md Co-authored-by: kelseiv <47797004+kelseiv@users.noreply.github.com> * Update content/influxdb/v2.1/notebooks/create-notebook.md Co-authored-by: kelseiv <47797004+kelseiv@users.noreply.github.com> * Update content/influxdb/v2.1/notebooks/create-notebook.md Co-authored-by: kelseiv <47797004+kelseiv@users.noreply.github.com> * Update content/influxdb/v2.1/notebooks/create-notebook.md Co-authored-by: kelseiv <47797004+kelseiv@users.noreply.github.com> * Update content/influxdb/v2.1/notebooks/create-notebook.md Co-authored-by: kelseiv <47797004+kelseiv@users.noreply.github.com> * Add PR feedback Co-authored-by: Scott Anderson <sanderson@users.noreply.github.com> Co-authored-by: kelseiv <47797004+kelseiv@users.noreply.github.com> * Fix link in bearer auth sytax doc (#3298) * Updated CLI docs content and added version metadata (#3285) * added metadata styles and data to cli docs * added missing ui-disabled influxd config flag * added updated versions to influx cli metadata * added metadata to all cloud influx cli docs * updated influx ping in cloud to have oss only tag * Update influxd documentation for 2.1 (#3302) * update and dynamically generate links to influxd flags (#3288) * remove 2.1 config options from 2.0 * New influxd commands (#3291) * added basic influxd recovery commands * added influxd recover commands, WIP for other influxd inspect commands * updated all influxd inspect commands * Apply suggestions from code review Co-authored-by: kelseiv <47797004+kelseiv@users.noreply.github.com> * updated influxd docs to address PR feedback Co-authored-by: kelseiv <47797004+kelseiv@users.noreply.github.com> Co-authored-by: kelseiv <47797004+kelseiv@users.noreply.github.com> * Add static legend to band and graph visualizations (#3315) * update band vis to include static legend * upd graph and graph-single-stat w static legend * update 2.1 links * update to latest Flux links * fix Flux links * Influxdb 2.1 release notes (#3279) * draft release notes * latest RN changes * test * revert * for review purposes * incorporate changes from new changelog * add note about new metadata included in CLI docs * edit * more edits * add overview features list * tweak verbiage about Telegraf support * Update content/influxdb/v2.1/reference/release-notes/influxdb.md Co-authored-by: Scott Anderson <sanderson@users.noreply.github.com> * Update content/influxdb/v2.1/reference/release-notes/influxdb.md Co-authored-by: Scott Anderson <sanderson@users.noreply.github.com> * Update content/influxdb/v2.1/reference/release-notes/influxdb.md Co-authored-by: Scott Anderson <sanderson@users.noreply.github.com> * Update content/influxdb/v2.1/reference/release-notes/influxdb.md Co-authored-by: Scott Anderson <sanderson@users.noreply.github.com> * Update content/influxdb/v2.1/reference/release-notes/influxdb.md Co-authored-by: Scott Anderson <sanderson@users.noreply.github.com> * Update content/influxdb/v2.1/reference/release-notes/influxdb.md Co-authored-by: Scott Anderson <sanderson@users.noreply.github.com> * Update content/influxdb/v2.1/reference/release-notes/influxdb.md Co-authored-by: Scott Anderson <sanderson@users.noreply.github.com> * Update content/influxdb/v2.1/reference/release-notes/influxdb.md Co-authored-by: Scott Anderson <sanderson@users.noreply.github.com> * Update content/influxdb/v2.1/reference/release-notes/influxdb.md Co-authored-by: Scott Anderson <sanderson@users.noreply.github.com> * Update content/influxdb/v2.1/reference/release-notes/influxdb.md Co-authored-by: Scott Anderson <sanderson@users.noreply.github.com> * Update content/influxdb/v2.1/reference/release-notes/influxdb.md Co-authored-by: Scott Anderson <sanderson@users.noreply.github.com> * add link * add edits from Scott, Dan, and Will * edits from dan * highlight and distinguish CLI separation changes * add links to new API endpoints * formatting upd * edits for secrets * mv Flux location support after rsv merge conflicts * edits from Tim * update influxql link * rmv SLQ metastore link * minor updates to 2.1 release notes * prep * Update content/influxdb/v2.1/reference/release-notes/influxdb.md Co-authored-by: Greg <2653109+glinton@users.noreply.github.com> Co-authored-by: Scott Anderson <sanderson@users.noreply.github.com> Co-authored-by: Scott Anderson <scott@influxdata.com> Co-authored-by: Greg <2653109+glinton@users.noreply.github.com> * add new Telegraf plugins to release notes * edit from Will * 2.1 upgrade and downgrade instructions (#3332) * influxd downgrade command, add upgrade instructions, closes #3331 * Apply suggestions from code review Co-authored-by: kelseiv <47797004+kelseiv@users.noreply.github.com> * Apply suggestions from code review Co-authored-by: Daniel Moran <danxmoran@gmail.com> * udpated downgrade docs to address PR feedback * remove references to localhost:1313 Co-authored-by: kelseiv <47797004+kelseiv@users.noreply.github.com> Co-authored-by: Daniel Moran <danxmoran@gmail.com> * updated flux version in release notes, added other new items, closes #3338 (#3344) * Chore/update oss api (#3341) * Standardize the term "key-value" (#3283) * s|key/value|key-value * Use en dash in prefix to open compound "time series" * CLI 2.2 (#3269) * add -b shorthand to influx delete * add cli 2.2 release notes * add example for all-access token * edits * updates to influx auth create * edits for operator token * remove inaccurate env var * Update influx-cli.md * Update influx-cli.md * make capitalization consistent with other docs * make headers parallel * Update content/influxdb/cloud/reference/release-notes/influx-cli.md Co-authored-by: Scott Anderson <sanderson@users.noreply.github.com> * Update content/influxdb/cloud/reference/release-notes/influx-cli.md Co-authored-by: Scott Anderson <sanderson@users.noreply.github.com> * Update content/influxdb/cloud/reference/release-notes/influx-cli.md Co-authored-by: Scott Anderson <sanderson@users.noreply.github.com> * edits from Scott and Dan * Update content/influxdb/v2.0/reference/cli/influx/auth/create.md Co-authored-by: Scott Anderson <sanderson@users.noreply.github.com> * Update content/influxdb/v2.0/reference/cli/influx/auth/create.md Co-authored-by: Daniel Moran <danxmoran@gmail.com> * Update content/influxdb/v2.0/reference/cli/influx/auth/create.md Co-authored-by: Daniel Moran <danxmoran@gmail.com> * edits to CLI * add oss-only shortcode and fix formatting * format updates * fix links * add oss-only inline * fix list * Update content/influxdb/v2.0/security/tokens/create-token.md Co-authored-by: Scott Anderson <sanderson@users.noreply.github.com> * Update content/influxdb/v2.0/security/tokens/create-token.md Co-authored-by: Scott Anderson <sanderson@users.noreply.github.com> * Update content/influxdb/v2.0/security/tokens/create-token.md Co-authored-by: Scott Anderson <sanderson@users.noreply.github.com> * edits from Dan * emphasize recommendation * edit from Dan re limits and page size * edit f Sam * update release date * remove vague description * Update content/influxdb/cloud/reference/release-notes/influx-cli.md Co-authored-by: Scott Anderson <sanderson@users.noreply.github.com> * Update content/influxdb/v2.0/reference/cli/influx/auth/create.md Co-authored-by: Scott Anderson <sanderson@users.noreply.github.com> * Update content/influxdb/v2.0/reference/cli/influx/auth/create.md Co-authored-by: Scott Anderson <sanderson@users.noreply.github.com> * Update content/influxdb/cloud/reference/release-notes/influx-cli.md Co-authored-by: Scott Anderson <sanderson@users.noreply.github.com> * Update content/influxdb/cloud/reference/release-notes/influx-cli.md Co-authored-by: Scott Anderson <sanderson@users.noreply.github.com> * edits from Scott Co-authored-by: Scott Anderson <sanderson@users.noreply.github.com> Co-authored-by: Daniel Moran <danxmoran@gmail.com> * add cloud updates in Sept (#3210) * Fix numbering in AWS install doc (#3293) Closes #3292 * Document new API Invocable Scripts feature (was named-functions) (#3282) * feat: add api-guides/guides and guides/api-invocable-scripts for the API-invocable scripts (managed functions) feature (##2547, #2233). * feat: document API-invocable scripts. Add example for creating and invoking a script with POST. Unable to make GET work with query parameters. * feat: moved API-invocable scripts under api-guide. Remove guides directory. Add docs for list and find. Add example for list. Add shortcuts and glossary links. Verified with team-compute that GET /invoke and python are not supported yet. * feat: rename example function for simplicity since there's no GET for now. * feat: add find_and_update example (#2547). * feat: add update example. Clarify, expand invoke example. Add links. (#2547) * Update content/influxdb/cloud/api-guide/api-invocable-scripts/_index.md Co-authored-by: Scott Anderson <sanderson@users.noreply.github.com> * fix: remove accidental commit of generated redoc-static.html * feat: manual update to cloud swagger. Merges meta, auth, tags, and x-tagGroups from src/cloud.yml to aggregate contracts/ref/cloud.yml. * fix: replace /functions with /scripts * feat: get swaggers from contracts/ref. Still requires copy-paste of info, tags, and auth from contracts/cloud.yml and contracts/oss.yml * feat: invocable scripts (#2547) * Update content/influxdb/cloud/api-guide/api-invocable-scripts/_index.md Co-authored-by: pierwill <19642016+pierwill@users.noreply.github.com> * feat: new section for params (#2547). * fix: swagger server url (#2547) * Update content/influxdb/cloud/api-guide/api-invocable-scripts/_index.md Co-authored-by: Scott Anderson <sanderson@users.noreply.github.com> * feat: remove jq and function where there's no clear need. Co-authored-by: pierwill <19642016+pierwill@users.noreply.github.com> * fix: add Invocable Scripts tag description. (#3296) * Fix api invocable (#3299) * fix: scripts api path. * fix: bad comma * Fix api invocable (#3306) * fix: scripts api path. * fix: bad comma * feat: add invocable scripts example for sending multiple parameter values. * fix: endpoint text. (#3308) * Fix api invocable (#3310) * fix: measurement -> point * fix: cloud API ref. Remove private paths. Patch description and orgID params into ScriptCreateRequest. * updated token naming and other typos, closes influxdata/DAR#244 (#3309) * Flux 0.136 (#3311) * Flux 0.136.0 release notes * Update pagerduty package for flux 0.136.0 (#3303) * Add Flux ServiceNow package (#3304) * added Flux servicenow package * Apply suggestions from code review * Enterprise dar updates (#3313) * removed references to web server in enteprise cluster docs, closes influxdata/DAR#245 * updated enterprise upgrade instructions, closes influxdata/DAR#243 * Apply suggestions from code review Co-authored-by: pierwill <19642016+pierwill@users.noreply.github.com> Co-authored-by: pierwill <19642016+pierwill@users.noreply.github.com> * fix: mjs example path (#3305) (#3316) * 3240 fix nodejs alias (#3317) * fix: mjs example path (#3305) * fix: add alias to node.js client library (#3240) * Edit description for amd_rocm_smi Telegraf plugin (#3186) * Edit description for amd_rocm_smi Telegraf plugin Edit name and description for amd_rocm_smi Telegraf plugin. Not sure if this is the only location that it needs to be udpated. * cpl minor updates Co-authored-by: Kelly <kelly@influxdata.com> * remove influxql support from v2 api, closes influxdata/DAR#246 (#3326) * Telegraf 1.20.3 (#3328) * Telegraf 1.20.3 * Update content/telegraf/v1.20/about_the_project/release-notes-changelog.md Co-authored-by: kelseiv <47797004+kelseiv@users.noreply.github.com> * Update content/telegraf/v1.20/about_the_project/release-notes-changelog.md Co-authored-by: kelseiv <47797004+kelseiv@users.noreply.github.com> * Update content/telegraf/v1.20/about_the_project/release-notes-changelog.md Co-authored-by: kelseiv <47797004+kelseiv@users.noreply.github.com> * Address PR feedback Co-authored-by: kelseiv <47797004+kelseiv@users.noreply.github.com> * docs: update telegraf configuration.md (#3300) * docs: update telegraf configuration.md * add note about rate limits * fix: correct debian/ubuntu install instructions (#3312) * fix: correct debian/ubuntu install instructions This consolidates the Debian and Ubutnu install instructions into one section. The install instructions can be the same for both as they use the same package manager (i.e. apt). This removes the use of the now deprecated pipe to apt-key. This removes references to starting the service, as the service starts on install and does not require an extra step. Also all supported operating systems are using systemd at this point so no need to call that out seperatly. Removes an extra 'sudo' in deb instructions. * missing word * added flux 0.137.0 release notes, added vertica sql support docs (#3318) * Update _index.md (#3195) broken link for external plugin repo * Addresses #3284 (#3334) * Updates to Flux `to()` (#3260) Closes https://github.com/influxdata/DAR/issues/236. Closes #3258. Co-authored-by: Scott Anderson <sanderson@users.noreply.github.com> * Fix shim and other link (#3336) * Update Kapacitor security docs (#3325) Co-authored-by: kelseiv <47797004+kelseiv@users.noreply.github.com> * Include TLS setup in Enterprise post-install steps (#3271) - Rename TLS guide file. - Use term "TLS" in title and introduction of TLS guide. Closes #3270. Co-authored-by: kelseiv <47797004+kelseiv@users.noreply.github.com> * Flux 0.138.0 and 0.139.0 (#3335) * added release notes for flux 0.138 and 0.139 and related updates * updated spec with related implementation issue * Apply suggestions from code review Co-authored-by: kelseiv <47797004+kelseiv@users.noreply.github.com> * updated to address PR feedback, added related links to int, uint, and bitwise docs Co-authored-by: kelseiv <47797004+kelseiv@users.noreply.github.com> * hotfix load data link * add aliases and fix load data link in oss * API Ref docs processing (#3337) * chore: API Reference Docs custom processing. Pulls contracts/ref files and applies custom content (tags, x-tagGroups, securitySchemes, info) before writing results to cloud/ref.yml and v2.0/ref.yml. Rename source files from swagger.yml to ref.yml to avoid confusion and in case we need to bundle additional specs in the future. Add an OpenAPI CLI docs-plugin with content and decorators. * chore: update api-docs/README.md * fix: add strip-version-prefix to remove /api/v2 added incorrectly to some paths during contract generation - also fixed in openapi repo so future contracts won't need this decorator. Fix server urls. Cleanup. * chore: update cloud contract. * chore: update oss API contract. * Apply suggestions from code review Co-authored-by: kelseiv <47797004+kelseiv@users.noreply.github.com> * Apply suggestions from code review Co-authored-by: pierwill <19642016+pierwill@users.noreply.github.com> Co-authored-by: kelseiv <47797004+kelseiv@users.noreply.github.com> Co-authored-by: Scott Anderson <sanderson@users.noreply.github.com> Co-authored-by: Daniel Moran <danxmoran@gmail.com> Co-authored-by: Samantha Wang <32681364+sjwang90@users.noreply.github.com> Co-authored-by: Kelly <kelly@influxdata.com> Co-authored-by: noramullen1 <42354779+noramullen1@users.noreply.github.com> Co-authored-by: Joshua Powers <powersj@influxdata.com> Co-authored-by: bgilmore-iot <85192039+bgilmore-iot@users.noreply.github.com> * edit from Tim: update v2.0 to v2.1 in API section * fix 2.1 links * Fix/api ref 2.1 (#3363) * fix: cloud-specific v1compat auth examples. * fix: openapi. Disabled securityScheme replacement. Cleaned up placeholders. Added links. * fix: update API auth descriptions. add API ref v2.1. Update links in openapi content. * fix: updates URLs to v2.1 in API ref docs * add verify-tsm to 2.1 release notes * Clockface updates for 2.1 and Cloud (#3364) * versioned old icomoon font * updated all existing icons with versioned style * Revert "updated all existing icons with versioned style" This reverts commit 79b6cdf539542a5420ab3988b7ada9a0db497a23. * versioned icon shortcode * update icons and new styles for clockface v3 * updated nav-icon shortcode and styles * updated account nav icon styles * misc updates * general style updates * updated oss versions on the homepage * fixed tick card colors on homepage Co-authored-by: Kelly <kelly@influxdata.com> Co-authored-by: pierwill <19642016+pierwill@users.noreply.github.com> Co-authored-by: kelseiv <47797004+kelseiv@users.noreply.github.com> Co-authored-by: noramullen1 <42354779+noramullen1@users.noreply.github.com> Co-authored-by: Greg <2653109+glinton@users.noreply.github.com> Co-authored-by: Daniel Moran <danxmoran@gmail.com> Co-authored-by: Jason Stirnaman <jstirnaman@influxdata.com> Co-authored-by: Samantha Wang <32681364+sjwang90@users.noreply.github.com> Co-authored-by: Joshua Powers <powersj@influxdata.com> Co-authored-by: bgilmore-iot <85192039+bgilmore-iot@users.noreply.github.com>
2021-11-08 17:48:11 +00:00
related:
- /{{< latest "flux" >}}/stdlib/universe/aggregatewindow
- /{{< latest "flux" >}}/stdlib/universe/window
- /{{< latest "flux" >}}/function-types/#aggregates, Flux aggregate functions
- /{{< latest "flux" >}}/function-types/#selectors, Flux selector functions
list_query_example: aggregate_window
---
A common operation performed with time series data is grouping data into windows of time,
or "windowing" data, then aggregating windowed values into a new value.
This guide walks through windowing and aggregating data with Flux and demonstrates
how data is shaped in the process.
If you're just getting started with Flux queries, check out the following:
- [Get started with Flux](/{{< latest "flux" >}}/get-started/) for a conceptual overview of Flux and parts of a Flux query.
- [Execute queries](/influxdb/v2.1/query-data/execute-queries/) to discover a variety of ways to run your queries.
{{% note %}}
The following example is an in-depth walk-through of the steps required to window and aggregate data.
The [`aggregateWindow()` function](#summing-up) performs these operations for you, but understanding
how data is shaped in the process helps to successfully create your desired output.
{{% /note %}}
## Data set
For the purposes of this guide, define a variable that represents your base data set.
The following example queries the memory usage of the host machine.
```js
dataSet = from(bucket: "example-bucket")
|> range(start: -5m)
|> filter(fn: (r) => r._measurement == "mem" and r._field == "used_percent")
|> drop(columns: ["host"])
InfluxDB 2.1 (#3367) * base changes for influxdb 2.1 * remove duplicates in draft * draft categories * add categories * Document wildcards in SHOW MEASUREMENTS ON queries (#3273) * InfluxQL: document wildcards in SHOW MEASUREMENTS ON queries This applies to InfluxDB 2.1. See #3201 * latest notes * Update `influxd --store` values (#3272) * Use Unix ~ alias * Add sqlite path to file layout doc * add sqlite to filesystem diagrams * draft 2.1 release notes +questions * revert to check RNs changes in separately * latest release notes * Restructure installation docs for separate CLI package (#3280) * influxdb and cli install revamp * reorganized CLI install instructions * remove unnecessary short-code parameters * updated docs to address PR feedback * Apply suggestions from code review Co-authored-by: pierwill <19642016+pierwill@users.noreply.github.com> Co-authored-by: kelseiv <47797004+kelseiv@users.noreply.github.com> * Apply suggestions from code review * update linux install instructions Co-authored-by: pierwill <19642016+pierwill@users.noreply.github.com> Co-authored-by: kelseiv <47797004+kelseiv@users.noreply.github.com> * release note updates * updates * add support for annotations in OSS 2.1 (#3286) * Document support for bearer auth sytax (#3297) * 2.1 oss notebooks (#3281) * Move notebooks to OSS (addresses #2951 ) * Update content/influxdb/v2.1/notebooks/clean-data.md Co-authored-by: Scott Anderson <sanderson@users.noreply.github.com> * Update content/influxdb/v2.1/notebooks/create-notebook.md Co-authored-by: Scott Anderson <sanderson@users.noreply.github.com> * Update content/influxdb/v2.1/notebooks/manage-notebooks.md Co-authored-by: Scott Anderson <sanderson@users.noreply.github.com> * Update content/influxdb/v2.1/notebooks/overview.md Co-authored-by: Scott Anderson <sanderson@users.noreply.github.com> * Update content/influxdb/v2.1/notebooks/_index.md Co-authored-by: Scott Anderson <sanderson@users.noreply.github.com> * Update content/influxdb/v2.1/notebooks/troubleshoot-notebooks.md Co-authored-by: Scott Anderson <sanderson@users.noreply.github.com> * Update content/influxdb/v2.1/notebooks/clean-data.md Co-authored-by: Scott Anderson <sanderson@users.noreply.github.com> * Update content/influxdb/v2.1/notebooks/clean-data.md Co-authored-by: Scott Anderson <sanderson@users.noreply.github.com> * Update content/influxdb/v2.1/notebooks/clean-data.md Co-authored-by: Scott Anderson <sanderson@users.noreply.github.com> * Update content/influxdb/v2.1/notebooks/create-notebook.md Co-authored-by: Scott Anderson <sanderson@users.noreply.github.com> * Update content/influxdb/v2.1/notebooks/create-notebook.md Co-authored-by: Scott Anderson <sanderson@users.noreply.github.com> * Update content/influxdb/v2.1/notebooks/create-notebook.md Co-authored-by: kelseiv <47797004+kelseiv@users.noreply.github.com> * Update content/influxdb/v2.1/notebooks/create-notebook.md Co-authored-by: kelseiv <47797004+kelseiv@users.noreply.github.com> * Update content/influxdb/v2.1/notebooks/create-notebook.md Co-authored-by: kelseiv <47797004+kelseiv@users.noreply.github.com> * Update content/influxdb/v2.1/notebooks/create-notebook.md Co-authored-by: kelseiv <47797004+kelseiv@users.noreply.github.com> * Update content/influxdb/v2.1/notebooks/create-notebook.md Co-authored-by: kelseiv <47797004+kelseiv@users.noreply.github.com> * Update content/influxdb/v2.1/notebooks/create-notebook.md Co-authored-by: kelseiv <47797004+kelseiv@users.noreply.github.com> * Update content/influxdb/v2.1/notebooks/create-notebook.md Co-authored-by: kelseiv <47797004+kelseiv@users.noreply.github.com> * Update content/influxdb/v2.1/notebooks/create-notebook.md Co-authored-by: kelseiv <47797004+kelseiv@users.noreply.github.com> * Update content/influxdb/v2.1/notebooks/create-notebook.md Co-authored-by: kelseiv <47797004+kelseiv@users.noreply.github.com> * Update content/influxdb/v2.1/notebooks/create-notebook.md Co-authored-by: kelseiv <47797004+kelseiv@users.noreply.github.com> * Update content/influxdb/v2.1/notebooks/create-notebook.md Co-authored-by: kelseiv <47797004+kelseiv@users.noreply.github.com> * Update content/influxdb/v2.1/notebooks/create-notebook.md Co-authored-by: kelseiv <47797004+kelseiv@users.noreply.github.com> * Update content/influxdb/v2.1/notebooks/create-notebook.md Co-authored-by: kelseiv <47797004+kelseiv@users.noreply.github.com> * Update content/influxdb/v2.1/notebooks/overview.md Co-authored-by: kelseiv <47797004+kelseiv@users.noreply.github.com> * Update content/influxdb/v2.1/notebooks/overview.md Co-authored-by: kelseiv <47797004+kelseiv@users.noreply.github.com> * Update content/influxdb/v2.1/notebooks/overview.md Co-authored-by: kelseiv <47797004+kelseiv@users.noreply.github.com> * Update content/influxdb/v2.1/notebooks/overview.md Co-authored-by: kelseiv <47797004+kelseiv@users.noreply.github.com> * Update content/influxdb/v2.1/notebooks/overview.md Co-authored-by: kelseiv <47797004+kelseiv@users.noreply.github.com> * Update content/influxdb/v2.1/notebooks/overview.md Co-authored-by: kelseiv <47797004+kelseiv@users.noreply.github.com> * Update content/influxdb/v2.1/notebooks/overview.md Co-authored-by: kelseiv <47797004+kelseiv@users.noreply.github.com> * Update content/influxdb/v2.1/notebooks/create-notebook.md Co-authored-by: kelseiv <47797004+kelseiv@users.noreply.github.com> * Update content/influxdb/v2.1/notebooks/create-notebook.md Co-authored-by: kelseiv <47797004+kelseiv@users.noreply.github.com> * Update content/influxdb/v2.1/notebooks/create-notebook.md Co-authored-by: kelseiv <47797004+kelseiv@users.noreply.github.com> * Update content/influxdb/v2.1/notebooks/create-notebook.md Co-authored-by: kelseiv <47797004+kelseiv@users.noreply.github.com> * Update content/influxdb/v2.1/notebooks/create-notebook.md Co-authored-by: kelseiv <47797004+kelseiv@users.noreply.github.com> * Update content/influxdb/v2.1/notebooks/create-notebook.md Co-authored-by: kelseiv <47797004+kelseiv@users.noreply.github.com> * Update content/influxdb/v2.1/notebooks/create-notebook.md Co-authored-by: kelseiv <47797004+kelseiv@users.noreply.github.com> * Update content/influxdb/v2.1/notebooks/create-notebook.md Co-authored-by: kelseiv <47797004+kelseiv@users.noreply.github.com> * Update content/influxdb/v2.1/notebooks/create-notebook.md Co-authored-by: kelseiv <47797004+kelseiv@users.noreply.github.com> * Add PR feedback Co-authored-by: Scott Anderson <sanderson@users.noreply.github.com> Co-authored-by: kelseiv <47797004+kelseiv@users.noreply.github.com> * Fix link in bearer auth sytax doc (#3298) * Updated CLI docs content and added version metadata (#3285) * added metadata styles and data to cli docs * added missing ui-disabled influxd config flag * added updated versions to influx cli metadata * added metadata to all cloud influx cli docs * updated influx ping in cloud to have oss only tag * Update influxd documentation for 2.1 (#3302) * update and dynamically generate links to influxd flags (#3288) * remove 2.1 config options from 2.0 * New influxd commands (#3291) * added basic influxd recovery commands * added influxd recover commands, WIP for other influxd inspect commands * updated all influxd inspect commands * Apply suggestions from code review Co-authored-by: kelseiv <47797004+kelseiv@users.noreply.github.com> * updated influxd docs to address PR feedback Co-authored-by: kelseiv <47797004+kelseiv@users.noreply.github.com> Co-authored-by: kelseiv <47797004+kelseiv@users.noreply.github.com> * Add static legend to band and graph visualizations (#3315) * update band vis to include static legend * upd graph and graph-single-stat w static legend * update 2.1 links * update to latest Flux links * fix Flux links * Influxdb 2.1 release notes (#3279) * draft release notes * latest RN changes * test * revert * for review purposes * incorporate changes from new changelog * add note about new metadata included in CLI docs * edit * more edits * add overview features list * tweak verbiage about Telegraf support * Update content/influxdb/v2.1/reference/release-notes/influxdb.md Co-authored-by: Scott Anderson <sanderson@users.noreply.github.com> * Update content/influxdb/v2.1/reference/release-notes/influxdb.md Co-authored-by: Scott Anderson <sanderson@users.noreply.github.com> * Update content/influxdb/v2.1/reference/release-notes/influxdb.md Co-authored-by: Scott Anderson <sanderson@users.noreply.github.com> * Update content/influxdb/v2.1/reference/release-notes/influxdb.md Co-authored-by: Scott Anderson <sanderson@users.noreply.github.com> * Update content/influxdb/v2.1/reference/release-notes/influxdb.md Co-authored-by: Scott Anderson <sanderson@users.noreply.github.com> * Update content/influxdb/v2.1/reference/release-notes/influxdb.md Co-authored-by: Scott Anderson <sanderson@users.noreply.github.com> * Update content/influxdb/v2.1/reference/release-notes/influxdb.md Co-authored-by: Scott Anderson <sanderson@users.noreply.github.com> * Update content/influxdb/v2.1/reference/release-notes/influxdb.md Co-authored-by: Scott Anderson <sanderson@users.noreply.github.com> * Update content/influxdb/v2.1/reference/release-notes/influxdb.md Co-authored-by: Scott Anderson <sanderson@users.noreply.github.com> * Update content/influxdb/v2.1/reference/release-notes/influxdb.md Co-authored-by: Scott Anderson <sanderson@users.noreply.github.com> * Update content/influxdb/v2.1/reference/release-notes/influxdb.md Co-authored-by: Scott Anderson <sanderson@users.noreply.github.com> * add link * add edits from Scott, Dan, and Will * edits from dan * highlight and distinguish CLI separation changes * add links to new API endpoints * formatting upd * edits for secrets * mv Flux location support after rsv merge conflicts * edits from Tim * update influxql link * rmv SLQ metastore link * minor updates to 2.1 release notes * prep * Update content/influxdb/v2.1/reference/release-notes/influxdb.md Co-authored-by: Greg <2653109+glinton@users.noreply.github.com> Co-authored-by: Scott Anderson <sanderson@users.noreply.github.com> Co-authored-by: Scott Anderson <scott@influxdata.com> Co-authored-by: Greg <2653109+glinton@users.noreply.github.com> * add new Telegraf plugins to release notes * edit from Will * 2.1 upgrade and downgrade instructions (#3332) * influxd downgrade command, add upgrade instructions, closes #3331 * Apply suggestions from code review Co-authored-by: kelseiv <47797004+kelseiv@users.noreply.github.com> * Apply suggestions from code review Co-authored-by: Daniel Moran <danxmoran@gmail.com> * udpated downgrade docs to address PR feedback * remove references to localhost:1313 Co-authored-by: kelseiv <47797004+kelseiv@users.noreply.github.com> Co-authored-by: Daniel Moran <danxmoran@gmail.com> * updated flux version in release notes, added other new items, closes #3338 (#3344) * Chore/update oss api (#3341) * Standardize the term "key-value" (#3283) * s|key/value|key-value * Use en dash in prefix to open compound "time series" * CLI 2.2 (#3269) * add -b shorthand to influx delete * add cli 2.2 release notes * add example for all-access token * edits * updates to influx auth create * edits for operator token * remove inaccurate env var * Update influx-cli.md * Update influx-cli.md * make capitalization consistent with other docs * make headers parallel * Update content/influxdb/cloud/reference/release-notes/influx-cli.md Co-authored-by: Scott Anderson <sanderson@users.noreply.github.com> * Update content/influxdb/cloud/reference/release-notes/influx-cli.md Co-authored-by: Scott Anderson <sanderson@users.noreply.github.com> * Update content/influxdb/cloud/reference/release-notes/influx-cli.md Co-authored-by: Scott Anderson <sanderson@users.noreply.github.com> * edits from Scott and Dan * Update content/influxdb/v2.0/reference/cli/influx/auth/create.md Co-authored-by: Scott Anderson <sanderson@users.noreply.github.com> * Update content/influxdb/v2.0/reference/cli/influx/auth/create.md Co-authored-by: Daniel Moran <danxmoran@gmail.com> * Update content/influxdb/v2.0/reference/cli/influx/auth/create.md Co-authored-by: Daniel Moran <danxmoran@gmail.com> * edits to CLI * add oss-only shortcode and fix formatting * format updates * fix links * add oss-only inline * fix list * Update content/influxdb/v2.0/security/tokens/create-token.md Co-authored-by: Scott Anderson <sanderson@users.noreply.github.com> * Update content/influxdb/v2.0/security/tokens/create-token.md Co-authored-by: Scott Anderson <sanderson@users.noreply.github.com> * Update content/influxdb/v2.0/security/tokens/create-token.md Co-authored-by: Scott Anderson <sanderson@users.noreply.github.com> * edits from Dan * emphasize recommendation * edit from Dan re limits and page size * edit f Sam * update release date * remove vague description * Update content/influxdb/cloud/reference/release-notes/influx-cli.md Co-authored-by: Scott Anderson <sanderson@users.noreply.github.com> * Update content/influxdb/v2.0/reference/cli/influx/auth/create.md Co-authored-by: Scott Anderson <sanderson@users.noreply.github.com> * Update content/influxdb/v2.0/reference/cli/influx/auth/create.md Co-authored-by: Scott Anderson <sanderson@users.noreply.github.com> * Update content/influxdb/cloud/reference/release-notes/influx-cli.md Co-authored-by: Scott Anderson <sanderson@users.noreply.github.com> * Update content/influxdb/cloud/reference/release-notes/influx-cli.md Co-authored-by: Scott Anderson <sanderson@users.noreply.github.com> * edits from Scott Co-authored-by: Scott Anderson <sanderson@users.noreply.github.com> Co-authored-by: Daniel Moran <danxmoran@gmail.com> * add cloud updates in Sept (#3210) * Fix numbering in AWS install doc (#3293) Closes #3292 * Document new API Invocable Scripts feature (was named-functions) (#3282) * feat: add api-guides/guides and guides/api-invocable-scripts for the API-invocable scripts (managed functions) feature (##2547, #2233). * feat: document API-invocable scripts. Add example for creating and invoking a script with POST. Unable to make GET work with query parameters. * feat: moved API-invocable scripts under api-guide. Remove guides directory. Add docs for list and find. Add example for list. Add shortcuts and glossary links. Verified with team-compute that GET /invoke and python are not supported yet. * feat: rename example function for simplicity since there's no GET for now. * feat: add find_and_update example (#2547). * feat: add update example. Clarify, expand invoke example. Add links. (#2547) * Update content/influxdb/cloud/api-guide/api-invocable-scripts/_index.md Co-authored-by: Scott Anderson <sanderson@users.noreply.github.com> * fix: remove accidental commit of generated redoc-static.html * feat: manual update to cloud swagger. Merges meta, auth, tags, and x-tagGroups from src/cloud.yml to aggregate contracts/ref/cloud.yml. * fix: replace /functions with /scripts * feat: get swaggers from contracts/ref. Still requires copy-paste of info, tags, and auth from contracts/cloud.yml and contracts/oss.yml * feat: invocable scripts (#2547) * Update content/influxdb/cloud/api-guide/api-invocable-scripts/_index.md Co-authored-by: pierwill <19642016+pierwill@users.noreply.github.com> * feat: new section for params (#2547). * fix: swagger server url (#2547) * Update content/influxdb/cloud/api-guide/api-invocable-scripts/_index.md Co-authored-by: Scott Anderson <sanderson@users.noreply.github.com> * feat: remove jq and function where there's no clear need. Co-authored-by: pierwill <19642016+pierwill@users.noreply.github.com> * fix: add Invocable Scripts tag description. (#3296) * Fix api invocable (#3299) * fix: scripts api path. * fix: bad comma * Fix api invocable (#3306) * fix: scripts api path. * fix: bad comma * feat: add invocable scripts example for sending multiple parameter values. * fix: endpoint text. (#3308) * Fix api invocable (#3310) * fix: measurement -> point * fix: cloud API ref. Remove private paths. Patch description and orgID params into ScriptCreateRequest. * updated token naming and other typos, closes influxdata/DAR#244 (#3309) * Flux 0.136 (#3311) * Flux 0.136.0 release notes * Update pagerduty package for flux 0.136.0 (#3303) * Add Flux ServiceNow package (#3304) * added Flux servicenow package * Apply suggestions from code review * Enterprise dar updates (#3313) * removed references to web server in enteprise cluster docs, closes influxdata/DAR#245 * updated enterprise upgrade instructions, closes influxdata/DAR#243 * Apply suggestions from code review Co-authored-by: pierwill <19642016+pierwill@users.noreply.github.com> Co-authored-by: pierwill <19642016+pierwill@users.noreply.github.com> * fix: mjs example path (#3305) (#3316) * 3240 fix nodejs alias (#3317) * fix: mjs example path (#3305) * fix: add alias to node.js client library (#3240) * Edit description for amd_rocm_smi Telegraf plugin (#3186) * Edit description for amd_rocm_smi Telegraf plugin Edit name and description for amd_rocm_smi Telegraf plugin. Not sure if this is the only location that it needs to be udpated. * cpl minor updates Co-authored-by: Kelly <kelly@influxdata.com> * remove influxql support from v2 api, closes influxdata/DAR#246 (#3326) * Telegraf 1.20.3 (#3328) * Telegraf 1.20.3 * Update content/telegraf/v1.20/about_the_project/release-notes-changelog.md Co-authored-by: kelseiv <47797004+kelseiv@users.noreply.github.com> * Update content/telegraf/v1.20/about_the_project/release-notes-changelog.md Co-authored-by: kelseiv <47797004+kelseiv@users.noreply.github.com> * Update content/telegraf/v1.20/about_the_project/release-notes-changelog.md Co-authored-by: kelseiv <47797004+kelseiv@users.noreply.github.com> * Address PR feedback Co-authored-by: kelseiv <47797004+kelseiv@users.noreply.github.com> * docs: update telegraf configuration.md (#3300) * docs: update telegraf configuration.md * add note about rate limits * fix: correct debian/ubuntu install instructions (#3312) * fix: correct debian/ubuntu install instructions This consolidates the Debian and Ubutnu install instructions into one section. The install instructions can be the same for both as they use the same package manager (i.e. apt). This removes the use of the now deprecated pipe to apt-key. This removes references to starting the service, as the service starts on install and does not require an extra step. Also all supported operating systems are using systemd at this point so no need to call that out seperatly. Removes an extra 'sudo' in deb instructions. * missing word * added flux 0.137.0 release notes, added vertica sql support docs (#3318) * Update _index.md (#3195) broken link for external plugin repo * Addresses #3284 (#3334) * Updates to Flux `to()` (#3260) Closes https://github.com/influxdata/DAR/issues/236. Closes #3258. Co-authored-by: Scott Anderson <sanderson@users.noreply.github.com> * Fix shim and other link (#3336) * Update Kapacitor security docs (#3325) Co-authored-by: kelseiv <47797004+kelseiv@users.noreply.github.com> * Include TLS setup in Enterprise post-install steps (#3271) - Rename TLS guide file. - Use term "TLS" in title and introduction of TLS guide. Closes #3270. Co-authored-by: kelseiv <47797004+kelseiv@users.noreply.github.com> * Flux 0.138.0 and 0.139.0 (#3335) * added release notes for flux 0.138 and 0.139 and related updates * updated spec with related implementation issue * Apply suggestions from code review Co-authored-by: kelseiv <47797004+kelseiv@users.noreply.github.com> * updated to address PR feedback, added related links to int, uint, and bitwise docs Co-authored-by: kelseiv <47797004+kelseiv@users.noreply.github.com> * hotfix load data link * add aliases and fix load data link in oss * API Ref docs processing (#3337) * chore: API Reference Docs custom processing. Pulls contracts/ref files and applies custom content (tags, x-tagGroups, securitySchemes, info) before writing results to cloud/ref.yml and v2.0/ref.yml. Rename source files from swagger.yml to ref.yml to avoid confusion and in case we need to bundle additional specs in the future. Add an OpenAPI CLI docs-plugin with content and decorators. * chore: update api-docs/README.md * fix: add strip-version-prefix to remove /api/v2 added incorrectly to some paths during contract generation - also fixed in openapi repo so future contracts won't need this decorator. Fix server urls. Cleanup. * chore: update cloud contract. * chore: update oss API contract. * Apply suggestions from code review Co-authored-by: kelseiv <47797004+kelseiv@users.noreply.github.com> * Apply suggestions from code review Co-authored-by: pierwill <19642016+pierwill@users.noreply.github.com> Co-authored-by: kelseiv <47797004+kelseiv@users.noreply.github.com> Co-authored-by: Scott Anderson <sanderson@users.noreply.github.com> Co-authored-by: Daniel Moran <danxmoran@gmail.com> Co-authored-by: Samantha Wang <32681364+sjwang90@users.noreply.github.com> Co-authored-by: Kelly <kelly@influxdata.com> Co-authored-by: noramullen1 <42354779+noramullen1@users.noreply.github.com> Co-authored-by: Joshua Powers <powersj@influxdata.com> Co-authored-by: bgilmore-iot <85192039+bgilmore-iot@users.noreply.github.com> * edit from Tim: update v2.0 to v2.1 in API section * fix 2.1 links * Fix/api ref 2.1 (#3363) * fix: cloud-specific v1compat auth examples. * fix: openapi. Disabled securityScheme replacement. Cleaned up placeholders. Added links. * fix: update API auth descriptions. add API ref v2.1. Update links in openapi content. * fix: updates URLs to v2.1 in API ref docs * add verify-tsm to 2.1 release notes * Clockface updates for 2.1 and Cloud (#3364) * versioned old icomoon font * updated all existing icons with versioned style * Revert "updated all existing icons with versioned style" This reverts commit 79b6cdf539542a5420ab3988b7ada9a0db497a23. * versioned icon shortcode * update icons and new styles for clockface v3 * updated nav-icon shortcode and styles * updated account nav icon styles * misc updates * general style updates * updated oss versions on the homepage * fixed tick card colors on homepage Co-authored-by: Kelly <kelly@influxdata.com> Co-authored-by: pierwill <19642016+pierwill@users.noreply.github.com> Co-authored-by: kelseiv <47797004+kelseiv@users.noreply.github.com> Co-authored-by: noramullen1 <42354779+noramullen1@users.noreply.github.com> Co-authored-by: Greg <2653109+glinton@users.noreply.github.com> Co-authored-by: Daniel Moran <danxmoran@gmail.com> Co-authored-by: Jason Stirnaman <jstirnaman@influxdata.com> Co-authored-by: Samantha Wang <32681364+sjwang90@users.noreply.github.com> Co-authored-by: Joshua Powers <powersj@influxdata.com> Co-authored-by: bgilmore-iot <85192039+bgilmore-iot@users.noreply.github.com>
2021-11-08 17:48:11 +00:00
```
{{% note %}}
This example drops the `host` column from the returned data since the memory data
is only tracked for a single host and it simplifies the output tables.
Dropping the `host` column is optional and not recommended if monitoring memory
on multiple hosts.
{{% /note %}}
`dataSet` can now be used to represent your base data, which will look similar to the following:
{{% truncate %}}
```
Table: keys: [_start, _stop, _field, _measurement]
_start:time _stop:time _field:string _measurement:string _time:time _value:float
------------------------------ ------------------------------ ---------------------- ---------------------- ------------------------------ ----------------------------
2018-11-03T17:50:00.000000000Z 2018-11-03T17:55:00.000000000Z used_percent mem 2018-11-03T17:50:00.000000000Z 71.11611366271973
2018-11-03T17:50:00.000000000Z 2018-11-03T17:55:00.000000000Z used_percent mem 2018-11-03T17:50:10.000000000Z 67.39630699157715
2018-11-03T17:50:00.000000000Z 2018-11-03T17:55:00.000000000Z used_percent mem 2018-11-03T17:50:20.000000000Z 64.16666507720947
2018-11-03T17:50:00.000000000Z 2018-11-03T17:55:00.000000000Z used_percent mem 2018-11-03T17:50:30.000000000Z 64.19951915740967
2018-11-03T17:50:00.000000000Z 2018-11-03T17:55:00.000000000Z used_percent mem 2018-11-03T17:50:40.000000000Z 64.2122745513916
2018-11-03T17:50:00.000000000Z 2018-11-03T17:55:00.000000000Z used_percent mem 2018-11-03T17:50:50.000000000Z 64.22209739685059
2018-11-03T17:50:00.000000000Z 2018-11-03T17:55:00.000000000Z used_percent mem 2018-11-03T17:51:00.000000000Z 64.6336555480957
2018-11-03T17:50:00.000000000Z 2018-11-03T17:55:00.000000000Z used_percent mem 2018-11-03T17:51:10.000000000Z 64.16516304016113
2018-11-03T17:50:00.000000000Z 2018-11-03T17:55:00.000000000Z used_percent mem 2018-11-03T17:51:20.000000000Z 64.18349742889404
2018-11-03T17:50:00.000000000Z 2018-11-03T17:55:00.000000000Z used_percent mem 2018-11-03T17:51:30.000000000Z 64.20474052429199
2018-11-03T17:50:00.000000000Z 2018-11-03T17:55:00.000000000Z used_percent mem 2018-11-03T17:51:40.000000000Z 68.65062713623047
2018-11-03T17:50:00.000000000Z 2018-11-03T17:55:00.000000000Z used_percent mem 2018-11-03T17:51:50.000000000Z 67.20139980316162
2018-11-03T17:50:00.000000000Z 2018-11-03T17:55:00.000000000Z used_percent mem 2018-11-03T17:52:00.000000000Z 70.9143877029419
2018-11-03T17:50:00.000000000Z 2018-11-03T17:55:00.000000000Z used_percent mem 2018-11-03T17:52:10.000000000Z 64.14549350738525
2018-11-03T17:50:00.000000000Z 2018-11-03T17:55:00.000000000Z used_percent mem 2018-11-03T17:52:20.000000000Z 64.15379047393799
2018-11-03T17:50:00.000000000Z 2018-11-03T17:55:00.000000000Z used_percent mem 2018-11-03T17:52:30.000000000Z 64.1592264175415
2018-11-03T17:50:00.000000000Z 2018-11-03T17:55:00.000000000Z used_percent mem 2018-11-03T17:52:40.000000000Z 64.18190002441406
2018-11-03T17:50:00.000000000Z 2018-11-03T17:55:00.000000000Z used_percent mem 2018-11-03T17:52:50.000000000Z 64.28837776184082
2018-11-03T17:50:00.000000000Z 2018-11-03T17:55:00.000000000Z used_percent mem 2018-11-03T17:53:00.000000000Z 64.29731845855713
2018-11-03T17:50:00.000000000Z 2018-11-03T17:55:00.000000000Z used_percent mem 2018-11-03T17:53:10.000000000Z 64.36963081359863
2018-11-03T17:50:00.000000000Z 2018-11-03T17:55:00.000000000Z used_percent mem 2018-11-03T17:53:20.000000000Z 64.37397003173828
2018-11-03T17:50:00.000000000Z 2018-11-03T17:55:00.000000000Z used_percent mem 2018-11-03T17:53:30.000000000Z 64.44413661956787
2018-11-03T17:50:00.000000000Z 2018-11-03T17:55:00.000000000Z used_percent mem 2018-11-03T17:53:40.000000000Z 64.42906856536865
2018-11-03T17:50:00.000000000Z 2018-11-03T17:55:00.000000000Z used_percent mem 2018-11-03T17:53:50.000000000Z 64.44573402404785
2018-11-03T17:50:00.000000000Z 2018-11-03T17:55:00.000000000Z used_percent mem 2018-11-03T17:54:00.000000000Z 64.48912620544434
2018-11-03T17:50:00.000000000Z 2018-11-03T17:55:00.000000000Z used_percent mem 2018-11-03T17:54:10.000000000Z 64.49522972106934
2018-11-03T17:50:00.000000000Z 2018-11-03T17:55:00.000000000Z used_percent mem 2018-11-03T17:54:20.000000000Z 64.48652744293213
2018-11-03T17:50:00.000000000Z 2018-11-03T17:55:00.000000000Z used_percent mem 2018-11-03T17:54:30.000000000Z 64.49949741363525
2018-11-03T17:50:00.000000000Z 2018-11-03T17:55:00.000000000Z used_percent mem 2018-11-03T17:54:40.000000000Z 64.4949197769165
2018-11-03T17:50:00.000000000Z 2018-11-03T17:55:00.000000000Z used_percent mem 2018-11-03T17:54:50.000000000Z 64.49787616729736
2018-11-03T17:50:00.000000000Z 2018-11-03T17:55:00.000000000Z used_percent mem 2018-11-03T17:55:00.000000000Z 64.49816226959229
```
{{% /truncate %}}
## Windowing data
Use the [`window()` function](/{{< latest "flux" >}}/stdlib/universe/window)
to group your data based on time bounds.
The most common parameter passed with the `window()` is `every` which
defines the duration of time between windows.
Other parameters are available, but for this example, window the base data
set into one minute windows.
```js
dataSet
|> window(every: 1m)
InfluxDB 2.1 (#3367) * base changes for influxdb 2.1 * remove duplicates in draft * draft categories * add categories * Document wildcards in SHOW MEASUREMENTS ON queries (#3273) * InfluxQL: document wildcards in SHOW MEASUREMENTS ON queries This applies to InfluxDB 2.1. See #3201 * latest notes * Update `influxd --store` values (#3272) * Use Unix ~ alias * Add sqlite path to file layout doc * add sqlite to filesystem diagrams * draft 2.1 release notes +questions * revert to check RNs changes in separately * latest release notes * Restructure installation docs for separate CLI package (#3280) * influxdb and cli install revamp * reorganized CLI install instructions * remove unnecessary short-code parameters * updated docs to address PR feedback * Apply suggestions from code review Co-authored-by: pierwill <19642016+pierwill@users.noreply.github.com> Co-authored-by: kelseiv <47797004+kelseiv@users.noreply.github.com> * Apply suggestions from code review * update linux install instructions Co-authored-by: pierwill <19642016+pierwill@users.noreply.github.com> Co-authored-by: kelseiv <47797004+kelseiv@users.noreply.github.com> * release note updates * updates * add support for annotations in OSS 2.1 (#3286) * Document support for bearer auth sytax (#3297) * 2.1 oss notebooks (#3281) * Move notebooks to OSS (addresses #2951 ) * Update content/influxdb/v2.1/notebooks/clean-data.md Co-authored-by: Scott Anderson <sanderson@users.noreply.github.com> * Update content/influxdb/v2.1/notebooks/create-notebook.md Co-authored-by: Scott Anderson <sanderson@users.noreply.github.com> * Update content/influxdb/v2.1/notebooks/manage-notebooks.md Co-authored-by: Scott Anderson <sanderson@users.noreply.github.com> * Update content/influxdb/v2.1/notebooks/overview.md Co-authored-by: Scott Anderson <sanderson@users.noreply.github.com> * Update content/influxdb/v2.1/notebooks/_index.md Co-authored-by: Scott Anderson <sanderson@users.noreply.github.com> * Update content/influxdb/v2.1/notebooks/troubleshoot-notebooks.md Co-authored-by: Scott Anderson <sanderson@users.noreply.github.com> * Update content/influxdb/v2.1/notebooks/clean-data.md Co-authored-by: Scott Anderson <sanderson@users.noreply.github.com> * Update content/influxdb/v2.1/notebooks/clean-data.md Co-authored-by: Scott Anderson <sanderson@users.noreply.github.com> * Update content/influxdb/v2.1/notebooks/clean-data.md Co-authored-by: Scott Anderson <sanderson@users.noreply.github.com> * Update content/influxdb/v2.1/notebooks/create-notebook.md Co-authored-by: Scott Anderson <sanderson@users.noreply.github.com> * Update content/influxdb/v2.1/notebooks/create-notebook.md Co-authored-by: Scott Anderson <sanderson@users.noreply.github.com> * Update content/influxdb/v2.1/notebooks/create-notebook.md Co-authored-by: kelseiv <47797004+kelseiv@users.noreply.github.com> * Update content/influxdb/v2.1/notebooks/create-notebook.md Co-authored-by: kelseiv <47797004+kelseiv@users.noreply.github.com> * Update content/influxdb/v2.1/notebooks/create-notebook.md Co-authored-by: kelseiv <47797004+kelseiv@users.noreply.github.com> * Update content/influxdb/v2.1/notebooks/create-notebook.md Co-authored-by: kelseiv <47797004+kelseiv@users.noreply.github.com> * Update content/influxdb/v2.1/notebooks/create-notebook.md Co-authored-by: kelseiv <47797004+kelseiv@users.noreply.github.com> * Update content/influxdb/v2.1/notebooks/create-notebook.md Co-authored-by: kelseiv <47797004+kelseiv@users.noreply.github.com> * Update content/influxdb/v2.1/notebooks/create-notebook.md Co-authored-by: kelseiv <47797004+kelseiv@users.noreply.github.com> * Update content/influxdb/v2.1/notebooks/create-notebook.md Co-authored-by: kelseiv <47797004+kelseiv@users.noreply.github.com> * Update content/influxdb/v2.1/notebooks/create-notebook.md Co-authored-by: kelseiv <47797004+kelseiv@users.noreply.github.com> * Update content/influxdb/v2.1/notebooks/create-notebook.md Co-authored-by: kelseiv <47797004+kelseiv@users.noreply.github.com> * Update content/influxdb/v2.1/notebooks/create-notebook.md Co-authored-by: kelseiv <47797004+kelseiv@users.noreply.github.com> * Update content/influxdb/v2.1/notebooks/create-notebook.md Co-authored-by: kelseiv <47797004+kelseiv@users.noreply.github.com> * Update content/influxdb/v2.1/notebooks/create-notebook.md Co-authored-by: kelseiv <47797004+kelseiv@users.noreply.github.com> * Update content/influxdb/v2.1/notebooks/overview.md Co-authored-by: kelseiv <47797004+kelseiv@users.noreply.github.com> * Update content/influxdb/v2.1/notebooks/overview.md Co-authored-by: kelseiv <47797004+kelseiv@users.noreply.github.com> * Update content/influxdb/v2.1/notebooks/overview.md Co-authored-by: kelseiv <47797004+kelseiv@users.noreply.github.com> * Update content/influxdb/v2.1/notebooks/overview.md Co-authored-by: kelseiv <47797004+kelseiv@users.noreply.github.com> * Update content/influxdb/v2.1/notebooks/overview.md Co-authored-by: kelseiv <47797004+kelseiv@users.noreply.github.com> * Update content/influxdb/v2.1/notebooks/overview.md Co-authored-by: kelseiv <47797004+kelseiv@users.noreply.github.com> * Update content/influxdb/v2.1/notebooks/overview.md Co-authored-by: kelseiv <47797004+kelseiv@users.noreply.github.com> * Update content/influxdb/v2.1/notebooks/create-notebook.md Co-authored-by: kelseiv <47797004+kelseiv@users.noreply.github.com> * Update content/influxdb/v2.1/notebooks/create-notebook.md Co-authored-by: kelseiv <47797004+kelseiv@users.noreply.github.com> * Update content/influxdb/v2.1/notebooks/create-notebook.md Co-authored-by: kelseiv <47797004+kelseiv@users.noreply.github.com> * Update content/influxdb/v2.1/notebooks/create-notebook.md Co-authored-by: kelseiv <47797004+kelseiv@users.noreply.github.com> * Update content/influxdb/v2.1/notebooks/create-notebook.md Co-authored-by: kelseiv <47797004+kelseiv@users.noreply.github.com> * Update content/influxdb/v2.1/notebooks/create-notebook.md Co-authored-by: kelseiv <47797004+kelseiv@users.noreply.github.com> * Update content/influxdb/v2.1/notebooks/create-notebook.md Co-authored-by: kelseiv <47797004+kelseiv@users.noreply.github.com> * Update content/influxdb/v2.1/notebooks/create-notebook.md Co-authored-by: kelseiv <47797004+kelseiv@users.noreply.github.com> * Update content/influxdb/v2.1/notebooks/create-notebook.md Co-authored-by: kelseiv <47797004+kelseiv@users.noreply.github.com> * Add PR feedback Co-authored-by: Scott Anderson <sanderson@users.noreply.github.com> Co-authored-by: kelseiv <47797004+kelseiv@users.noreply.github.com> * Fix link in bearer auth sytax doc (#3298) * Updated CLI docs content and added version metadata (#3285) * added metadata styles and data to cli docs * added missing ui-disabled influxd config flag * added updated versions to influx cli metadata * added metadata to all cloud influx cli docs * updated influx ping in cloud to have oss only tag * Update influxd documentation for 2.1 (#3302) * update and dynamically generate links to influxd flags (#3288) * remove 2.1 config options from 2.0 * New influxd commands (#3291) * added basic influxd recovery commands * added influxd recover commands, WIP for other influxd inspect commands * updated all influxd inspect commands * Apply suggestions from code review Co-authored-by: kelseiv <47797004+kelseiv@users.noreply.github.com> * updated influxd docs to address PR feedback Co-authored-by: kelseiv <47797004+kelseiv@users.noreply.github.com> Co-authored-by: kelseiv <47797004+kelseiv@users.noreply.github.com> * Add static legend to band and graph visualizations (#3315) * update band vis to include static legend * upd graph and graph-single-stat w static legend * update 2.1 links * update to latest Flux links * fix Flux links * Influxdb 2.1 release notes (#3279) * draft release notes * latest RN changes * test * revert * for review purposes * incorporate changes from new changelog * add note about new metadata included in CLI docs * edit * more edits * add overview features list * tweak verbiage about Telegraf support * Update content/influxdb/v2.1/reference/release-notes/influxdb.md Co-authored-by: Scott Anderson <sanderson@users.noreply.github.com> * Update content/influxdb/v2.1/reference/release-notes/influxdb.md Co-authored-by: Scott Anderson <sanderson@users.noreply.github.com> * Update content/influxdb/v2.1/reference/release-notes/influxdb.md Co-authored-by: Scott Anderson <sanderson@users.noreply.github.com> * Update content/influxdb/v2.1/reference/release-notes/influxdb.md Co-authored-by: Scott Anderson <sanderson@users.noreply.github.com> * Update content/influxdb/v2.1/reference/release-notes/influxdb.md Co-authored-by: Scott Anderson <sanderson@users.noreply.github.com> * Update content/influxdb/v2.1/reference/release-notes/influxdb.md Co-authored-by: Scott Anderson <sanderson@users.noreply.github.com> * Update content/influxdb/v2.1/reference/release-notes/influxdb.md Co-authored-by: Scott Anderson <sanderson@users.noreply.github.com> * Update content/influxdb/v2.1/reference/release-notes/influxdb.md Co-authored-by: Scott Anderson <sanderson@users.noreply.github.com> * Update content/influxdb/v2.1/reference/release-notes/influxdb.md Co-authored-by: Scott Anderson <sanderson@users.noreply.github.com> * Update content/influxdb/v2.1/reference/release-notes/influxdb.md Co-authored-by: Scott Anderson <sanderson@users.noreply.github.com> * Update content/influxdb/v2.1/reference/release-notes/influxdb.md Co-authored-by: Scott Anderson <sanderson@users.noreply.github.com> * add link * add edits from Scott, Dan, and Will * edits from dan * highlight and distinguish CLI separation changes * add links to new API endpoints * formatting upd * edits for secrets * mv Flux location support after rsv merge conflicts * edits from Tim * update influxql link * rmv SLQ metastore link * minor updates to 2.1 release notes * prep * Update content/influxdb/v2.1/reference/release-notes/influxdb.md Co-authored-by: Greg <2653109+glinton@users.noreply.github.com> Co-authored-by: Scott Anderson <sanderson@users.noreply.github.com> Co-authored-by: Scott Anderson <scott@influxdata.com> Co-authored-by: Greg <2653109+glinton@users.noreply.github.com> * add new Telegraf plugins to release notes * edit from Will * 2.1 upgrade and downgrade instructions (#3332) * influxd downgrade command, add upgrade instructions, closes #3331 * Apply suggestions from code review Co-authored-by: kelseiv <47797004+kelseiv@users.noreply.github.com> * Apply suggestions from code review Co-authored-by: Daniel Moran <danxmoran@gmail.com> * udpated downgrade docs to address PR feedback * remove references to localhost:1313 Co-authored-by: kelseiv <47797004+kelseiv@users.noreply.github.com> Co-authored-by: Daniel Moran <danxmoran@gmail.com> * updated flux version in release notes, added other new items, closes #3338 (#3344) * Chore/update oss api (#3341) * Standardize the term "key-value" (#3283) * s|key/value|key-value * Use en dash in prefix to open compound "time series" * CLI 2.2 (#3269) * add -b shorthand to influx delete * add cli 2.2 release notes * add example for all-access token * edits * updates to influx auth create * edits for operator token * remove inaccurate env var * Update influx-cli.md * Update influx-cli.md * make capitalization consistent with other docs * make headers parallel * Update content/influxdb/cloud/reference/release-notes/influx-cli.md Co-authored-by: Scott Anderson <sanderson@users.noreply.github.com> * Update content/influxdb/cloud/reference/release-notes/influx-cli.md Co-authored-by: Scott Anderson <sanderson@users.noreply.github.com> * Update content/influxdb/cloud/reference/release-notes/influx-cli.md Co-authored-by: Scott Anderson <sanderson@users.noreply.github.com> * edits from Scott and Dan * Update content/influxdb/v2.0/reference/cli/influx/auth/create.md Co-authored-by: Scott Anderson <sanderson@users.noreply.github.com> * Update content/influxdb/v2.0/reference/cli/influx/auth/create.md Co-authored-by: Daniel Moran <danxmoran@gmail.com> * Update content/influxdb/v2.0/reference/cli/influx/auth/create.md Co-authored-by: Daniel Moran <danxmoran@gmail.com> * edits to CLI * add oss-only shortcode and fix formatting * format updates * fix links * add oss-only inline * fix list * Update content/influxdb/v2.0/security/tokens/create-token.md Co-authored-by: Scott Anderson <sanderson@users.noreply.github.com> * Update content/influxdb/v2.0/security/tokens/create-token.md Co-authored-by: Scott Anderson <sanderson@users.noreply.github.com> * Update content/influxdb/v2.0/security/tokens/create-token.md Co-authored-by: Scott Anderson <sanderson@users.noreply.github.com> * edits from Dan * emphasize recommendation * edit from Dan re limits and page size * edit f Sam * update release date * remove vague description * Update content/influxdb/cloud/reference/release-notes/influx-cli.md Co-authored-by: Scott Anderson <sanderson@users.noreply.github.com> * Update content/influxdb/v2.0/reference/cli/influx/auth/create.md Co-authored-by: Scott Anderson <sanderson@users.noreply.github.com> * Update content/influxdb/v2.0/reference/cli/influx/auth/create.md Co-authored-by: Scott Anderson <sanderson@users.noreply.github.com> * Update content/influxdb/cloud/reference/release-notes/influx-cli.md Co-authored-by: Scott Anderson <sanderson@users.noreply.github.com> * Update content/influxdb/cloud/reference/release-notes/influx-cli.md Co-authored-by: Scott Anderson <sanderson@users.noreply.github.com> * edits from Scott Co-authored-by: Scott Anderson <sanderson@users.noreply.github.com> Co-authored-by: Daniel Moran <danxmoran@gmail.com> * add cloud updates in Sept (#3210) * Fix numbering in AWS install doc (#3293) Closes #3292 * Document new API Invocable Scripts feature (was named-functions) (#3282) * feat: add api-guides/guides and guides/api-invocable-scripts for the API-invocable scripts (managed functions) feature (##2547, #2233). * feat: document API-invocable scripts. Add example for creating and invoking a script with POST. Unable to make GET work with query parameters. * feat: moved API-invocable scripts under api-guide. Remove guides directory. Add docs for list and find. Add example for list. Add shortcuts and glossary links. Verified with team-compute that GET /invoke and python are not supported yet. * feat: rename example function for simplicity since there's no GET for now. * feat: add find_and_update example (#2547). * feat: add update example. Clarify, expand invoke example. Add links. (#2547) * Update content/influxdb/cloud/api-guide/api-invocable-scripts/_index.md Co-authored-by: Scott Anderson <sanderson@users.noreply.github.com> * fix: remove accidental commit of generated redoc-static.html * feat: manual update to cloud swagger. Merges meta, auth, tags, and x-tagGroups from src/cloud.yml to aggregate contracts/ref/cloud.yml. * fix: replace /functions with /scripts * feat: get swaggers from contracts/ref. Still requires copy-paste of info, tags, and auth from contracts/cloud.yml and contracts/oss.yml * feat: invocable scripts (#2547) * Update content/influxdb/cloud/api-guide/api-invocable-scripts/_index.md Co-authored-by: pierwill <19642016+pierwill@users.noreply.github.com> * feat: new section for params (#2547). * fix: swagger server url (#2547) * Update content/influxdb/cloud/api-guide/api-invocable-scripts/_index.md Co-authored-by: Scott Anderson <sanderson@users.noreply.github.com> * feat: remove jq and function where there's no clear need. Co-authored-by: pierwill <19642016+pierwill@users.noreply.github.com> * fix: add Invocable Scripts tag description. (#3296) * Fix api invocable (#3299) * fix: scripts api path. * fix: bad comma * Fix api invocable (#3306) * fix: scripts api path. * fix: bad comma * feat: add invocable scripts example for sending multiple parameter values. * fix: endpoint text. (#3308) * Fix api invocable (#3310) * fix: measurement -> point * fix: cloud API ref. Remove private paths. Patch description and orgID params into ScriptCreateRequest. * updated token naming and other typos, closes influxdata/DAR#244 (#3309) * Flux 0.136 (#3311) * Flux 0.136.0 release notes * Update pagerduty package for flux 0.136.0 (#3303) * Add Flux ServiceNow package (#3304) * added Flux servicenow package * Apply suggestions from code review * Enterprise dar updates (#3313) * removed references to web server in enteprise cluster docs, closes influxdata/DAR#245 * updated enterprise upgrade instructions, closes influxdata/DAR#243 * Apply suggestions from code review Co-authored-by: pierwill <19642016+pierwill@users.noreply.github.com> Co-authored-by: pierwill <19642016+pierwill@users.noreply.github.com> * fix: mjs example path (#3305) (#3316) * 3240 fix nodejs alias (#3317) * fix: mjs example path (#3305) * fix: add alias to node.js client library (#3240) * Edit description for amd_rocm_smi Telegraf plugin (#3186) * Edit description for amd_rocm_smi Telegraf plugin Edit name and description for amd_rocm_smi Telegraf plugin. Not sure if this is the only location that it needs to be udpated. * cpl minor updates Co-authored-by: Kelly <kelly@influxdata.com> * remove influxql support from v2 api, closes influxdata/DAR#246 (#3326) * Telegraf 1.20.3 (#3328) * Telegraf 1.20.3 * Update content/telegraf/v1.20/about_the_project/release-notes-changelog.md Co-authored-by: kelseiv <47797004+kelseiv@users.noreply.github.com> * Update content/telegraf/v1.20/about_the_project/release-notes-changelog.md Co-authored-by: kelseiv <47797004+kelseiv@users.noreply.github.com> * Update content/telegraf/v1.20/about_the_project/release-notes-changelog.md Co-authored-by: kelseiv <47797004+kelseiv@users.noreply.github.com> * Address PR feedback Co-authored-by: kelseiv <47797004+kelseiv@users.noreply.github.com> * docs: update telegraf configuration.md (#3300) * docs: update telegraf configuration.md * add note about rate limits * fix: correct debian/ubuntu install instructions (#3312) * fix: correct debian/ubuntu install instructions This consolidates the Debian and Ubutnu install instructions into one section. The install instructions can be the same for both as they use the same package manager (i.e. apt). This removes the use of the now deprecated pipe to apt-key. This removes references to starting the service, as the service starts on install and does not require an extra step. Also all supported operating systems are using systemd at this point so no need to call that out seperatly. Removes an extra 'sudo' in deb instructions. * missing word * added flux 0.137.0 release notes, added vertica sql support docs (#3318) * Update _index.md (#3195) broken link for external plugin repo * Addresses #3284 (#3334) * Updates to Flux `to()` (#3260) Closes https://github.com/influxdata/DAR/issues/236. Closes #3258. Co-authored-by: Scott Anderson <sanderson@users.noreply.github.com> * Fix shim and other link (#3336) * Update Kapacitor security docs (#3325) Co-authored-by: kelseiv <47797004+kelseiv@users.noreply.github.com> * Include TLS setup in Enterprise post-install steps (#3271) - Rename TLS guide file. - Use term "TLS" in title and introduction of TLS guide. Closes #3270. Co-authored-by: kelseiv <47797004+kelseiv@users.noreply.github.com> * Flux 0.138.0 and 0.139.0 (#3335) * added release notes for flux 0.138 and 0.139 and related updates * updated spec with related implementation issue * Apply suggestions from code review Co-authored-by: kelseiv <47797004+kelseiv@users.noreply.github.com> * updated to address PR feedback, added related links to int, uint, and bitwise docs Co-authored-by: kelseiv <47797004+kelseiv@users.noreply.github.com> * hotfix load data link * add aliases and fix load data link in oss * API Ref docs processing (#3337) * chore: API Reference Docs custom processing. Pulls contracts/ref files and applies custom content (tags, x-tagGroups, securitySchemes, info) before writing results to cloud/ref.yml and v2.0/ref.yml. Rename source files from swagger.yml to ref.yml to avoid confusion and in case we need to bundle additional specs in the future. Add an OpenAPI CLI docs-plugin with content and decorators. * chore: update api-docs/README.md * fix: add strip-version-prefix to remove /api/v2 added incorrectly to some paths during contract generation - also fixed in openapi repo so future contracts won't need this decorator. Fix server urls. Cleanup. * chore: update cloud contract. * chore: update oss API contract. * Apply suggestions from code review Co-authored-by: kelseiv <47797004+kelseiv@users.noreply.github.com> * Apply suggestions from code review Co-authored-by: pierwill <19642016+pierwill@users.noreply.github.com> Co-authored-by: kelseiv <47797004+kelseiv@users.noreply.github.com> Co-authored-by: Scott Anderson <sanderson@users.noreply.github.com> Co-authored-by: Daniel Moran <danxmoran@gmail.com> Co-authored-by: Samantha Wang <32681364+sjwang90@users.noreply.github.com> Co-authored-by: Kelly <kelly@influxdata.com> Co-authored-by: noramullen1 <42354779+noramullen1@users.noreply.github.com> Co-authored-by: Joshua Powers <powersj@influxdata.com> Co-authored-by: bgilmore-iot <85192039+bgilmore-iot@users.noreply.github.com> * edit from Tim: update v2.0 to v2.1 in API section * fix 2.1 links * Fix/api ref 2.1 (#3363) * fix: cloud-specific v1compat auth examples. * fix: openapi. Disabled securityScheme replacement. Cleaned up placeholders. Added links. * fix: update API auth descriptions. add API ref v2.1. Update links in openapi content. * fix: updates URLs to v2.1 in API ref docs * add verify-tsm to 2.1 release notes * Clockface updates for 2.1 and Cloud (#3364) * versioned old icomoon font * updated all existing icons with versioned style * Revert "updated all existing icons with versioned style" This reverts commit 79b6cdf539542a5420ab3988b7ada9a0db497a23. * versioned icon shortcode * update icons and new styles for clockface v3 * updated nav-icon shortcode and styles * updated account nav icon styles * misc updates * general style updates * updated oss versions on the homepage * fixed tick card colors on homepage Co-authored-by: Kelly <kelly@influxdata.com> Co-authored-by: pierwill <19642016+pierwill@users.noreply.github.com> Co-authored-by: kelseiv <47797004+kelseiv@users.noreply.github.com> Co-authored-by: noramullen1 <42354779+noramullen1@users.noreply.github.com> Co-authored-by: Greg <2653109+glinton@users.noreply.github.com> Co-authored-by: Daniel Moran <danxmoran@gmail.com> Co-authored-by: Jason Stirnaman <jstirnaman@influxdata.com> Co-authored-by: Samantha Wang <32681364+sjwang90@users.noreply.github.com> Co-authored-by: Joshua Powers <powersj@influxdata.com> Co-authored-by: bgilmore-iot <85192039+bgilmore-iot@users.noreply.github.com>
2021-11-08 17:48:11 +00:00
```
{{% note %}}
The `every` parameter supports all [valid duration units](/{{< latest "flux" >}}/spec/types/#duration-types),
including **calendar months (`1mo`)** and **years (`1y`)**.
{{% /note %}}
Each window of time is output in its own table containing all records that fall within the window.
{{% truncate %}}
###### window() output tables
```
Table: keys: [_start, _stop, _field, _measurement]
_start:time _stop:time _field:string _measurement:string _time:time _value:float
------------------------------ ------------------------------ ---------------------- ---------------------- ------------------------------ ----------------------------
2018-11-03T17:50:00.000000000Z 2018-11-03T17:51:00.000000000Z used_percent mem 2018-11-03T17:50:00.000000000Z 71.11611366271973
2018-11-03T17:50:00.000000000Z 2018-11-03T17:51:00.000000000Z used_percent mem 2018-11-03T17:50:10.000000000Z 67.39630699157715
2018-11-03T17:50:00.000000000Z 2018-11-03T17:51:00.000000000Z used_percent mem 2018-11-03T17:50:20.000000000Z 64.16666507720947
2018-11-03T17:50:00.000000000Z 2018-11-03T17:51:00.000000000Z used_percent mem 2018-11-03T17:50:30.000000000Z 64.19951915740967
2018-11-03T17:50:00.000000000Z 2018-11-03T17:51:00.000000000Z used_percent mem 2018-11-03T17:50:40.000000000Z 64.2122745513916
2018-11-03T17:50:00.000000000Z 2018-11-03T17:51:00.000000000Z used_percent mem 2018-11-03T17:50:50.000000000Z 64.22209739685059
Table: keys: [_start, _stop, _field, _measurement]
_start:time _stop:time _field:string _measurement:string _time:time _value:float
------------------------------ ------------------------------ ---------------------- ---------------------- ------------------------------ ----------------------------
2018-11-03T17:51:00.000000000Z 2018-11-03T17:52:00.000000000Z used_percent mem 2018-11-03T17:51:00.000000000Z 64.6336555480957
2018-11-03T17:51:00.000000000Z 2018-11-03T17:52:00.000000000Z used_percent mem 2018-11-03T17:51:10.000000000Z 64.16516304016113
2018-11-03T17:51:00.000000000Z 2018-11-03T17:52:00.000000000Z used_percent mem 2018-11-03T17:51:20.000000000Z 64.18349742889404
2018-11-03T17:51:00.000000000Z 2018-11-03T17:52:00.000000000Z used_percent mem 2018-11-03T17:51:30.000000000Z 64.20474052429199
2018-11-03T17:51:00.000000000Z 2018-11-03T17:52:00.000000000Z used_percent mem 2018-11-03T17:51:40.000000000Z 68.65062713623047
2018-11-03T17:51:00.000000000Z 2018-11-03T17:52:00.000000000Z used_percent mem 2018-11-03T17:51:50.000000000Z 67.20139980316162
Table: keys: [_start, _stop, _field, _measurement]
_start:time _stop:time _field:string _measurement:string _time:time _value:float
------------------------------ ------------------------------ ---------------------- ---------------------- ------------------------------ ----------------------------
2018-11-03T17:52:00.000000000Z 2018-11-03T17:53:00.000000000Z used_percent mem 2018-11-03T17:52:00.000000000Z 70.9143877029419
2018-11-03T17:52:00.000000000Z 2018-11-03T17:53:00.000000000Z used_percent mem 2018-11-03T17:52:10.000000000Z 64.14549350738525
2018-11-03T17:52:00.000000000Z 2018-11-03T17:53:00.000000000Z used_percent mem 2018-11-03T17:52:20.000000000Z 64.15379047393799
2018-11-03T17:52:00.000000000Z 2018-11-03T17:53:00.000000000Z used_percent mem 2018-11-03T17:52:30.000000000Z 64.1592264175415
2018-11-03T17:52:00.000000000Z 2018-11-03T17:53:00.000000000Z used_percent mem 2018-11-03T17:52:40.000000000Z 64.18190002441406
2018-11-03T17:52:00.000000000Z 2018-11-03T17:53:00.000000000Z used_percent mem 2018-11-03T17:52:50.000000000Z 64.28837776184082
Table: keys: [_start, _stop, _field, _measurement]
_start:time _stop:time _field:string _measurement:string _time:time _value:float
------------------------------ ------------------------------ ---------------------- ---------------------- ------------------------------ ----------------------------
2018-11-03T17:53:00.000000000Z 2018-11-03T17:54:00.000000000Z used_percent mem 2018-11-03T17:53:00.000000000Z 64.29731845855713
2018-11-03T17:53:00.000000000Z 2018-11-03T17:54:00.000000000Z used_percent mem 2018-11-03T17:53:10.000000000Z 64.36963081359863
2018-11-03T17:53:00.000000000Z 2018-11-03T17:54:00.000000000Z used_percent mem 2018-11-03T17:53:20.000000000Z 64.37397003173828
2018-11-03T17:53:00.000000000Z 2018-11-03T17:54:00.000000000Z used_percent mem 2018-11-03T17:53:30.000000000Z 64.44413661956787
2018-11-03T17:53:00.000000000Z 2018-11-03T17:54:00.000000000Z used_percent mem 2018-11-03T17:53:40.000000000Z 64.42906856536865
2018-11-03T17:53:00.000000000Z 2018-11-03T17:54:00.000000000Z used_percent mem 2018-11-03T17:53:50.000000000Z 64.44573402404785
Table: keys: [_start, _stop, _field, _measurement]
_start:time _stop:time _field:string _measurement:string _time:time _value:float
------------------------------ ------------------------------ ---------------------- ---------------------- ------------------------------ ----------------------------
2018-11-03T17:54:00.000000000Z 2018-11-03T17:55:00.000000000Z used_percent mem 2018-11-03T17:54:00.000000000Z 64.48912620544434
2018-11-03T17:54:00.000000000Z 2018-11-03T17:55:00.000000000Z used_percent mem 2018-11-03T17:54:10.000000000Z 64.49522972106934
2018-11-03T17:54:00.000000000Z 2018-11-03T17:55:00.000000000Z used_percent mem 2018-11-03T17:54:20.000000000Z 64.48652744293213
2018-11-03T17:54:00.000000000Z 2018-11-03T17:55:00.000000000Z used_percent mem 2018-11-03T17:54:30.000000000Z 64.49949741363525
2018-11-03T17:54:00.000000000Z 2018-11-03T17:55:00.000000000Z used_percent mem 2018-11-03T17:54:40.000000000Z 64.4949197769165
2018-11-03T17:54:00.000000000Z 2018-11-03T17:55:00.000000000Z used_percent mem 2018-11-03T17:54:50.000000000Z 64.49787616729736
Table: keys: [_start, _stop, _field, _measurement]
_start:time _stop:time _field:string _measurement:string _time:time _value:float
------------------------------ ------------------------------ ---------------------- ---------------------- ------------------------------ ----------------------------
2018-11-03T17:55:00.000000000Z 2018-11-03T17:55:00.000000000Z used_percent mem 2018-11-03T17:55:00.000000000Z 64.49816226959229
```
{{% /truncate %}}
When visualized in the InfluxDB UI, each window table is displayed in a different color.
![Windowed data](/img/flux/simple-windowed-data.png)
## Aggregate data
[Aggregate functions](/{{< latest "flux" >}}/function-types#aggregates) take the values
of all rows in a table and use them to perform an aggregate operation.
The result is output as a new value in a single-row table.
Since windowed data is split into separate tables, aggregate operations run against
each table separately and output new tables containing only the aggregated value.
For this example, use the [`mean()` function](/{{< latest "flux" >}}/stdlib/universe/mean)
to output the average of each window:
```js
dataSet
|> window(every: 1m)
|> mean()
InfluxDB 2.1 (#3367) * base changes for influxdb 2.1 * remove duplicates in draft * draft categories * add categories * Document wildcards in SHOW MEASUREMENTS ON queries (#3273) * InfluxQL: document wildcards in SHOW MEASUREMENTS ON queries This applies to InfluxDB 2.1. See #3201 * latest notes * Update `influxd --store` values (#3272) * Use Unix ~ alias * Add sqlite path to file layout doc * add sqlite to filesystem diagrams * draft 2.1 release notes +questions * revert to check RNs changes in separately * latest release notes * Restructure installation docs for separate CLI package (#3280) * influxdb and cli install revamp * reorganized CLI install instructions * remove unnecessary short-code parameters * updated docs to address PR feedback * Apply suggestions from code review Co-authored-by: pierwill <19642016+pierwill@users.noreply.github.com> Co-authored-by: kelseiv <47797004+kelseiv@users.noreply.github.com> * Apply suggestions from code review * update linux install instructions Co-authored-by: pierwill <19642016+pierwill@users.noreply.github.com> Co-authored-by: kelseiv <47797004+kelseiv@users.noreply.github.com> * release note updates * updates * add support for annotations in OSS 2.1 (#3286) * Document support for bearer auth sytax (#3297) * 2.1 oss notebooks (#3281) * Move notebooks to OSS (addresses #2951 ) * Update content/influxdb/v2.1/notebooks/clean-data.md Co-authored-by: Scott Anderson <sanderson@users.noreply.github.com> * Update content/influxdb/v2.1/notebooks/create-notebook.md Co-authored-by: Scott Anderson <sanderson@users.noreply.github.com> * Update content/influxdb/v2.1/notebooks/manage-notebooks.md Co-authored-by: Scott Anderson <sanderson@users.noreply.github.com> * Update content/influxdb/v2.1/notebooks/overview.md Co-authored-by: Scott Anderson <sanderson@users.noreply.github.com> * Update content/influxdb/v2.1/notebooks/_index.md Co-authored-by: Scott Anderson <sanderson@users.noreply.github.com> * Update content/influxdb/v2.1/notebooks/troubleshoot-notebooks.md Co-authored-by: Scott Anderson <sanderson@users.noreply.github.com> * Update content/influxdb/v2.1/notebooks/clean-data.md Co-authored-by: Scott Anderson <sanderson@users.noreply.github.com> * Update content/influxdb/v2.1/notebooks/clean-data.md Co-authored-by: Scott Anderson <sanderson@users.noreply.github.com> * Update content/influxdb/v2.1/notebooks/clean-data.md Co-authored-by: Scott Anderson <sanderson@users.noreply.github.com> * Update content/influxdb/v2.1/notebooks/create-notebook.md Co-authored-by: Scott Anderson <sanderson@users.noreply.github.com> * Update content/influxdb/v2.1/notebooks/create-notebook.md Co-authored-by: Scott Anderson <sanderson@users.noreply.github.com> * Update content/influxdb/v2.1/notebooks/create-notebook.md Co-authored-by: kelseiv <47797004+kelseiv@users.noreply.github.com> * Update content/influxdb/v2.1/notebooks/create-notebook.md Co-authored-by: kelseiv <47797004+kelseiv@users.noreply.github.com> * Update content/influxdb/v2.1/notebooks/create-notebook.md Co-authored-by: kelseiv <47797004+kelseiv@users.noreply.github.com> * Update content/influxdb/v2.1/notebooks/create-notebook.md Co-authored-by: kelseiv <47797004+kelseiv@users.noreply.github.com> * Update content/influxdb/v2.1/notebooks/create-notebook.md Co-authored-by: kelseiv <47797004+kelseiv@users.noreply.github.com> * Update content/influxdb/v2.1/notebooks/create-notebook.md Co-authored-by: kelseiv <47797004+kelseiv@users.noreply.github.com> * Update content/influxdb/v2.1/notebooks/create-notebook.md Co-authored-by: kelseiv <47797004+kelseiv@users.noreply.github.com> * Update content/influxdb/v2.1/notebooks/create-notebook.md Co-authored-by: kelseiv <47797004+kelseiv@users.noreply.github.com> * Update content/influxdb/v2.1/notebooks/create-notebook.md Co-authored-by: kelseiv <47797004+kelseiv@users.noreply.github.com> * Update content/influxdb/v2.1/notebooks/create-notebook.md Co-authored-by: kelseiv <47797004+kelseiv@users.noreply.github.com> * Update content/influxdb/v2.1/notebooks/create-notebook.md Co-authored-by: kelseiv <47797004+kelseiv@users.noreply.github.com> * Update content/influxdb/v2.1/notebooks/create-notebook.md Co-authored-by: kelseiv <47797004+kelseiv@users.noreply.github.com> * Update content/influxdb/v2.1/notebooks/create-notebook.md Co-authored-by: kelseiv <47797004+kelseiv@users.noreply.github.com> * Update content/influxdb/v2.1/notebooks/overview.md Co-authored-by: kelseiv <47797004+kelseiv@users.noreply.github.com> * Update content/influxdb/v2.1/notebooks/overview.md Co-authored-by: kelseiv <47797004+kelseiv@users.noreply.github.com> * Update content/influxdb/v2.1/notebooks/overview.md Co-authored-by: kelseiv <47797004+kelseiv@users.noreply.github.com> * Update content/influxdb/v2.1/notebooks/overview.md Co-authored-by: kelseiv <47797004+kelseiv@users.noreply.github.com> * Update content/influxdb/v2.1/notebooks/overview.md Co-authored-by: kelseiv <47797004+kelseiv@users.noreply.github.com> * Update content/influxdb/v2.1/notebooks/overview.md Co-authored-by: kelseiv <47797004+kelseiv@users.noreply.github.com> * Update content/influxdb/v2.1/notebooks/overview.md Co-authored-by: kelseiv <47797004+kelseiv@users.noreply.github.com> * Update content/influxdb/v2.1/notebooks/create-notebook.md Co-authored-by: kelseiv <47797004+kelseiv@users.noreply.github.com> * Update content/influxdb/v2.1/notebooks/create-notebook.md Co-authored-by: kelseiv <47797004+kelseiv@users.noreply.github.com> * Update content/influxdb/v2.1/notebooks/create-notebook.md Co-authored-by: kelseiv <47797004+kelseiv@users.noreply.github.com> * Update content/influxdb/v2.1/notebooks/create-notebook.md Co-authored-by: kelseiv <47797004+kelseiv@users.noreply.github.com> * Update content/influxdb/v2.1/notebooks/create-notebook.md Co-authored-by: kelseiv <47797004+kelseiv@users.noreply.github.com> * Update content/influxdb/v2.1/notebooks/create-notebook.md Co-authored-by: kelseiv <47797004+kelseiv@users.noreply.github.com> * Update content/influxdb/v2.1/notebooks/create-notebook.md Co-authored-by: kelseiv <47797004+kelseiv@users.noreply.github.com> * Update content/influxdb/v2.1/notebooks/create-notebook.md Co-authored-by: kelseiv <47797004+kelseiv@users.noreply.github.com> * Update content/influxdb/v2.1/notebooks/create-notebook.md Co-authored-by: kelseiv <47797004+kelseiv@users.noreply.github.com> * Add PR feedback Co-authored-by: Scott Anderson <sanderson@users.noreply.github.com> Co-authored-by: kelseiv <47797004+kelseiv@users.noreply.github.com> * Fix link in bearer auth sytax doc (#3298) * Updated CLI docs content and added version metadata (#3285) * added metadata styles and data to cli docs * added missing ui-disabled influxd config flag * added updated versions to influx cli metadata * added metadata to all cloud influx cli docs * updated influx ping in cloud to have oss only tag * Update influxd documentation for 2.1 (#3302) * update and dynamically generate links to influxd flags (#3288) * remove 2.1 config options from 2.0 * New influxd commands (#3291) * added basic influxd recovery commands * added influxd recover commands, WIP for other influxd inspect commands * updated all influxd inspect commands * Apply suggestions from code review Co-authored-by: kelseiv <47797004+kelseiv@users.noreply.github.com> * updated influxd docs to address PR feedback Co-authored-by: kelseiv <47797004+kelseiv@users.noreply.github.com> Co-authored-by: kelseiv <47797004+kelseiv@users.noreply.github.com> * Add static legend to band and graph visualizations (#3315) * update band vis to include static legend * upd graph and graph-single-stat w static legend * update 2.1 links * update to latest Flux links * fix Flux links * Influxdb 2.1 release notes (#3279) * draft release notes * latest RN changes * test * revert * for review purposes * incorporate changes from new changelog * add note about new metadata included in CLI docs * edit * more edits * add overview features list * tweak verbiage about Telegraf support * Update content/influxdb/v2.1/reference/release-notes/influxdb.md Co-authored-by: Scott Anderson <sanderson@users.noreply.github.com> * Update content/influxdb/v2.1/reference/release-notes/influxdb.md Co-authored-by: Scott Anderson <sanderson@users.noreply.github.com> * Update content/influxdb/v2.1/reference/release-notes/influxdb.md Co-authored-by: Scott Anderson <sanderson@users.noreply.github.com> * Update content/influxdb/v2.1/reference/release-notes/influxdb.md Co-authored-by: Scott Anderson <sanderson@users.noreply.github.com> * Update content/influxdb/v2.1/reference/release-notes/influxdb.md Co-authored-by: Scott Anderson <sanderson@users.noreply.github.com> * Update content/influxdb/v2.1/reference/release-notes/influxdb.md Co-authored-by: Scott Anderson <sanderson@users.noreply.github.com> * Update content/influxdb/v2.1/reference/release-notes/influxdb.md Co-authored-by: Scott Anderson <sanderson@users.noreply.github.com> * Update content/influxdb/v2.1/reference/release-notes/influxdb.md Co-authored-by: Scott Anderson <sanderson@users.noreply.github.com> * Update content/influxdb/v2.1/reference/release-notes/influxdb.md Co-authored-by: Scott Anderson <sanderson@users.noreply.github.com> * Update content/influxdb/v2.1/reference/release-notes/influxdb.md Co-authored-by: Scott Anderson <sanderson@users.noreply.github.com> * Update content/influxdb/v2.1/reference/release-notes/influxdb.md Co-authored-by: Scott Anderson <sanderson@users.noreply.github.com> * add link * add edits from Scott, Dan, and Will * edits from dan * highlight and distinguish CLI separation changes * add links to new API endpoints * formatting upd * edits for secrets * mv Flux location support after rsv merge conflicts * edits from Tim * update influxql link * rmv SLQ metastore link * minor updates to 2.1 release notes * prep * Update content/influxdb/v2.1/reference/release-notes/influxdb.md Co-authored-by: Greg <2653109+glinton@users.noreply.github.com> Co-authored-by: Scott Anderson <sanderson@users.noreply.github.com> Co-authored-by: Scott Anderson <scott@influxdata.com> Co-authored-by: Greg <2653109+glinton@users.noreply.github.com> * add new Telegraf plugins to release notes * edit from Will * 2.1 upgrade and downgrade instructions (#3332) * influxd downgrade command, add upgrade instructions, closes #3331 * Apply suggestions from code review Co-authored-by: kelseiv <47797004+kelseiv@users.noreply.github.com> * Apply suggestions from code review Co-authored-by: Daniel Moran <danxmoran@gmail.com> * udpated downgrade docs to address PR feedback * remove references to localhost:1313 Co-authored-by: kelseiv <47797004+kelseiv@users.noreply.github.com> Co-authored-by: Daniel Moran <danxmoran@gmail.com> * updated flux version in release notes, added other new items, closes #3338 (#3344) * Chore/update oss api (#3341) * Standardize the term "key-value" (#3283) * s|key/value|key-value * Use en dash in prefix to open compound "time series" * CLI 2.2 (#3269) * add -b shorthand to influx delete * add cli 2.2 release notes * add example for all-access token * edits * updates to influx auth create * edits for operator token * remove inaccurate env var * Update influx-cli.md * Update influx-cli.md * make capitalization consistent with other docs * make headers parallel * Update content/influxdb/cloud/reference/release-notes/influx-cli.md Co-authored-by: Scott Anderson <sanderson@users.noreply.github.com> * Update content/influxdb/cloud/reference/release-notes/influx-cli.md Co-authored-by: Scott Anderson <sanderson@users.noreply.github.com> * Update content/influxdb/cloud/reference/release-notes/influx-cli.md Co-authored-by: Scott Anderson <sanderson@users.noreply.github.com> * edits from Scott and Dan * Update content/influxdb/v2.0/reference/cli/influx/auth/create.md Co-authored-by: Scott Anderson <sanderson@users.noreply.github.com> * Update content/influxdb/v2.0/reference/cli/influx/auth/create.md Co-authored-by: Daniel Moran <danxmoran@gmail.com> * Update content/influxdb/v2.0/reference/cli/influx/auth/create.md Co-authored-by: Daniel Moran <danxmoran@gmail.com> * edits to CLI * add oss-only shortcode and fix formatting * format updates * fix links * add oss-only inline * fix list * Update content/influxdb/v2.0/security/tokens/create-token.md Co-authored-by: Scott Anderson <sanderson@users.noreply.github.com> * Update content/influxdb/v2.0/security/tokens/create-token.md Co-authored-by: Scott Anderson <sanderson@users.noreply.github.com> * Update content/influxdb/v2.0/security/tokens/create-token.md Co-authored-by: Scott Anderson <sanderson@users.noreply.github.com> * edits from Dan * emphasize recommendation * edit from Dan re limits and page size * edit f Sam * update release date * remove vague description * Update content/influxdb/cloud/reference/release-notes/influx-cli.md Co-authored-by: Scott Anderson <sanderson@users.noreply.github.com> * Update content/influxdb/v2.0/reference/cli/influx/auth/create.md Co-authored-by: Scott Anderson <sanderson@users.noreply.github.com> * Update content/influxdb/v2.0/reference/cli/influx/auth/create.md Co-authored-by: Scott Anderson <sanderson@users.noreply.github.com> * Update content/influxdb/cloud/reference/release-notes/influx-cli.md Co-authored-by: Scott Anderson <sanderson@users.noreply.github.com> * Update content/influxdb/cloud/reference/release-notes/influx-cli.md Co-authored-by: Scott Anderson <sanderson@users.noreply.github.com> * edits from Scott Co-authored-by: Scott Anderson <sanderson@users.noreply.github.com> Co-authored-by: Daniel Moran <danxmoran@gmail.com> * add cloud updates in Sept (#3210) * Fix numbering in AWS install doc (#3293) Closes #3292 * Document new API Invocable Scripts feature (was named-functions) (#3282) * feat: add api-guides/guides and guides/api-invocable-scripts for the API-invocable scripts (managed functions) feature (##2547, #2233). * feat: document API-invocable scripts. Add example for creating and invoking a script with POST. Unable to make GET work with query parameters. * feat: moved API-invocable scripts under api-guide. Remove guides directory. Add docs for list and find. Add example for list. Add shortcuts and glossary links. Verified with team-compute that GET /invoke and python are not supported yet. * feat: rename example function for simplicity since there's no GET for now. * feat: add find_and_update example (#2547). * feat: add update example. Clarify, expand invoke example. Add links. (#2547) * Update content/influxdb/cloud/api-guide/api-invocable-scripts/_index.md Co-authored-by: Scott Anderson <sanderson@users.noreply.github.com> * fix: remove accidental commit of generated redoc-static.html * feat: manual update to cloud swagger. Merges meta, auth, tags, and x-tagGroups from src/cloud.yml to aggregate contracts/ref/cloud.yml. * fix: replace /functions with /scripts * feat: get swaggers from contracts/ref. Still requires copy-paste of info, tags, and auth from contracts/cloud.yml and contracts/oss.yml * feat: invocable scripts (#2547) * Update content/influxdb/cloud/api-guide/api-invocable-scripts/_index.md Co-authored-by: pierwill <19642016+pierwill@users.noreply.github.com> * feat: new section for params (#2547). * fix: swagger server url (#2547) * Update content/influxdb/cloud/api-guide/api-invocable-scripts/_index.md Co-authored-by: Scott Anderson <sanderson@users.noreply.github.com> * feat: remove jq and function where there's no clear need. Co-authored-by: pierwill <19642016+pierwill@users.noreply.github.com> * fix: add Invocable Scripts tag description. (#3296) * Fix api invocable (#3299) * fix: scripts api path. * fix: bad comma * Fix api invocable (#3306) * fix: scripts api path. * fix: bad comma * feat: add invocable scripts example for sending multiple parameter values. * fix: endpoint text. (#3308) * Fix api invocable (#3310) * fix: measurement -> point * fix: cloud API ref. Remove private paths. Patch description and orgID params into ScriptCreateRequest. * updated token naming and other typos, closes influxdata/DAR#244 (#3309) * Flux 0.136 (#3311) * Flux 0.136.0 release notes * Update pagerduty package for flux 0.136.0 (#3303) * Add Flux ServiceNow package (#3304) * added Flux servicenow package * Apply suggestions from code review * Enterprise dar updates (#3313) * removed references to web server in enteprise cluster docs, closes influxdata/DAR#245 * updated enterprise upgrade instructions, closes influxdata/DAR#243 * Apply suggestions from code review Co-authored-by: pierwill <19642016+pierwill@users.noreply.github.com> Co-authored-by: pierwill <19642016+pierwill@users.noreply.github.com> * fix: mjs example path (#3305) (#3316) * 3240 fix nodejs alias (#3317) * fix: mjs example path (#3305) * fix: add alias to node.js client library (#3240) * Edit description for amd_rocm_smi Telegraf plugin (#3186) * Edit description for amd_rocm_smi Telegraf plugin Edit name and description for amd_rocm_smi Telegraf plugin. Not sure if this is the only location that it needs to be udpated. * cpl minor updates Co-authored-by: Kelly <kelly@influxdata.com> * remove influxql support from v2 api, closes influxdata/DAR#246 (#3326) * Telegraf 1.20.3 (#3328) * Telegraf 1.20.3 * Update content/telegraf/v1.20/about_the_project/release-notes-changelog.md Co-authored-by: kelseiv <47797004+kelseiv@users.noreply.github.com> * Update content/telegraf/v1.20/about_the_project/release-notes-changelog.md Co-authored-by: kelseiv <47797004+kelseiv@users.noreply.github.com> * Update content/telegraf/v1.20/about_the_project/release-notes-changelog.md Co-authored-by: kelseiv <47797004+kelseiv@users.noreply.github.com> * Address PR feedback Co-authored-by: kelseiv <47797004+kelseiv@users.noreply.github.com> * docs: update telegraf configuration.md (#3300) * docs: update telegraf configuration.md * add note about rate limits * fix: correct debian/ubuntu install instructions (#3312) * fix: correct debian/ubuntu install instructions This consolidates the Debian and Ubutnu install instructions into one section. The install instructions can be the same for both as they use the same package manager (i.e. apt). This removes the use of the now deprecated pipe to apt-key. This removes references to starting the service, as the service starts on install and does not require an extra step. Also all supported operating systems are using systemd at this point so no need to call that out seperatly. Removes an extra 'sudo' in deb instructions. * missing word * added flux 0.137.0 release notes, added vertica sql support docs (#3318) * Update _index.md (#3195) broken link for external plugin repo * Addresses #3284 (#3334) * Updates to Flux `to()` (#3260) Closes https://github.com/influxdata/DAR/issues/236. Closes #3258. Co-authored-by: Scott Anderson <sanderson@users.noreply.github.com> * Fix shim and other link (#3336) * Update Kapacitor security docs (#3325) Co-authored-by: kelseiv <47797004+kelseiv@users.noreply.github.com> * Include TLS setup in Enterprise post-install steps (#3271) - Rename TLS guide file. - Use term "TLS" in title and introduction of TLS guide. Closes #3270. Co-authored-by: kelseiv <47797004+kelseiv@users.noreply.github.com> * Flux 0.138.0 and 0.139.0 (#3335) * added release notes for flux 0.138 and 0.139 and related updates * updated spec with related implementation issue * Apply suggestions from code review Co-authored-by: kelseiv <47797004+kelseiv@users.noreply.github.com> * updated to address PR feedback, added related links to int, uint, and bitwise docs Co-authored-by: kelseiv <47797004+kelseiv@users.noreply.github.com> * hotfix load data link * add aliases and fix load data link in oss * API Ref docs processing (#3337) * chore: API Reference Docs custom processing. Pulls contracts/ref files and applies custom content (tags, x-tagGroups, securitySchemes, info) before writing results to cloud/ref.yml and v2.0/ref.yml. Rename source files from swagger.yml to ref.yml to avoid confusion and in case we need to bundle additional specs in the future. Add an OpenAPI CLI docs-plugin with content and decorators. * chore: update api-docs/README.md * fix: add strip-version-prefix to remove /api/v2 added incorrectly to some paths during contract generation - also fixed in openapi repo so future contracts won't need this decorator. Fix server urls. Cleanup. * chore: update cloud contract. * chore: update oss API contract. * Apply suggestions from code review Co-authored-by: kelseiv <47797004+kelseiv@users.noreply.github.com> * Apply suggestions from code review Co-authored-by: pierwill <19642016+pierwill@users.noreply.github.com> Co-authored-by: kelseiv <47797004+kelseiv@users.noreply.github.com> Co-authored-by: Scott Anderson <sanderson@users.noreply.github.com> Co-authored-by: Daniel Moran <danxmoran@gmail.com> Co-authored-by: Samantha Wang <32681364+sjwang90@users.noreply.github.com> Co-authored-by: Kelly <kelly@influxdata.com> Co-authored-by: noramullen1 <42354779+noramullen1@users.noreply.github.com> Co-authored-by: Joshua Powers <powersj@influxdata.com> Co-authored-by: bgilmore-iot <85192039+bgilmore-iot@users.noreply.github.com> * edit from Tim: update v2.0 to v2.1 in API section * fix 2.1 links * Fix/api ref 2.1 (#3363) * fix: cloud-specific v1compat auth examples. * fix: openapi. Disabled securityScheme replacement. Cleaned up placeholders. Added links. * fix: update API auth descriptions. add API ref v2.1. Update links in openapi content. * fix: updates URLs to v2.1 in API ref docs * add verify-tsm to 2.1 release notes * Clockface updates for 2.1 and Cloud (#3364) * versioned old icomoon font * updated all existing icons with versioned style * Revert "updated all existing icons with versioned style" This reverts commit 79b6cdf539542a5420ab3988b7ada9a0db497a23. * versioned icon shortcode * update icons and new styles for clockface v3 * updated nav-icon shortcode and styles * updated account nav icon styles * misc updates * general style updates * updated oss versions on the homepage * fixed tick card colors on homepage Co-authored-by: Kelly <kelly@influxdata.com> Co-authored-by: pierwill <19642016+pierwill@users.noreply.github.com> Co-authored-by: kelseiv <47797004+kelseiv@users.noreply.github.com> Co-authored-by: noramullen1 <42354779+noramullen1@users.noreply.github.com> Co-authored-by: Greg <2653109+glinton@users.noreply.github.com> Co-authored-by: Daniel Moran <danxmoran@gmail.com> Co-authored-by: Jason Stirnaman <jstirnaman@influxdata.com> Co-authored-by: Samantha Wang <32681364+sjwang90@users.noreply.github.com> Co-authored-by: Joshua Powers <powersj@influxdata.com> Co-authored-by: bgilmore-iot <85192039+bgilmore-iot@users.noreply.github.com>
2021-11-08 17:48:11 +00:00
```
{{% truncate %}}
###### mean() output tables
```
Table: keys: [_start, _stop, _field, _measurement]
_start:time _stop:time _field:string _measurement:string _value:float
------------------------------ ------------------------------ ---------------------- ---------------------- ----------------------------
2018-11-03T17:50:00.000000000Z 2018-11-03T17:51:00.000000000Z used_percent mem 65.88549613952637
Table: keys: [_start, _stop, _field, _measurement]
_start:time _stop:time _field:string _measurement:string _value:float
------------------------------ ------------------------------ ---------------------- ---------------------- ----------------------------
2018-11-03T17:51:00.000000000Z 2018-11-03T17:52:00.000000000Z used_percent mem 65.50651391347249
Table: keys: [_start, _stop, _field, _measurement]
_start:time _stop:time _field:string _measurement:string _value:float
------------------------------ ------------------------------ ---------------------- ---------------------- ----------------------------
2018-11-03T17:52:00.000000000Z 2018-11-03T17:53:00.000000000Z used_percent mem 65.30719598134358
Table: keys: [_start, _stop, _field, _measurement]
_start:time _stop:time _field:string _measurement:string _value:float
------------------------------ ------------------------------ ---------------------- ---------------------- ----------------------------
2018-11-03T17:53:00.000000000Z 2018-11-03T17:54:00.000000000Z used_percent mem 64.39330975214641
Table: keys: [_start, _stop, _field, _measurement]
_start:time _stop:time _field:string _measurement:string _value:float
------------------------------ ------------------------------ ---------------------- ---------------------- ----------------------------
2018-11-03T17:54:00.000000000Z 2018-11-03T17:55:00.000000000Z used_percent mem 64.49386278788249
Table: keys: [_start, _stop, _field, _measurement]
_start:time _stop:time _field:string _measurement:string _value:float
------------------------------ ------------------------------ ---------------------- ---------------------- ----------------------------
2018-11-03T17:55:00.000000000Z 2018-11-03T17:55:00.000000000Z used_percent mem 64.49816226959229
```
{{% /truncate %}}
Because each data point is contained in its own table, when visualized,
they appear as single, unconnected points.
![Aggregated windowed data](/img/flux/simple-windowed-aggregate-data.png)
### Recreate the time column
**Notice the `_time` column is not in the [aggregated output tables](#mean-output-tables).**
Because records in each table are aggregated together, their timestamps no longer
apply and the column is removed from the group key and table.
Also notice the `_start` and `_stop` columns still exist.
These represent the lower and upper bounds of the time window.
Many Flux functions rely on the `_time` column.
To further process your data after an aggregate function, you need to re-add `_time`.
Use the [`duplicate()` function](/{{< latest "flux" >}}/stdlib/universe/duplicate) to
duplicate either the `_start` or `_stop` column as a new `_time` column.
```js
dataSet
|> window(every: 1m)
|> mean()
|> duplicate(column: "_stop", as: "_time")
InfluxDB 2.1 (#3367) * base changes for influxdb 2.1 * remove duplicates in draft * draft categories * add categories * Document wildcards in SHOW MEASUREMENTS ON queries (#3273) * InfluxQL: document wildcards in SHOW MEASUREMENTS ON queries This applies to InfluxDB 2.1. See #3201 * latest notes * Update `influxd --store` values (#3272) * Use Unix ~ alias * Add sqlite path to file layout doc * add sqlite to filesystem diagrams * draft 2.1 release notes +questions * revert to check RNs changes in separately * latest release notes * Restructure installation docs for separate CLI package (#3280) * influxdb and cli install revamp * reorganized CLI install instructions * remove unnecessary short-code parameters * updated docs to address PR feedback * Apply suggestions from code review Co-authored-by: pierwill <19642016+pierwill@users.noreply.github.com> Co-authored-by: kelseiv <47797004+kelseiv@users.noreply.github.com> * Apply suggestions from code review * update linux install instructions Co-authored-by: pierwill <19642016+pierwill@users.noreply.github.com> Co-authored-by: kelseiv <47797004+kelseiv@users.noreply.github.com> * release note updates * updates * add support for annotations in OSS 2.1 (#3286) * Document support for bearer auth sytax (#3297) * 2.1 oss notebooks (#3281) * Move notebooks to OSS (addresses #2951 ) * Update content/influxdb/v2.1/notebooks/clean-data.md Co-authored-by: Scott Anderson <sanderson@users.noreply.github.com> * Update content/influxdb/v2.1/notebooks/create-notebook.md Co-authored-by: Scott Anderson <sanderson@users.noreply.github.com> * Update content/influxdb/v2.1/notebooks/manage-notebooks.md Co-authored-by: Scott Anderson <sanderson@users.noreply.github.com> * Update content/influxdb/v2.1/notebooks/overview.md Co-authored-by: Scott Anderson <sanderson@users.noreply.github.com> * Update content/influxdb/v2.1/notebooks/_index.md Co-authored-by: Scott Anderson <sanderson@users.noreply.github.com> * Update content/influxdb/v2.1/notebooks/troubleshoot-notebooks.md Co-authored-by: Scott Anderson <sanderson@users.noreply.github.com> * Update content/influxdb/v2.1/notebooks/clean-data.md Co-authored-by: Scott Anderson <sanderson@users.noreply.github.com> * Update content/influxdb/v2.1/notebooks/clean-data.md Co-authored-by: Scott Anderson <sanderson@users.noreply.github.com> * Update content/influxdb/v2.1/notebooks/clean-data.md Co-authored-by: Scott Anderson <sanderson@users.noreply.github.com> * Update content/influxdb/v2.1/notebooks/create-notebook.md Co-authored-by: Scott Anderson <sanderson@users.noreply.github.com> * Update content/influxdb/v2.1/notebooks/create-notebook.md Co-authored-by: Scott Anderson <sanderson@users.noreply.github.com> * Update content/influxdb/v2.1/notebooks/create-notebook.md Co-authored-by: kelseiv <47797004+kelseiv@users.noreply.github.com> * Update content/influxdb/v2.1/notebooks/create-notebook.md Co-authored-by: kelseiv <47797004+kelseiv@users.noreply.github.com> * Update content/influxdb/v2.1/notebooks/create-notebook.md Co-authored-by: kelseiv <47797004+kelseiv@users.noreply.github.com> * Update content/influxdb/v2.1/notebooks/create-notebook.md Co-authored-by: kelseiv <47797004+kelseiv@users.noreply.github.com> * Update content/influxdb/v2.1/notebooks/create-notebook.md Co-authored-by: kelseiv <47797004+kelseiv@users.noreply.github.com> * Update content/influxdb/v2.1/notebooks/create-notebook.md Co-authored-by: kelseiv <47797004+kelseiv@users.noreply.github.com> * Update content/influxdb/v2.1/notebooks/create-notebook.md Co-authored-by: kelseiv <47797004+kelseiv@users.noreply.github.com> * Update content/influxdb/v2.1/notebooks/create-notebook.md Co-authored-by: kelseiv <47797004+kelseiv@users.noreply.github.com> * Update content/influxdb/v2.1/notebooks/create-notebook.md Co-authored-by: kelseiv <47797004+kelseiv@users.noreply.github.com> * Update content/influxdb/v2.1/notebooks/create-notebook.md Co-authored-by: kelseiv <47797004+kelseiv@users.noreply.github.com> * Update content/influxdb/v2.1/notebooks/create-notebook.md Co-authored-by: kelseiv <47797004+kelseiv@users.noreply.github.com> * Update content/influxdb/v2.1/notebooks/create-notebook.md Co-authored-by: kelseiv <47797004+kelseiv@users.noreply.github.com> * Update content/influxdb/v2.1/notebooks/create-notebook.md Co-authored-by: kelseiv <47797004+kelseiv@users.noreply.github.com> * Update content/influxdb/v2.1/notebooks/overview.md Co-authored-by: kelseiv <47797004+kelseiv@users.noreply.github.com> * Update content/influxdb/v2.1/notebooks/overview.md Co-authored-by: kelseiv <47797004+kelseiv@users.noreply.github.com> * Update content/influxdb/v2.1/notebooks/overview.md Co-authored-by: kelseiv <47797004+kelseiv@users.noreply.github.com> * Update content/influxdb/v2.1/notebooks/overview.md Co-authored-by: kelseiv <47797004+kelseiv@users.noreply.github.com> * Update content/influxdb/v2.1/notebooks/overview.md Co-authored-by: kelseiv <47797004+kelseiv@users.noreply.github.com> * Update content/influxdb/v2.1/notebooks/overview.md Co-authored-by: kelseiv <47797004+kelseiv@users.noreply.github.com> * Update content/influxdb/v2.1/notebooks/overview.md Co-authored-by: kelseiv <47797004+kelseiv@users.noreply.github.com> * Update content/influxdb/v2.1/notebooks/create-notebook.md Co-authored-by: kelseiv <47797004+kelseiv@users.noreply.github.com> * Update content/influxdb/v2.1/notebooks/create-notebook.md Co-authored-by: kelseiv <47797004+kelseiv@users.noreply.github.com> * Update content/influxdb/v2.1/notebooks/create-notebook.md Co-authored-by: kelseiv <47797004+kelseiv@users.noreply.github.com> * Update content/influxdb/v2.1/notebooks/create-notebook.md Co-authored-by: kelseiv <47797004+kelseiv@users.noreply.github.com> * Update content/influxdb/v2.1/notebooks/create-notebook.md Co-authored-by: kelseiv <47797004+kelseiv@users.noreply.github.com> * Update content/influxdb/v2.1/notebooks/create-notebook.md Co-authored-by: kelseiv <47797004+kelseiv@users.noreply.github.com> * Update content/influxdb/v2.1/notebooks/create-notebook.md Co-authored-by: kelseiv <47797004+kelseiv@users.noreply.github.com> * Update content/influxdb/v2.1/notebooks/create-notebook.md Co-authored-by: kelseiv <47797004+kelseiv@users.noreply.github.com> * Update content/influxdb/v2.1/notebooks/create-notebook.md Co-authored-by: kelseiv <47797004+kelseiv@users.noreply.github.com> * Add PR feedback Co-authored-by: Scott Anderson <sanderson@users.noreply.github.com> Co-authored-by: kelseiv <47797004+kelseiv@users.noreply.github.com> * Fix link in bearer auth sytax doc (#3298) * Updated CLI docs content and added version metadata (#3285) * added metadata styles and data to cli docs * added missing ui-disabled influxd config flag * added updated versions to influx cli metadata * added metadata to all cloud influx cli docs * updated influx ping in cloud to have oss only tag * Update influxd documentation for 2.1 (#3302) * update and dynamically generate links to influxd flags (#3288) * remove 2.1 config options from 2.0 * New influxd commands (#3291) * added basic influxd recovery commands * added influxd recover commands, WIP for other influxd inspect commands * updated all influxd inspect commands * Apply suggestions from code review Co-authored-by: kelseiv <47797004+kelseiv@users.noreply.github.com> * updated influxd docs to address PR feedback Co-authored-by: kelseiv <47797004+kelseiv@users.noreply.github.com> Co-authored-by: kelseiv <47797004+kelseiv@users.noreply.github.com> * Add static legend to band and graph visualizations (#3315) * update band vis to include static legend * upd graph and graph-single-stat w static legend * update 2.1 links * update to latest Flux links * fix Flux links * Influxdb 2.1 release notes (#3279) * draft release notes * latest RN changes * test * revert * for review purposes * incorporate changes from new changelog * add note about new metadata included in CLI docs * edit * more edits * add overview features list * tweak verbiage about Telegraf support * Update content/influxdb/v2.1/reference/release-notes/influxdb.md Co-authored-by: Scott Anderson <sanderson@users.noreply.github.com> * Update content/influxdb/v2.1/reference/release-notes/influxdb.md Co-authored-by: Scott Anderson <sanderson@users.noreply.github.com> * Update content/influxdb/v2.1/reference/release-notes/influxdb.md Co-authored-by: Scott Anderson <sanderson@users.noreply.github.com> * Update content/influxdb/v2.1/reference/release-notes/influxdb.md Co-authored-by: Scott Anderson <sanderson@users.noreply.github.com> * Update content/influxdb/v2.1/reference/release-notes/influxdb.md Co-authored-by: Scott Anderson <sanderson@users.noreply.github.com> * Update content/influxdb/v2.1/reference/release-notes/influxdb.md Co-authored-by: Scott Anderson <sanderson@users.noreply.github.com> * Update content/influxdb/v2.1/reference/release-notes/influxdb.md Co-authored-by: Scott Anderson <sanderson@users.noreply.github.com> * Update content/influxdb/v2.1/reference/release-notes/influxdb.md Co-authored-by: Scott Anderson <sanderson@users.noreply.github.com> * Update content/influxdb/v2.1/reference/release-notes/influxdb.md Co-authored-by: Scott Anderson <sanderson@users.noreply.github.com> * Update content/influxdb/v2.1/reference/release-notes/influxdb.md Co-authored-by: Scott Anderson <sanderson@users.noreply.github.com> * Update content/influxdb/v2.1/reference/release-notes/influxdb.md Co-authored-by: Scott Anderson <sanderson@users.noreply.github.com> * add link * add edits from Scott, Dan, and Will * edits from dan * highlight and distinguish CLI separation changes * add links to new API endpoints * formatting upd * edits for secrets * mv Flux location support after rsv merge conflicts * edits from Tim * update influxql link * rmv SLQ metastore link * minor updates to 2.1 release notes * prep * Update content/influxdb/v2.1/reference/release-notes/influxdb.md Co-authored-by: Greg <2653109+glinton@users.noreply.github.com> Co-authored-by: Scott Anderson <sanderson@users.noreply.github.com> Co-authored-by: Scott Anderson <scott@influxdata.com> Co-authored-by: Greg <2653109+glinton@users.noreply.github.com> * add new Telegraf plugins to release notes * edit from Will * 2.1 upgrade and downgrade instructions (#3332) * influxd downgrade command, add upgrade instructions, closes #3331 * Apply suggestions from code review Co-authored-by: kelseiv <47797004+kelseiv@users.noreply.github.com> * Apply suggestions from code review Co-authored-by: Daniel Moran <danxmoran@gmail.com> * udpated downgrade docs to address PR feedback * remove references to localhost:1313 Co-authored-by: kelseiv <47797004+kelseiv@users.noreply.github.com> Co-authored-by: Daniel Moran <danxmoran@gmail.com> * updated flux version in release notes, added other new items, closes #3338 (#3344) * Chore/update oss api (#3341) * Standardize the term "key-value" (#3283) * s|key/value|key-value * Use en dash in prefix to open compound "time series" * CLI 2.2 (#3269) * add -b shorthand to influx delete * add cli 2.2 release notes * add example for all-access token * edits * updates to influx auth create * edits for operator token * remove inaccurate env var * Update influx-cli.md * Update influx-cli.md * make capitalization consistent with other docs * make headers parallel * Update content/influxdb/cloud/reference/release-notes/influx-cli.md Co-authored-by: Scott Anderson <sanderson@users.noreply.github.com> * Update content/influxdb/cloud/reference/release-notes/influx-cli.md Co-authored-by: Scott Anderson <sanderson@users.noreply.github.com> * Update content/influxdb/cloud/reference/release-notes/influx-cli.md Co-authored-by: Scott Anderson <sanderson@users.noreply.github.com> * edits from Scott and Dan * Update content/influxdb/v2.0/reference/cli/influx/auth/create.md Co-authored-by: Scott Anderson <sanderson@users.noreply.github.com> * Update content/influxdb/v2.0/reference/cli/influx/auth/create.md Co-authored-by: Daniel Moran <danxmoran@gmail.com> * Update content/influxdb/v2.0/reference/cli/influx/auth/create.md Co-authored-by: Daniel Moran <danxmoran@gmail.com> * edits to CLI * add oss-only shortcode and fix formatting * format updates * fix links * add oss-only inline * fix list * Update content/influxdb/v2.0/security/tokens/create-token.md Co-authored-by: Scott Anderson <sanderson@users.noreply.github.com> * Update content/influxdb/v2.0/security/tokens/create-token.md Co-authored-by: Scott Anderson <sanderson@users.noreply.github.com> * Update content/influxdb/v2.0/security/tokens/create-token.md Co-authored-by: Scott Anderson <sanderson@users.noreply.github.com> * edits from Dan * emphasize recommendation * edit from Dan re limits and page size * edit f Sam * update release date * remove vague description * Update content/influxdb/cloud/reference/release-notes/influx-cli.md Co-authored-by: Scott Anderson <sanderson@users.noreply.github.com> * Update content/influxdb/v2.0/reference/cli/influx/auth/create.md Co-authored-by: Scott Anderson <sanderson@users.noreply.github.com> * Update content/influxdb/v2.0/reference/cli/influx/auth/create.md Co-authored-by: Scott Anderson <sanderson@users.noreply.github.com> * Update content/influxdb/cloud/reference/release-notes/influx-cli.md Co-authored-by: Scott Anderson <sanderson@users.noreply.github.com> * Update content/influxdb/cloud/reference/release-notes/influx-cli.md Co-authored-by: Scott Anderson <sanderson@users.noreply.github.com> * edits from Scott Co-authored-by: Scott Anderson <sanderson@users.noreply.github.com> Co-authored-by: Daniel Moran <danxmoran@gmail.com> * add cloud updates in Sept (#3210) * Fix numbering in AWS install doc (#3293) Closes #3292 * Document new API Invocable Scripts feature (was named-functions) (#3282) * feat: add api-guides/guides and guides/api-invocable-scripts for the API-invocable scripts (managed functions) feature (##2547, #2233). * feat: document API-invocable scripts. Add example for creating and invoking a script with POST. Unable to make GET work with query parameters. * feat: moved API-invocable scripts under api-guide. Remove guides directory. Add docs for list and find. Add example for list. Add shortcuts and glossary links. Verified with team-compute that GET /invoke and python are not supported yet. * feat: rename example function for simplicity since there's no GET for now. * feat: add find_and_update example (#2547). * feat: add update example. Clarify, expand invoke example. Add links. (#2547) * Update content/influxdb/cloud/api-guide/api-invocable-scripts/_index.md Co-authored-by: Scott Anderson <sanderson@users.noreply.github.com> * fix: remove accidental commit of generated redoc-static.html * feat: manual update to cloud swagger. Merges meta, auth, tags, and x-tagGroups from src/cloud.yml to aggregate contracts/ref/cloud.yml. * fix: replace /functions with /scripts * feat: get swaggers from contracts/ref. Still requires copy-paste of info, tags, and auth from contracts/cloud.yml and contracts/oss.yml * feat: invocable scripts (#2547) * Update content/influxdb/cloud/api-guide/api-invocable-scripts/_index.md Co-authored-by: pierwill <19642016+pierwill@users.noreply.github.com> * feat: new section for params (#2547). * fix: swagger server url (#2547) * Update content/influxdb/cloud/api-guide/api-invocable-scripts/_index.md Co-authored-by: Scott Anderson <sanderson@users.noreply.github.com> * feat: remove jq and function where there's no clear need. Co-authored-by: pierwill <19642016+pierwill@users.noreply.github.com> * fix: add Invocable Scripts tag description. (#3296) * Fix api invocable (#3299) * fix: scripts api path. * fix: bad comma * Fix api invocable (#3306) * fix: scripts api path. * fix: bad comma * feat: add invocable scripts example for sending multiple parameter values. * fix: endpoint text. (#3308) * Fix api invocable (#3310) * fix: measurement -> point * fix: cloud API ref. Remove private paths. Patch description and orgID params into ScriptCreateRequest. * updated token naming and other typos, closes influxdata/DAR#244 (#3309) * Flux 0.136 (#3311) * Flux 0.136.0 release notes * Update pagerduty package for flux 0.136.0 (#3303) * Add Flux ServiceNow package (#3304) * added Flux servicenow package * Apply suggestions from code review * Enterprise dar updates (#3313) * removed references to web server in enteprise cluster docs, closes influxdata/DAR#245 * updated enterprise upgrade instructions, closes influxdata/DAR#243 * Apply suggestions from code review Co-authored-by: pierwill <19642016+pierwill@users.noreply.github.com> Co-authored-by: pierwill <19642016+pierwill@users.noreply.github.com> * fix: mjs example path (#3305) (#3316) * 3240 fix nodejs alias (#3317) * fix: mjs example path (#3305) * fix: add alias to node.js client library (#3240) * Edit description for amd_rocm_smi Telegraf plugin (#3186) * Edit description for amd_rocm_smi Telegraf plugin Edit name and description for amd_rocm_smi Telegraf plugin. Not sure if this is the only location that it needs to be udpated. * cpl minor updates Co-authored-by: Kelly <kelly@influxdata.com> * remove influxql support from v2 api, closes influxdata/DAR#246 (#3326) * Telegraf 1.20.3 (#3328) * Telegraf 1.20.3 * Update content/telegraf/v1.20/about_the_project/release-notes-changelog.md Co-authored-by: kelseiv <47797004+kelseiv@users.noreply.github.com> * Update content/telegraf/v1.20/about_the_project/release-notes-changelog.md Co-authored-by: kelseiv <47797004+kelseiv@users.noreply.github.com> * Update content/telegraf/v1.20/about_the_project/release-notes-changelog.md Co-authored-by: kelseiv <47797004+kelseiv@users.noreply.github.com> * Address PR feedback Co-authored-by: kelseiv <47797004+kelseiv@users.noreply.github.com> * docs: update telegraf configuration.md (#3300) * docs: update telegraf configuration.md * add note about rate limits * fix: correct debian/ubuntu install instructions (#3312) * fix: correct debian/ubuntu install instructions This consolidates the Debian and Ubutnu install instructions into one section. The install instructions can be the same for both as they use the same package manager (i.e. apt). This removes the use of the now deprecated pipe to apt-key. This removes references to starting the service, as the service starts on install and does not require an extra step. Also all supported operating systems are using systemd at this point so no need to call that out seperatly. Removes an extra 'sudo' in deb instructions. * missing word * added flux 0.137.0 release notes, added vertica sql support docs (#3318) * Update _index.md (#3195) broken link for external plugin repo * Addresses #3284 (#3334) * Updates to Flux `to()` (#3260) Closes https://github.com/influxdata/DAR/issues/236. Closes #3258. Co-authored-by: Scott Anderson <sanderson@users.noreply.github.com> * Fix shim and other link (#3336) * Update Kapacitor security docs (#3325) Co-authored-by: kelseiv <47797004+kelseiv@users.noreply.github.com> * Include TLS setup in Enterprise post-install steps (#3271) - Rename TLS guide file. - Use term "TLS" in title and introduction of TLS guide. Closes #3270. Co-authored-by: kelseiv <47797004+kelseiv@users.noreply.github.com> * Flux 0.138.0 and 0.139.0 (#3335) * added release notes for flux 0.138 and 0.139 and related updates * updated spec with related implementation issue * Apply suggestions from code review Co-authored-by: kelseiv <47797004+kelseiv@users.noreply.github.com> * updated to address PR feedback, added related links to int, uint, and bitwise docs Co-authored-by: kelseiv <47797004+kelseiv@users.noreply.github.com> * hotfix load data link * add aliases and fix load data link in oss * API Ref docs processing (#3337) * chore: API Reference Docs custom processing. Pulls contracts/ref files and applies custom content (tags, x-tagGroups, securitySchemes, info) before writing results to cloud/ref.yml and v2.0/ref.yml. Rename source files from swagger.yml to ref.yml to avoid confusion and in case we need to bundle additional specs in the future. Add an OpenAPI CLI docs-plugin with content and decorators. * chore: update api-docs/README.md * fix: add strip-version-prefix to remove /api/v2 added incorrectly to some paths during contract generation - also fixed in openapi repo so future contracts won't need this decorator. Fix server urls. Cleanup. * chore: update cloud contract. * chore: update oss API contract. * Apply suggestions from code review Co-authored-by: kelseiv <47797004+kelseiv@users.noreply.github.com> * Apply suggestions from code review Co-authored-by: pierwill <19642016+pierwill@users.noreply.github.com> Co-authored-by: kelseiv <47797004+kelseiv@users.noreply.github.com> Co-authored-by: Scott Anderson <sanderson@users.noreply.github.com> Co-authored-by: Daniel Moran <danxmoran@gmail.com> Co-authored-by: Samantha Wang <32681364+sjwang90@users.noreply.github.com> Co-authored-by: Kelly <kelly@influxdata.com> Co-authored-by: noramullen1 <42354779+noramullen1@users.noreply.github.com> Co-authored-by: Joshua Powers <powersj@influxdata.com> Co-authored-by: bgilmore-iot <85192039+bgilmore-iot@users.noreply.github.com> * edit from Tim: update v2.0 to v2.1 in API section * fix 2.1 links * Fix/api ref 2.1 (#3363) * fix: cloud-specific v1compat auth examples. * fix: openapi. Disabled securityScheme replacement. Cleaned up placeholders. Added links. * fix: update API auth descriptions. add API ref v2.1. Update links in openapi content. * fix: updates URLs to v2.1 in API ref docs * add verify-tsm to 2.1 release notes * Clockface updates for 2.1 and Cloud (#3364) * versioned old icomoon font * updated all existing icons with versioned style * Revert "updated all existing icons with versioned style" This reverts commit 79b6cdf539542a5420ab3988b7ada9a0db497a23. * versioned icon shortcode * update icons and new styles for clockface v3 * updated nav-icon shortcode and styles * updated account nav icon styles * misc updates * general style updates * updated oss versions on the homepage * fixed tick card colors on homepage Co-authored-by: Kelly <kelly@influxdata.com> Co-authored-by: pierwill <19642016+pierwill@users.noreply.github.com> Co-authored-by: kelseiv <47797004+kelseiv@users.noreply.github.com> Co-authored-by: noramullen1 <42354779+noramullen1@users.noreply.github.com> Co-authored-by: Greg <2653109+glinton@users.noreply.github.com> Co-authored-by: Daniel Moran <danxmoran@gmail.com> Co-authored-by: Jason Stirnaman <jstirnaman@influxdata.com> Co-authored-by: Samantha Wang <32681364+sjwang90@users.noreply.github.com> Co-authored-by: Joshua Powers <powersj@influxdata.com> Co-authored-by: bgilmore-iot <85192039+bgilmore-iot@users.noreply.github.com>
2021-11-08 17:48:11 +00:00
```
{{% truncate %}}
###### duplicate() output tables
```
Table: keys: [_start, _stop, _field, _measurement]
_start:time _stop:time _field:string _measurement:string _time:time _value:float
------------------------------ ------------------------------ ---------------------- ---------------------- ------------------------------ ----------------------------
2018-11-03T17:50:00.000000000Z 2018-11-03T17:51:00.000000000Z used_percent mem 2018-11-03T17:51:00.000000000Z 65.88549613952637
Table: keys: [_start, _stop, _field, _measurement]
_start:time _stop:time _field:string _measurement:string _time:time _value:float
------------------------------ ------------------------------ ---------------------- ---------------------- ------------------------------ ----------------------------
2018-11-03T17:51:00.000000000Z 2018-11-03T17:52:00.000000000Z used_percent mem 2018-11-03T17:52:00.000000000Z 65.50651391347249
Table: keys: [_start, _stop, _field, _measurement]
_start:time _stop:time _field:string _measurement:string _time:time _value:float
------------------------------ ------------------------------ ---------------------- ---------------------- ------------------------------ ----------------------------
2018-11-03T17:52:00.000000000Z 2018-11-03T17:53:00.000000000Z used_percent mem 2018-11-03T17:53:00.000000000Z 65.30719598134358
Table: keys: [_start, _stop, _field, _measurement]
_start:time _stop:time _field:string _measurement:string _time:time _value:float
------------------------------ ------------------------------ ---------------------- ---------------------- ------------------------------ ----------------------------
2018-11-03T17:53:00.000000000Z 2018-11-03T17:54:00.000000000Z used_percent mem 2018-11-03T17:54:00.000000000Z 64.39330975214641
Table: keys: [_start, _stop, _field, _measurement]
_start:time _stop:time _field:string _measurement:string _time:time _value:float
------------------------------ ------------------------------ ---------------------- ---------------------- ------------------------------ ----------------------------
2018-11-03T17:54:00.000000000Z 2018-11-03T17:55:00.000000000Z used_percent mem 2018-11-03T17:55:00.000000000Z 64.49386278788249
Table: keys: [_start, _stop, _field, _measurement]
_start:time _stop:time _field:string _measurement:string _time:time _value:float
------------------------------ ------------------------------ ---------------------- ---------------------- ------------------------------ ----------------------------
2018-11-03T17:55:00.000000000Z 2018-11-03T17:55:00.000000000Z used_percent mem 2018-11-03T17:55:00.000000000Z 64.49816226959229
```
{{% /truncate %}}
## "Unwindow" aggregate tables
Keeping aggregate values in separate tables generally isn't the format in which you want your data.
Use the `window()` function to "unwindow" your data into a single infinite (`inf`) window.
```js
dataSet
|> window(every: 1m)
|> mean()
|> duplicate(column: "_stop", as: "_time")
|> window(every: inf)
InfluxDB 2.1 (#3367) * base changes for influxdb 2.1 * remove duplicates in draft * draft categories * add categories * Document wildcards in SHOW MEASUREMENTS ON queries (#3273) * InfluxQL: document wildcards in SHOW MEASUREMENTS ON queries This applies to InfluxDB 2.1. See #3201 * latest notes * Update `influxd --store` values (#3272) * Use Unix ~ alias * Add sqlite path to file layout doc * add sqlite to filesystem diagrams * draft 2.1 release notes +questions * revert to check RNs changes in separately * latest release notes * Restructure installation docs for separate CLI package (#3280) * influxdb and cli install revamp * reorganized CLI install instructions * remove unnecessary short-code parameters * updated docs to address PR feedback * Apply suggestions from code review Co-authored-by: pierwill <19642016+pierwill@users.noreply.github.com> Co-authored-by: kelseiv <47797004+kelseiv@users.noreply.github.com> * Apply suggestions from code review * update linux install instructions Co-authored-by: pierwill <19642016+pierwill@users.noreply.github.com> Co-authored-by: kelseiv <47797004+kelseiv@users.noreply.github.com> * release note updates * updates * add support for annotations in OSS 2.1 (#3286) * Document support for bearer auth sytax (#3297) * 2.1 oss notebooks (#3281) * Move notebooks to OSS (addresses #2951 ) * Update content/influxdb/v2.1/notebooks/clean-data.md Co-authored-by: Scott Anderson <sanderson@users.noreply.github.com> * Update content/influxdb/v2.1/notebooks/create-notebook.md Co-authored-by: Scott Anderson <sanderson@users.noreply.github.com> * Update content/influxdb/v2.1/notebooks/manage-notebooks.md Co-authored-by: Scott Anderson <sanderson@users.noreply.github.com> * Update content/influxdb/v2.1/notebooks/overview.md Co-authored-by: Scott Anderson <sanderson@users.noreply.github.com> * Update content/influxdb/v2.1/notebooks/_index.md Co-authored-by: Scott Anderson <sanderson@users.noreply.github.com> * Update content/influxdb/v2.1/notebooks/troubleshoot-notebooks.md Co-authored-by: Scott Anderson <sanderson@users.noreply.github.com> * Update content/influxdb/v2.1/notebooks/clean-data.md Co-authored-by: Scott Anderson <sanderson@users.noreply.github.com> * Update content/influxdb/v2.1/notebooks/clean-data.md Co-authored-by: Scott Anderson <sanderson@users.noreply.github.com> * Update content/influxdb/v2.1/notebooks/clean-data.md Co-authored-by: Scott Anderson <sanderson@users.noreply.github.com> * Update content/influxdb/v2.1/notebooks/create-notebook.md Co-authored-by: Scott Anderson <sanderson@users.noreply.github.com> * Update content/influxdb/v2.1/notebooks/create-notebook.md Co-authored-by: Scott Anderson <sanderson@users.noreply.github.com> * Update content/influxdb/v2.1/notebooks/create-notebook.md Co-authored-by: kelseiv <47797004+kelseiv@users.noreply.github.com> * Update content/influxdb/v2.1/notebooks/create-notebook.md Co-authored-by: kelseiv <47797004+kelseiv@users.noreply.github.com> * Update content/influxdb/v2.1/notebooks/create-notebook.md Co-authored-by: kelseiv <47797004+kelseiv@users.noreply.github.com> * Update content/influxdb/v2.1/notebooks/create-notebook.md Co-authored-by: kelseiv <47797004+kelseiv@users.noreply.github.com> * Update content/influxdb/v2.1/notebooks/create-notebook.md Co-authored-by: kelseiv <47797004+kelseiv@users.noreply.github.com> * Update content/influxdb/v2.1/notebooks/create-notebook.md Co-authored-by: kelseiv <47797004+kelseiv@users.noreply.github.com> * Update content/influxdb/v2.1/notebooks/create-notebook.md Co-authored-by: kelseiv <47797004+kelseiv@users.noreply.github.com> * Update content/influxdb/v2.1/notebooks/create-notebook.md Co-authored-by: kelseiv <47797004+kelseiv@users.noreply.github.com> * Update content/influxdb/v2.1/notebooks/create-notebook.md Co-authored-by: kelseiv <47797004+kelseiv@users.noreply.github.com> * Update content/influxdb/v2.1/notebooks/create-notebook.md Co-authored-by: kelseiv <47797004+kelseiv@users.noreply.github.com> * Update content/influxdb/v2.1/notebooks/create-notebook.md Co-authored-by: kelseiv <47797004+kelseiv@users.noreply.github.com> * Update content/influxdb/v2.1/notebooks/create-notebook.md Co-authored-by: kelseiv <47797004+kelseiv@users.noreply.github.com> * Update content/influxdb/v2.1/notebooks/create-notebook.md Co-authored-by: kelseiv <47797004+kelseiv@users.noreply.github.com> * Update content/influxdb/v2.1/notebooks/overview.md Co-authored-by: kelseiv <47797004+kelseiv@users.noreply.github.com> * Update content/influxdb/v2.1/notebooks/overview.md Co-authored-by: kelseiv <47797004+kelseiv@users.noreply.github.com> * Update content/influxdb/v2.1/notebooks/overview.md Co-authored-by: kelseiv <47797004+kelseiv@users.noreply.github.com> * Update content/influxdb/v2.1/notebooks/overview.md Co-authored-by: kelseiv <47797004+kelseiv@users.noreply.github.com> * Update content/influxdb/v2.1/notebooks/overview.md Co-authored-by: kelseiv <47797004+kelseiv@users.noreply.github.com> * Update content/influxdb/v2.1/notebooks/overview.md Co-authored-by: kelseiv <47797004+kelseiv@users.noreply.github.com> * Update content/influxdb/v2.1/notebooks/overview.md Co-authored-by: kelseiv <47797004+kelseiv@users.noreply.github.com> * Update content/influxdb/v2.1/notebooks/create-notebook.md Co-authored-by: kelseiv <47797004+kelseiv@users.noreply.github.com> * Update content/influxdb/v2.1/notebooks/create-notebook.md Co-authored-by: kelseiv <47797004+kelseiv@users.noreply.github.com> * Update content/influxdb/v2.1/notebooks/create-notebook.md Co-authored-by: kelseiv <47797004+kelseiv@users.noreply.github.com> * Update content/influxdb/v2.1/notebooks/create-notebook.md Co-authored-by: kelseiv <47797004+kelseiv@users.noreply.github.com> * Update content/influxdb/v2.1/notebooks/create-notebook.md Co-authored-by: kelseiv <47797004+kelseiv@users.noreply.github.com> * Update content/influxdb/v2.1/notebooks/create-notebook.md Co-authored-by: kelseiv <47797004+kelseiv@users.noreply.github.com> * Update content/influxdb/v2.1/notebooks/create-notebook.md Co-authored-by: kelseiv <47797004+kelseiv@users.noreply.github.com> * Update content/influxdb/v2.1/notebooks/create-notebook.md Co-authored-by: kelseiv <47797004+kelseiv@users.noreply.github.com> * Update content/influxdb/v2.1/notebooks/create-notebook.md Co-authored-by: kelseiv <47797004+kelseiv@users.noreply.github.com> * Add PR feedback Co-authored-by: Scott Anderson <sanderson@users.noreply.github.com> Co-authored-by: kelseiv <47797004+kelseiv@users.noreply.github.com> * Fix link in bearer auth sytax doc (#3298) * Updated CLI docs content and added version metadata (#3285) * added metadata styles and data to cli docs * added missing ui-disabled influxd config flag * added updated versions to influx cli metadata * added metadata to all cloud influx cli docs * updated influx ping in cloud to have oss only tag * Update influxd documentation for 2.1 (#3302) * update and dynamically generate links to influxd flags (#3288) * remove 2.1 config options from 2.0 * New influxd commands (#3291) * added basic influxd recovery commands * added influxd recover commands, WIP for other influxd inspect commands * updated all influxd inspect commands * Apply suggestions from code review Co-authored-by: kelseiv <47797004+kelseiv@users.noreply.github.com> * updated influxd docs to address PR feedback Co-authored-by: kelseiv <47797004+kelseiv@users.noreply.github.com> Co-authored-by: kelseiv <47797004+kelseiv@users.noreply.github.com> * Add static legend to band and graph visualizations (#3315) * update band vis to include static legend * upd graph and graph-single-stat w static legend * update 2.1 links * update to latest Flux links * fix Flux links * Influxdb 2.1 release notes (#3279) * draft release notes * latest RN changes * test * revert * for review purposes * incorporate changes from new changelog * add note about new metadata included in CLI docs * edit * more edits * add overview features list * tweak verbiage about Telegraf support * Update content/influxdb/v2.1/reference/release-notes/influxdb.md Co-authored-by: Scott Anderson <sanderson@users.noreply.github.com> * Update content/influxdb/v2.1/reference/release-notes/influxdb.md Co-authored-by: Scott Anderson <sanderson@users.noreply.github.com> * Update content/influxdb/v2.1/reference/release-notes/influxdb.md Co-authored-by: Scott Anderson <sanderson@users.noreply.github.com> * Update content/influxdb/v2.1/reference/release-notes/influxdb.md Co-authored-by: Scott Anderson <sanderson@users.noreply.github.com> * Update content/influxdb/v2.1/reference/release-notes/influxdb.md Co-authored-by: Scott Anderson <sanderson@users.noreply.github.com> * Update content/influxdb/v2.1/reference/release-notes/influxdb.md Co-authored-by: Scott Anderson <sanderson@users.noreply.github.com> * Update content/influxdb/v2.1/reference/release-notes/influxdb.md Co-authored-by: Scott Anderson <sanderson@users.noreply.github.com> * Update content/influxdb/v2.1/reference/release-notes/influxdb.md Co-authored-by: Scott Anderson <sanderson@users.noreply.github.com> * Update content/influxdb/v2.1/reference/release-notes/influxdb.md Co-authored-by: Scott Anderson <sanderson@users.noreply.github.com> * Update content/influxdb/v2.1/reference/release-notes/influxdb.md Co-authored-by: Scott Anderson <sanderson@users.noreply.github.com> * Update content/influxdb/v2.1/reference/release-notes/influxdb.md Co-authored-by: Scott Anderson <sanderson@users.noreply.github.com> * add link * add edits from Scott, Dan, and Will * edits from dan * highlight and distinguish CLI separation changes * add links to new API endpoints * formatting upd * edits for secrets * mv Flux location support after rsv merge conflicts * edits from Tim * update influxql link * rmv SLQ metastore link * minor updates to 2.1 release notes * prep * Update content/influxdb/v2.1/reference/release-notes/influxdb.md Co-authored-by: Greg <2653109+glinton@users.noreply.github.com> Co-authored-by: Scott Anderson <sanderson@users.noreply.github.com> Co-authored-by: Scott Anderson <scott@influxdata.com> Co-authored-by: Greg <2653109+glinton@users.noreply.github.com> * add new Telegraf plugins to release notes * edit from Will * 2.1 upgrade and downgrade instructions (#3332) * influxd downgrade command, add upgrade instructions, closes #3331 * Apply suggestions from code review Co-authored-by: kelseiv <47797004+kelseiv@users.noreply.github.com> * Apply suggestions from code review Co-authored-by: Daniel Moran <danxmoran@gmail.com> * udpated downgrade docs to address PR feedback * remove references to localhost:1313 Co-authored-by: kelseiv <47797004+kelseiv@users.noreply.github.com> Co-authored-by: Daniel Moran <danxmoran@gmail.com> * updated flux version in release notes, added other new items, closes #3338 (#3344) * Chore/update oss api (#3341) * Standardize the term "key-value" (#3283) * s|key/value|key-value * Use en dash in prefix to open compound "time series" * CLI 2.2 (#3269) * add -b shorthand to influx delete * add cli 2.2 release notes * add example for all-access token * edits * updates to influx auth create * edits for operator token * remove inaccurate env var * Update influx-cli.md * Update influx-cli.md * make capitalization consistent with other docs * make headers parallel * Update content/influxdb/cloud/reference/release-notes/influx-cli.md Co-authored-by: Scott Anderson <sanderson@users.noreply.github.com> * Update content/influxdb/cloud/reference/release-notes/influx-cli.md Co-authored-by: Scott Anderson <sanderson@users.noreply.github.com> * Update content/influxdb/cloud/reference/release-notes/influx-cli.md Co-authored-by: Scott Anderson <sanderson@users.noreply.github.com> * edits from Scott and Dan * Update content/influxdb/v2.0/reference/cli/influx/auth/create.md Co-authored-by: Scott Anderson <sanderson@users.noreply.github.com> * Update content/influxdb/v2.0/reference/cli/influx/auth/create.md Co-authored-by: Daniel Moran <danxmoran@gmail.com> * Update content/influxdb/v2.0/reference/cli/influx/auth/create.md Co-authored-by: Daniel Moran <danxmoran@gmail.com> * edits to CLI * add oss-only shortcode and fix formatting * format updates * fix links * add oss-only inline * fix list * Update content/influxdb/v2.0/security/tokens/create-token.md Co-authored-by: Scott Anderson <sanderson@users.noreply.github.com> * Update content/influxdb/v2.0/security/tokens/create-token.md Co-authored-by: Scott Anderson <sanderson@users.noreply.github.com> * Update content/influxdb/v2.0/security/tokens/create-token.md Co-authored-by: Scott Anderson <sanderson@users.noreply.github.com> * edits from Dan * emphasize recommendation * edit from Dan re limits and page size * edit f Sam * update release date * remove vague description * Update content/influxdb/cloud/reference/release-notes/influx-cli.md Co-authored-by: Scott Anderson <sanderson@users.noreply.github.com> * Update content/influxdb/v2.0/reference/cli/influx/auth/create.md Co-authored-by: Scott Anderson <sanderson@users.noreply.github.com> * Update content/influxdb/v2.0/reference/cli/influx/auth/create.md Co-authored-by: Scott Anderson <sanderson@users.noreply.github.com> * Update content/influxdb/cloud/reference/release-notes/influx-cli.md Co-authored-by: Scott Anderson <sanderson@users.noreply.github.com> * Update content/influxdb/cloud/reference/release-notes/influx-cli.md Co-authored-by: Scott Anderson <sanderson@users.noreply.github.com> * edits from Scott Co-authored-by: Scott Anderson <sanderson@users.noreply.github.com> Co-authored-by: Daniel Moran <danxmoran@gmail.com> * add cloud updates in Sept (#3210) * Fix numbering in AWS install doc (#3293) Closes #3292 * Document new API Invocable Scripts feature (was named-functions) (#3282) * feat: add api-guides/guides and guides/api-invocable-scripts for the API-invocable scripts (managed functions) feature (##2547, #2233). * feat: document API-invocable scripts. Add example for creating and invoking a script with POST. Unable to make GET work with query parameters. * feat: moved API-invocable scripts under api-guide. Remove guides directory. Add docs for list and find. Add example for list. Add shortcuts and glossary links. Verified with team-compute that GET /invoke and python are not supported yet. * feat: rename example function for simplicity since there's no GET for now. * feat: add find_and_update example (#2547). * feat: add update example. Clarify, expand invoke example. Add links. (#2547) * Update content/influxdb/cloud/api-guide/api-invocable-scripts/_index.md Co-authored-by: Scott Anderson <sanderson@users.noreply.github.com> * fix: remove accidental commit of generated redoc-static.html * feat: manual update to cloud swagger. Merges meta, auth, tags, and x-tagGroups from src/cloud.yml to aggregate contracts/ref/cloud.yml. * fix: replace /functions with /scripts * feat: get swaggers from contracts/ref. Still requires copy-paste of info, tags, and auth from contracts/cloud.yml and contracts/oss.yml * feat: invocable scripts (#2547) * Update content/influxdb/cloud/api-guide/api-invocable-scripts/_index.md Co-authored-by: pierwill <19642016+pierwill@users.noreply.github.com> * feat: new section for params (#2547). * fix: swagger server url (#2547) * Update content/influxdb/cloud/api-guide/api-invocable-scripts/_index.md Co-authored-by: Scott Anderson <sanderson@users.noreply.github.com> * feat: remove jq and function where there's no clear need. Co-authored-by: pierwill <19642016+pierwill@users.noreply.github.com> * fix: add Invocable Scripts tag description. (#3296) * Fix api invocable (#3299) * fix: scripts api path. * fix: bad comma * Fix api invocable (#3306) * fix: scripts api path. * fix: bad comma * feat: add invocable scripts example for sending multiple parameter values. * fix: endpoint text. (#3308) * Fix api invocable (#3310) * fix: measurement -> point * fix: cloud API ref. Remove private paths. Patch description and orgID params into ScriptCreateRequest. * updated token naming and other typos, closes influxdata/DAR#244 (#3309) * Flux 0.136 (#3311) * Flux 0.136.0 release notes * Update pagerduty package for flux 0.136.0 (#3303) * Add Flux ServiceNow package (#3304) * added Flux servicenow package * Apply suggestions from code review * Enterprise dar updates (#3313) * removed references to web server in enteprise cluster docs, closes influxdata/DAR#245 * updated enterprise upgrade instructions, closes influxdata/DAR#243 * Apply suggestions from code review Co-authored-by: pierwill <19642016+pierwill@users.noreply.github.com> Co-authored-by: pierwill <19642016+pierwill@users.noreply.github.com> * fix: mjs example path (#3305) (#3316) * 3240 fix nodejs alias (#3317) * fix: mjs example path (#3305) * fix: add alias to node.js client library (#3240) * Edit description for amd_rocm_smi Telegraf plugin (#3186) * Edit description for amd_rocm_smi Telegraf plugin Edit name and description for amd_rocm_smi Telegraf plugin. Not sure if this is the only location that it needs to be udpated. * cpl minor updates Co-authored-by: Kelly <kelly@influxdata.com> * remove influxql support from v2 api, closes influxdata/DAR#246 (#3326) * Telegraf 1.20.3 (#3328) * Telegraf 1.20.3 * Update content/telegraf/v1.20/about_the_project/release-notes-changelog.md Co-authored-by: kelseiv <47797004+kelseiv@users.noreply.github.com> * Update content/telegraf/v1.20/about_the_project/release-notes-changelog.md Co-authored-by: kelseiv <47797004+kelseiv@users.noreply.github.com> * Update content/telegraf/v1.20/about_the_project/release-notes-changelog.md Co-authored-by: kelseiv <47797004+kelseiv@users.noreply.github.com> * Address PR feedback Co-authored-by: kelseiv <47797004+kelseiv@users.noreply.github.com> * docs: update telegraf configuration.md (#3300) * docs: update telegraf configuration.md * add note about rate limits * fix: correct debian/ubuntu install instructions (#3312) * fix: correct debian/ubuntu install instructions This consolidates the Debian and Ubutnu install instructions into one section. The install instructions can be the same for both as they use the same package manager (i.e. apt). This removes the use of the now deprecated pipe to apt-key. This removes references to starting the service, as the service starts on install and does not require an extra step. Also all supported operating systems are using systemd at this point so no need to call that out seperatly. Removes an extra 'sudo' in deb instructions. * missing word * added flux 0.137.0 release notes, added vertica sql support docs (#3318) * Update _index.md (#3195) broken link for external plugin repo * Addresses #3284 (#3334) * Updates to Flux `to()` (#3260) Closes https://github.com/influxdata/DAR/issues/236. Closes #3258. Co-authored-by: Scott Anderson <sanderson@users.noreply.github.com> * Fix shim and other link (#3336) * Update Kapacitor security docs (#3325) Co-authored-by: kelseiv <47797004+kelseiv@users.noreply.github.com> * Include TLS setup in Enterprise post-install steps (#3271) - Rename TLS guide file. - Use term "TLS" in title and introduction of TLS guide. Closes #3270. Co-authored-by: kelseiv <47797004+kelseiv@users.noreply.github.com> * Flux 0.138.0 and 0.139.0 (#3335) * added release notes for flux 0.138 and 0.139 and related updates * updated spec with related implementation issue * Apply suggestions from code review Co-authored-by: kelseiv <47797004+kelseiv@users.noreply.github.com> * updated to address PR feedback, added related links to int, uint, and bitwise docs Co-authored-by: kelseiv <47797004+kelseiv@users.noreply.github.com> * hotfix load data link * add aliases and fix load data link in oss * API Ref docs processing (#3337) * chore: API Reference Docs custom processing. Pulls contracts/ref files and applies custom content (tags, x-tagGroups, securitySchemes, info) before writing results to cloud/ref.yml and v2.0/ref.yml. Rename source files from swagger.yml to ref.yml to avoid confusion and in case we need to bundle additional specs in the future. Add an OpenAPI CLI docs-plugin with content and decorators. * chore: update api-docs/README.md * fix: add strip-version-prefix to remove /api/v2 added incorrectly to some paths during contract generation - also fixed in openapi repo so future contracts won't need this decorator. Fix server urls. Cleanup. * chore: update cloud contract. * chore: update oss API contract. * Apply suggestions from code review Co-authored-by: kelseiv <47797004+kelseiv@users.noreply.github.com> * Apply suggestions from code review Co-authored-by: pierwill <19642016+pierwill@users.noreply.github.com> Co-authored-by: kelseiv <47797004+kelseiv@users.noreply.github.com> Co-authored-by: Scott Anderson <sanderson@users.noreply.github.com> Co-authored-by: Daniel Moran <danxmoran@gmail.com> Co-authored-by: Samantha Wang <32681364+sjwang90@users.noreply.github.com> Co-authored-by: Kelly <kelly@influxdata.com> Co-authored-by: noramullen1 <42354779+noramullen1@users.noreply.github.com> Co-authored-by: Joshua Powers <powersj@influxdata.com> Co-authored-by: bgilmore-iot <85192039+bgilmore-iot@users.noreply.github.com> * edit from Tim: update v2.0 to v2.1 in API section * fix 2.1 links * Fix/api ref 2.1 (#3363) * fix: cloud-specific v1compat auth examples. * fix: openapi. Disabled securityScheme replacement. Cleaned up placeholders. Added links. * fix: update API auth descriptions. add API ref v2.1. Update links in openapi content. * fix: updates URLs to v2.1 in API ref docs * add verify-tsm to 2.1 release notes * Clockface updates for 2.1 and Cloud (#3364) * versioned old icomoon font * updated all existing icons with versioned style * Revert "updated all existing icons with versioned style" This reverts commit 79b6cdf539542a5420ab3988b7ada9a0db497a23. * versioned icon shortcode * update icons and new styles for clockface v3 * updated nav-icon shortcode and styles * updated account nav icon styles * misc updates * general style updates * updated oss versions on the homepage * fixed tick card colors on homepage Co-authored-by: Kelly <kelly@influxdata.com> Co-authored-by: pierwill <19642016+pierwill@users.noreply.github.com> Co-authored-by: kelseiv <47797004+kelseiv@users.noreply.github.com> Co-authored-by: noramullen1 <42354779+noramullen1@users.noreply.github.com> Co-authored-by: Greg <2653109+glinton@users.noreply.github.com> Co-authored-by: Daniel Moran <danxmoran@gmail.com> Co-authored-by: Jason Stirnaman <jstirnaman@influxdata.com> Co-authored-by: Samantha Wang <32681364+sjwang90@users.noreply.github.com> Co-authored-by: Joshua Powers <powersj@influxdata.com> Co-authored-by: bgilmore-iot <85192039+bgilmore-iot@users.noreply.github.com>
2021-11-08 17:48:11 +00:00
```
{{% note %}}
Windowing requires a `_time` column which is why it's necessary to
[recreate the `_time` column](#recreate-the-time-column) after an aggregation.
{{% /note %}}
###### Unwindowed output table
```
Table: keys: [_start, _stop, _field, _measurement]
_start:time _stop:time _field:string _measurement:string _time:time _value:float
------------------------------ ------------------------------ ---------------------- ---------------------- ------------------------------ ----------------------------
2018-11-03T17:50:00.000000000Z 2018-11-03T17:55:00.000000000Z used_percent mem 2018-11-03T17:51:00.000000000Z 65.88549613952637
2018-11-03T17:50:00.000000000Z 2018-11-03T17:55:00.000000000Z used_percent mem 2018-11-03T17:52:00.000000000Z 65.50651391347249
2018-11-03T17:50:00.000000000Z 2018-11-03T17:55:00.000000000Z used_percent mem 2018-11-03T17:53:00.000000000Z 65.30719598134358
2018-11-03T17:50:00.000000000Z 2018-11-03T17:55:00.000000000Z used_percent mem 2018-11-03T17:54:00.000000000Z 64.39330975214641
2018-11-03T17:50:00.000000000Z 2018-11-03T17:55:00.000000000Z used_percent mem 2018-11-03T17:55:00.000000000Z 64.49386278788249
2018-11-03T17:50:00.000000000Z 2018-11-03T17:55:00.000000000Z used_percent mem 2018-11-03T17:55:00.000000000Z 64.49816226959229
```
With the aggregate values in a single table, data points in the visualization are connected.
![Unwindowed aggregate data](/img/flux/simple-unwindowed-data.png)
## Summing up
You have now created a Flux query that windows and aggregates data.
The data transformation process outlined in this guide should be used for all aggregation operations.
Flux also provides the [`aggregateWindow()` function](/{{< latest "flux" >}}/stdlib/universe/aggregatewindow)
which performs all these separate functions for you.
The following Flux query will return the same results:
###### aggregateWindow function
```js
dataSet
|> aggregateWindow(every: 1m, fn: mean)
InfluxDB 2.1 (#3367) * base changes for influxdb 2.1 * remove duplicates in draft * draft categories * add categories * Document wildcards in SHOW MEASUREMENTS ON queries (#3273) * InfluxQL: document wildcards in SHOW MEASUREMENTS ON queries This applies to InfluxDB 2.1. See #3201 * latest notes * Update `influxd --store` values (#3272) * Use Unix ~ alias * Add sqlite path to file layout doc * add sqlite to filesystem diagrams * draft 2.1 release notes +questions * revert to check RNs changes in separately * latest release notes * Restructure installation docs for separate CLI package (#3280) * influxdb and cli install revamp * reorganized CLI install instructions * remove unnecessary short-code parameters * updated docs to address PR feedback * Apply suggestions from code review Co-authored-by: pierwill <19642016+pierwill@users.noreply.github.com> Co-authored-by: kelseiv <47797004+kelseiv@users.noreply.github.com> * Apply suggestions from code review * update linux install instructions Co-authored-by: pierwill <19642016+pierwill@users.noreply.github.com> Co-authored-by: kelseiv <47797004+kelseiv@users.noreply.github.com> * release note updates * updates * add support for annotations in OSS 2.1 (#3286) * Document support for bearer auth sytax (#3297) * 2.1 oss notebooks (#3281) * Move notebooks to OSS (addresses #2951 ) * Update content/influxdb/v2.1/notebooks/clean-data.md Co-authored-by: Scott Anderson <sanderson@users.noreply.github.com> * Update content/influxdb/v2.1/notebooks/create-notebook.md Co-authored-by: Scott Anderson <sanderson@users.noreply.github.com> * Update content/influxdb/v2.1/notebooks/manage-notebooks.md Co-authored-by: Scott Anderson <sanderson@users.noreply.github.com> * Update content/influxdb/v2.1/notebooks/overview.md Co-authored-by: Scott Anderson <sanderson@users.noreply.github.com> * Update content/influxdb/v2.1/notebooks/_index.md Co-authored-by: Scott Anderson <sanderson@users.noreply.github.com> * Update content/influxdb/v2.1/notebooks/troubleshoot-notebooks.md Co-authored-by: Scott Anderson <sanderson@users.noreply.github.com> * Update content/influxdb/v2.1/notebooks/clean-data.md Co-authored-by: Scott Anderson <sanderson@users.noreply.github.com> * Update content/influxdb/v2.1/notebooks/clean-data.md Co-authored-by: Scott Anderson <sanderson@users.noreply.github.com> * Update content/influxdb/v2.1/notebooks/clean-data.md Co-authored-by: Scott Anderson <sanderson@users.noreply.github.com> * Update content/influxdb/v2.1/notebooks/create-notebook.md Co-authored-by: Scott Anderson <sanderson@users.noreply.github.com> * Update content/influxdb/v2.1/notebooks/create-notebook.md Co-authored-by: Scott Anderson <sanderson@users.noreply.github.com> * Update content/influxdb/v2.1/notebooks/create-notebook.md Co-authored-by: kelseiv <47797004+kelseiv@users.noreply.github.com> * Update content/influxdb/v2.1/notebooks/create-notebook.md Co-authored-by: kelseiv <47797004+kelseiv@users.noreply.github.com> * Update content/influxdb/v2.1/notebooks/create-notebook.md Co-authored-by: kelseiv <47797004+kelseiv@users.noreply.github.com> * Update content/influxdb/v2.1/notebooks/create-notebook.md Co-authored-by: kelseiv <47797004+kelseiv@users.noreply.github.com> * Update content/influxdb/v2.1/notebooks/create-notebook.md Co-authored-by: kelseiv <47797004+kelseiv@users.noreply.github.com> * Update content/influxdb/v2.1/notebooks/create-notebook.md Co-authored-by: kelseiv <47797004+kelseiv@users.noreply.github.com> * Update content/influxdb/v2.1/notebooks/create-notebook.md Co-authored-by: kelseiv <47797004+kelseiv@users.noreply.github.com> * Update content/influxdb/v2.1/notebooks/create-notebook.md Co-authored-by: kelseiv <47797004+kelseiv@users.noreply.github.com> * Update content/influxdb/v2.1/notebooks/create-notebook.md Co-authored-by: kelseiv <47797004+kelseiv@users.noreply.github.com> * Update content/influxdb/v2.1/notebooks/create-notebook.md Co-authored-by: kelseiv <47797004+kelseiv@users.noreply.github.com> * Update content/influxdb/v2.1/notebooks/create-notebook.md Co-authored-by: kelseiv <47797004+kelseiv@users.noreply.github.com> * Update content/influxdb/v2.1/notebooks/create-notebook.md Co-authored-by: kelseiv <47797004+kelseiv@users.noreply.github.com> * Update content/influxdb/v2.1/notebooks/create-notebook.md Co-authored-by: kelseiv <47797004+kelseiv@users.noreply.github.com> * Update content/influxdb/v2.1/notebooks/overview.md Co-authored-by: kelseiv <47797004+kelseiv@users.noreply.github.com> * Update content/influxdb/v2.1/notebooks/overview.md Co-authored-by: kelseiv <47797004+kelseiv@users.noreply.github.com> * Update content/influxdb/v2.1/notebooks/overview.md Co-authored-by: kelseiv <47797004+kelseiv@users.noreply.github.com> * Update content/influxdb/v2.1/notebooks/overview.md Co-authored-by: kelseiv <47797004+kelseiv@users.noreply.github.com> * Update content/influxdb/v2.1/notebooks/overview.md Co-authored-by: kelseiv <47797004+kelseiv@users.noreply.github.com> * Update content/influxdb/v2.1/notebooks/overview.md Co-authored-by: kelseiv <47797004+kelseiv@users.noreply.github.com> * Update content/influxdb/v2.1/notebooks/overview.md Co-authored-by: kelseiv <47797004+kelseiv@users.noreply.github.com> * Update content/influxdb/v2.1/notebooks/create-notebook.md Co-authored-by: kelseiv <47797004+kelseiv@users.noreply.github.com> * Update content/influxdb/v2.1/notebooks/create-notebook.md Co-authored-by: kelseiv <47797004+kelseiv@users.noreply.github.com> * Update content/influxdb/v2.1/notebooks/create-notebook.md Co-authored-by: kelseiv <47797004+kelseiv@users.noreply.github.com> * Update content/influxdb/v2.1/notebooks/create-notebook.md Co-authored-by: kelseiv <47797004+kelseiv@users.noreply.github.com> * Update content/influxdb/v2.1/notebooks/create-notebook.md Co-authored-by: kelseiv <47797004+kelseiv@users.noreply.github.com> * Update content/influxdb/v2.1/notebooks/create-notebook.md Co-authored-by: kelseiv <47797004+kelseiv@users.noreply.github.com> * Update content/influxdb/v2.1/notebooks/create-notebook.md Co-authored-by: kelseiv <47797004+kelseiv@users.noreply.github.com> * Update content/influxdb/v2.1/notebooks/create-notebook.md Co-authored-by: kelseiv <47797004+kelseiv@users.noreply.github.com> * Update content/influxdb/v2.1/notebooks/create-notebook.md Co-authored-by: kelseiv <47797004+kelseiv@users.noreply.github.com> * Add PR feedback Co-authored-by: Scott Anderson <sanderson@users.noreply.github.com> Co-authored-by: kelseiv <47797004+kelseiv@users.noreply.github.com> * Fix link in bearer auth sytax doc (#3298) * Updated CLI docs content and added version metadata (#3285) * added metadata styles and data to cli docs * added missing ui-disabled influxd config flag * added updated versions to influx cli metadata * added metadata to all cloud influx cli docs * updated influx ping in cloud to have oss only tag * Update influxd documentation for 2.1 (#3302) * update and dynamically generate links to influxd flags (#3288) * remove 2.1 config options from 2.0 * New influxd commands (#3291) * added basic influxd recovery commands * added influxd recover commands, WIP for other influxd inspect commands * updated all influxd inspect commands * Apply suggestions from code review Co-authored-by: kelseiv <47797004+kelseiv@users.noreply.github.com> * updated influxd docs to address PR feedback Co-authored-by: kelseiv <47797004+kelseiv@users.noreply.github.com> Co-authored-by: kelseiv <47797004+kelseiv@users.noreply.github.com> * Add static legend to band and graph visualizations (#3315) * update band vis to include static legend * upd graph and graph-single-stat w static legend * update 2.1 links * update to latest Flux links * fix Flux links * Influxdb 2.1 release notes (#3279) * draft release notes * latest RN changes * test * revert * for review purposes * incorporate changes from new changelog * add note about new metadata included in CLI docs * edit * more edits * add overview features list * tweak verbiage about Telegraf support * Update content/influxdb/v2.1/reference/release-notes/influxdb.md Co-authored-by: Scott Anderson <sanderson@users.noreply.github.com> * Update content/influxdb/v2.1/reference/release-notes/influxdb.md Co-authored-by: Scott Anderson <sanderson@users.noreply.github.com> * Update content/influxdb/v2.1/reference/release-notes/influxdb.md Co-authored-by: Scott Anderson <sanderson@users.noreply.github.com> * Update content/influxdb/v2.1/reference/release-notes/influxdb.md Co-authored-by: Scott Anderson <sanderson@users.noreply.github.com> * Update content/influxdb/v2.1/reference/release-notes/influxdb.md Co-authored-by: Scott Anderson <sanderson@users.noreply.github.com> * Update content/influxdb/v2.1/reference/release-notes/influxdb.md Co-authored-by: Scott Anderson <sanderson@users.noreply.github.com> * Update content/influxdb/v2.1/reference/release-notes/influxdb.md Co-authored-by: Scott Anderson <sanderson@users.noreply.github.com> * Update content/influxdb/v2.1/reference/release-notes/influxdb.md Co-authored-by: Scott Anderson <sanderson@users.noreply.github.com> * Update content/influxdb/v2.1/reference/release-notes/influxdb.md Co-authored-by: Scott Anderson <sanderson@users.noreply.github.com> * Update content/influxdb/v2.1/reference/release-notes/influxdb.md Co-authored-by: Scott Anderson <sanderson@users.noreply.github.com> * Update content/influxdb/v2.1/reference/release-notes/influxdb.md Co-authored-by: Scott Anderson <sanderson@users.noreply.github.com> * add link * add edits from Scott, Dan, and Will * edits from dan * highlight and distinguish CLI separation changes * add links to new API endpoints * formatting upd * edits for secrets * mv Flux location support after rsv merge conflicts * edits from Tim * update influxql link * rmv SLQ metastore link * minor updates to 2.1 release notes * prep * Update content/influxdb/v2.1/reference/release-notes/influxdb.md Co-authored-by: Greg <2653109+glinton@users.noreply.github.com> Co-authored-by: Scott Anderson <sanderson@users.noreply.github.com> Co-authored-by: Scott Anderson <scott@influxdata.com> Co-authored-by: Greg <2653109+glinton@users.noreply.github.com> * add new Telegraf plugins to release notes * edit from Will * 2.1 upgrade and downgrade instructions (#3332) * influxd downgrade command, add upgrade instructions, closes #3331 * Apply suggestions from code review Co-authored-by: kelseiv <47797004+kelseiv@users.noreply.github.com> * Apply suggestions from code review Co-authored-by: Daniel Moran <danxmoran@gmail.com> * udpated downgrade docs to address PR feedback * remove references to localhost:1313 Co-authored-by: kelseiv <47797004+kelseiv@users.noreply.github.com> Co-authored-by: Daniel Moran <danxmoran@gmail.com> * updated flux version in release notes, added other new items, closes #3338 (#3344) * Chore/update oss api (#3341) * Standardize the term "key-value" (#3283) * s|key/value|key-value * Use en dash in prefix to open compound "time series" * CLI 2.2 (#3269) * add -b shorthand to influx delete * add cli 2.2 release notes * add example for all-access token * edits * updates to influx auth create * edits for operator token * remove inaccurate env var * Update influx-cli.md * Update influx-cli.md * make capitalization consistent with other docs * make headers parallel * Update content/influxdb/cloud/reference/release-notes/influx-cli.md Co-authored-by: Scott Anderson <sanderson@users.noreply.github.com> * Update content/influxdb/cloud/reference/release-notes/influx-cli.md Co-authored-by: Scott Anderson <sanderson@users.noreply.github.com> * Update content/influxdb/cloud/reference/release-notes/influx-cli.md Co-authored-by: Scott Anderson <sanderson@users.noreply.github.com> * edits from Scott and Dan * Update content/influxdb/v2.0/reference/cli/influx/auth/create.md Co-authored-by: Scott Anderson <sanderson@users.noreply.github.com> * Update content/influxdb/v2.0/reference/cli/influx/auth/create.md Co-authored-by: Daniel Moran <danxmoran@gmail.com> * Update content/influxdb/v2.0/reference/cli/influx/auth/create.md Co-authored-by: Daniel Moran <danxmoran@gmail.com> * edits to CLI * add oss-only shortcode and fix formatting * format updates * fix links * add oss-only inline * fix list * Update content/influxdb/v2.0/security/tokens/create-token.md Co-authored-by: Scott Anderson <sanderson@users.noreply.github.com> * Update content/influxdb/v2.0/security/tokens/create-token.md Co-authored-by: Scott Anderson <sanderson@users.noreply.github.com> * Update content/influxdb/v2.0/security/tokens/create-token.md Co-authored-by: Scott Anderson <sanderson@users.noreply.github.com> * edits from Dan * emphasize recommendation * edit from Dan re limits and page size * edit f Sam * update release date * remove vague description * Update content/influxdb/cloud/reference/release-notes/influx-cli.md Co-authored-by: Scott Anderson <sanderson@users.noreply.github.com> * Update content/influxdb/v2.0/reference/cli/influx/auth/create.md Co-authored-by: Scott Anderson <sanderson@users.noreply.github.com> * Update content/influxdb/v2.0/reference/cli/influx/auth/create.md Co-authored-by: Scott Anderson <sanderson@users.noreply.github.com> * Update content/influxdb/cloud/reference/release-notes/influx-cli.md Co-authored-by: Scott Anderson <sanderson@users.noreply.github.com> * Update content/influxdb/cloud/reference/release-notes/influx-cli.md Co-authored-by: Scott Anderson <sanderson@users.noreply.github.com> * edits from Scott Co-authored-by: Scott Anderson <sanderson@users.noreply.github.com> Co-authored-by: Daniel Moran <danxmoran@gmail.com> * add cloud updates in Sept (#3210) * Fix numbering in AWS install doc (#3293) Closes #3292 * Document new API Invocable Scripts feature (was named-functions) (#3282) * feat: add api-guides/guides and guides/api-invocable-scripts for the API-invocable scripts (managed functions) feature (##2547, #2233). * feat: document API-invocable scripts. Add example for creating and invoking a script with POST. Unable to make GET work with query parameters. * feat: moved API-invocable scripts under api-guide. Remove guides directory. Add docs for list and find. Add example for list. Add shortcuts and glossary links. Verified with team-compute that GET /invoke and python are not supported yet. * feat: rename example function for simplicity since there's no GET for now. * feat: add find_and_update example (#2547). * feat: add update example. Clarify, expand invoke example. Add links. (#2547) * Update content/influxdb/cloud/api-guide/api-invocable-scripts/_index.md Co-authored-by: Scott Anderson <sanderson@users.noreply.github.com> * fix: remove accidental commit of generated redoc-static.html * feat: manual update to cloud swagger. Merges meta, auth, tags, and x-tagGroups from src/cloud.yml to aggregate contracts/ref/cloud.yml. * fix: replace /functions with /scripts * feat: get swaggers from contracts/ref. Still requires copy-paste of info, tags, and auth from contracts/cloud.yml and contracts/oss.yml * feat: invocable scripts (#2547) * Update content/influxdb/cloud/api-guide/api-invocable-scripts/_index.md Co-authored-by: pierwill <19642016+pierwill@users.noreply.github.com> * feat: new section for params (#2547). * fix: swagger server url (#2547) * Update content/influxdb/cloud/api-guide/api-invocable-scripts/_index.md Co-authored-by: Scott Anderson <sanderson@users.noreply.github.com> * feat: remove jq and function where there's no clear need. Co-authored-by: pierwill <19642016+pierwill@users.noreply.github.com> * fix: add Invocable Scripts tag description. (#3296) * Fix api invocable (#3299) * fix: scripts api path. * fix: bad comma * Fix api invocable (#3306) * fix: scripts api path. * fix: bad comma * feat: add invocable scripts example for sending multiple parameter values. * fix: endpoint text. (#3308) * Fix api invocable (#3310) * fix: measurement -> point * fix: cloud API ref. Remove private paths. Patch description and orgID params into ScriptCreateRequest. * updated token naming and other typos, closes influxdata/DAR#244 (#3309) * Flux 0.136 (#3311) * Flux 0.136.0 release notes * Update pagerduty package for flux 0.136.0 (#3303) * Add Flux ServiceNow package (#3304) * added Flux servicenow package * Apply suggestions from code review * Enterprise dar updates (#3313) * removed references to web server in enteprise cluster docs, closes influxdata/DAR#245 * updated enterprise upgrade instructions, closes influxdata/DAR#243 * Apply suggestions from code review Co-authored-by: pierwill <19642016+pierwill@users.noreply.github.com> Co-authored-by: pierwill <19642016+pierwill@users.noreply.github.com> * fix: mjs example path (#3305) (#3316) * 3240 fix nodejs alias (#3317) * fix: mjs example path (#3305) * fix: add alias to node.js client library (#3240) * Edit description for amd_rocm_smi Telegraf plugin (#3186) * Edit description for amd_rocm_smi Telegraf plugin Edit name and description for amd_rocm_smi Telegraf plugin. Not sure if this is the only location that it needs to be udpated. * cpl minor updates Co-authored-by: Kelly <kelly@influxdata.com> * remove influxql support from v2 api, closes influxdata/DAR#246 (#3326) * Telegraf 1.20.3 (#3328) * Telegraf 1.20.3 * Update content/telegraf/v1.20/about_the_project/release-notes-changelog.md Co-authored-by: kelseiv <47797004+kelseiv@users.noreply.github.com> * Update content/telegraf/v1.20/about_the_project/release-notes-changelog.md Co-authored-by: kelseiv <47797004+kelseiv@users.noreply.github.com> * Update content/telegraf/v1.20/about_the_project/release-notes-changelog.md Co-authored-by: kelseiv <47797004+kelseiv@users.noreply.github.com> * Address PR feedback Co-authored-by: kelseiv <47797004+kelseiv@users.noreply.github.com> * docs: update telegraf configuration.md (#3300) * docs: update telegraf configuration.md * add note about rate limits * fix: correct debian/ubuntu install instructions (#3312) * fix: correct debian/ubuntu install instructions This consolidates the Debian and Ubutnu install instructions into one section. The install instructions can be the same for both as they use the same package manager (i.e. apt). This removes the use of the now deprecated pipe to apt-key. This removes references to starting the service, as the service starts on install and does not require an extra step. Also all supported operating systems are using systemd at this point so no need to call that out seperatly. Removes an extra 'sudo' in deb instructions. * missing word * added flux 0.137.0 release notes, added vertica sql support docs (#3318) * Update _index.md (#3195) broken link for external plugin repo * Addresses #3284 (#3334) * Updates to Flux `to()` (#3260) Closes https://github.com/influxdata/DAR/issues/236. Closes #3258. Co-authored-by: Scott Anderson <sanderson@users.noreply.github.com> * Fix shim and other link (#3336) * Update Kapacitor security docs (#3325) Co-authored-by: kelseiv <47797004+kelseiv@users.noreply.github.com> * Include TLS setup in Enterprise post-install steps (#3271) - Rename TLS guide file. - Use term "TLS" in title and introduction of TLS guide. Closes #3270. Co-authored-by: kelseiv <47797004+kelseiv@users.noreply.github.com> * Flux 0.138.0 and 0.139.0 (#3335) * added release notes for flux 0.138 and 0.139 and related updates * updated spec with related implementation issue * Apply suggestions from code review Co-authored-by: kelseiv <47797004+kelseiv@users.noreply.github.com> * updated to address PR feedback, added related links to int, uint, and bitwise docs Co-authored-by: kelseiv <47797004+kelseiv@users.noreply.github.com> * hotfix load data link * add aliases and fix load data link in oss * API Ref docs processing (#3337) * chore: API Reference Docs custom processing. Pulls contracts/ref files and applies custom content (tags, x-tagGroups, securitySchemes, info) before writing results to cloud/ref.yml and v2.0/ref.yml. Rename source files from swagger.yml to ref.yml to avoid confusion and in case we need to bundle additional specs in the future. Add an OpenAPI CLI docs-plugin with content and decorators. * chore: update api-docs/README.md * fix: add strip-version-prefix to remove /api/v2 added incorrectly to some paths during contract generation - also fixed in openapi repo so future contracts won't need this decorator. Fix server urls. Cleanup. * chore: update cloud contract. * chore: update oss API contract. * Apply suggestions from code review Co-authored-by: kelseiv <47797004+kelseiv@users.noreply.github.com> * Apply suggestions from code review Co-authored-by: pierwill <19642016+pierwill@users.noreply.github.com> Co-authored-by: kelseiv <47797004+kelseiv@users.noreply.github.com> Co-authored-by: Scott Anderson <sanderson@users.noreply.github.com> Co-authored-by: Daniel Moran <danxmoran@gmail.com> Co-authored-by: Samantha Wang <32681364+sjwang90@users.noreply.github.com> Co-authored-by: Kelly <kelly@influxdata.com> Co-authored-by: noramullen1 <42354779+noramullen1@users.noreply.github.com> Co-authored-by: Joshua Powers <powersj@influxdata.com> Co-authored-by: bgilmore-iot <85192039+bgilmore-iot@users.noreply.github.com> * edit from Tim: update v2.0 to v2.1 in API section * fix 2.1 links * Fix/api ref 2.1 (#3363) * fix: cloud-specific v1compat auth examples. * fix: openapi. Disabled securityScheme replacement. Cleaned up placeholders. Added links. * fix: update API auth descriptions. add API ref v2.1. Update links in openapi content. * fix: updates URLs to v2.1 in API ref docs * add verify-tsm to 2.1 release notes * Clockface updates for 2.1 and Cloud (#3364) * versioned old icomoon font * updated all existing icons with versioned style * Revert "updated all existing icons with versioned style" This reverts commit 79b6cdf539542a5420ab3988b7ada9a0db497a23. * versioned icon shortcode * update icons and new styles for clockface v3 * updated nav-icon shortcode and styles * updated account nav icon styles * misc updates * general style updates * updated oss versions on the homepage * fixed tick card colors on homepage Co-authored-by: Kelly <kelly@influxdata.com> Co-authored-by: pierwill <19642016+pierwill@users.noreply.github.com> Co-authored-by: kelseiv <47797004+kelseiv@users.noreply.github.com> Co-authored-by: noramullen1 <42354779+noramullen1@users.noreply.github.com> Co-authored-by: Greg <2653109+glinton@users.noreply.github.com> Co-authored-by: Daniel Moran <danxmoran@gmail.com> Co-authored-by: Jason Stirnaman <jstirnaman@influxdata.com> Co-authored-by: Samantha Wang <32681364+sjwang90@users.noreply.github.com> Co-authored-by: Joshua Powers <powersj@influxdata.com> Co-authored-by: bgilmore-iot <85192039+bgilmore-iot@users.noreply.github.com>
2021-11-08 17:48:11 +00:00
```