# \#cli

**URL:** https://community.influxdata.com/tag/cli/96.md

[Latest](https://community.influxdata.com/latest.md) · [Categories](https://community.influxdata.com/categories.md) · [Tags](https://community.influxdata.com/tags.md)

---

## [Best practice of stopping InfluxDB inside a docker container without stopping the container](https://community.influxdata.com/t/best-practice-of-stopping-influxdb-inside-a-docker-container-without-stopping-the-container/28455)

<div class="topic-metadata">

**Author:** [@brimstone](https://community.influxdata.com/u/brimstone)\
**Replies:** 11\
**Last updated:** [March 11, 2026, 8:22pm UTC](https://community.influxdata.com/t/best-practice-of-stopping-influxdb-inside-a-docker-container-without-stopping-the-container/28455 "2026-03-11T20:22:45Z")

</div>

I need to create a new operator token for my instance running in a docker container since I don’t have one. Following this conversation on GitHub, I got to the point, where I entered influxd recovery auth create-operat…

---

## [InfluxDB 3 cli client download link not available](https://community.influxdata.com/t/influxdb-3-cli-client-download-link-not-available/58172)

<div class="topic-metadata">

**Author:** [@AdamB](https://community.influxdata.com/u/AdamB)\
**Replies:** 2\
**Last updated:** [December 17, 2025, 7:08pm UTC](https://community.influxdata.com/t/influxdb-3-cli-client-download-link-not-available/58172 "2025-12-17T19:08:54Z")

</div>

In the docu the link is https://dl.influxdata.com/influxdb/releases/influxdb2-client--linux-arm64.tar.gz. But this link is dead. With curl -0 you get only the XML information, not the file itself. wget doesn’t work, bec…

---

## [Can not create script: 404 Not Found: path not found](https://community.influxdata.com/t/can-not-create-script-404-not-found-path-not-found/57454)

<div class="topic-metadata">

**Author:** [@eckarth](https://community.influxdata.com/u/eckarth)\
**Replies:** 2\
**Last updated:** [June 27, 2025, 6:15am UTC](https://community.influxdata.com/t/can-not-create-script-404-not-found-path-not-found/57454 "2025-06-27T06:15:37Z")

</div>

I am unable to create my first script. Error message: Error: failed to create script: 404 Not Found: path not found Even the example given at influx scripts create | InfluxDB OSS v2 Documentation fails influx scripts…

---

## [InfluxDB2: Issue creating Token?](https://community.influxdata.com/t/influxdb2-issue-creating-token/57459)

<div class="topic-metadata">

**Author:** [@Lucifor](https://community.influxdata.com/u/Lucifor)\
**Replies:** 3\
**Last updated:** [June 27, 2025, 11:58am UTC](https://community.influxdata.com/t/influxdb2-issue-creating-token/57459 "2025-06-27T11:58:12Z")

</div>

Hello, first my English is bad! So im sorry about. Is there a issue when create a Token or i going to handle it wrong? If i create a new full acess Token, to take some Backups, the Token do not have read access. Not …

---

## [Delete value from Filter](https://community.influxdata.com/t/delete-value-from-filter/56492)

<div class="topic-metadata">

**Author:** [@vashthestampede](https://community.influxdata.com/u/vashthestampede)\
**Replies:** 2\
**Last updated:** [March 7, 2025, 11:11am UTC](https://community.influxdata.com/t/delete-value-from-filter/56492 "2025-03-07T11:11:48Z")

</div>

I would like to eliminate these values ​​which only create confusion. I have already managed to delete all the associated values ​​using these commands: influx delete --bucket "XXXXXXXXXXXXXXXXXXXXXXXXXXX" \\ --sta…

---

## [401 Unauthorized" error problem when accessing InfluxDB with a valid access token](https://community.influxdata.com/t/401-unauthorized-error-problem-when-accessing-influxdb-with-a-valid-access-token/29928)

<div class="topic-metadata">

**Author:** [@Team](https://community.influxdata.com/u/Team)\
**Replies:** 10\
**Last updated:** [February 13, 2025, 5:42pm UTC](https://community.influxdata.com/t/401-unauthorized-error-problem-when-accessing-influxdb-with-a-valid-access-token/29928 "2025-02-13T17:42:37Z")

</div>

Hello, I am currently experiencing a problem when accessing InfluxDB with a valid access token. Every time I try to use commands such as influx org list, I get a "401 Unauthorized" error. Here is an example of a comman…

---

## [Https error on to() with --skip-verify](https://community.influxdata.com/t/https-error-on-to-with-skip-verify/39868)

<div class="topic-metadata">

**Author:** [@luko](https://community.influxdata.com/u/luko)\
**Replies:** 1\
**Last updated:** [January 17, 2025, 10:41am UTC](https://community.influxdata.com/t/https-error-on-to-with-skip-verify/39868 "2025-01-17T10:41:54Z")

</div>

Hi there, I’m trying to transfer data from one bucket to another bucket in a different org on the same host. The query I’m using is this one: influx query --org OrgA --skip-verify -t $TOKEN ‘from(bucket:“MyBucket”) |\>…

---

## [I can't get rid of a ghost tag after performing a delete of records](https://community.influxdata.com/t/i-cant-get-rid-of-a-ghost-tag-after-performing-a-delete-of-records/35562)

<div class="topic-metadata">

**Author:** [@JeffAeon](https://community.influxdata.com/u/JeffAeon)\
**Replies:** 1\
**Last updated:** [September 10, 2024, 5:06pm UTC](https://community.influxdata.com/t/i-cant-get-rid-of-a-ghost-tag-after-performing-a-delete-of-records/35562 "2024-09-10T17:06:51Z")

</div>

Greetings all… I am pulling my hair out over having what appears to be a ghost tag after a purge of records where it existed. InfluxDB2 v 2.7.10 on Rocky 8.10 v2 bucket created with DBRP link created I used: influx …

---

## [Inexplicable non-working CLI - "TLS handshake timeout"](https://community.influxdata.com/t/inexplicable-non-working-cli-tls-handshake-timeout/34225)

<div class="topic-metadata">

**Author:** [@bhuijlgredainku](https://community.influxdata.com/u/bhuijlgredainku)\
**Replies:** 9\
**Last updated:** [May 21, 2024, 2:27pm UTC](https://community.influxdata.com/t/inexplicable-non-working-cli-tls-handshake-timeout/34225 "2024-05-21T14:27:24Z")

</div>

Hi, I have been struggling to get the Influx CLI to function on one of my systems (windows server). I’ve set up Influx such that it uses TLS certificates from our certificate authority. All that seems to work fine for a…

---

## [How to Delete Many Measurements with extrem long name in InfluxDB Efficiently](https://community.influxdata.com/t/how-to-delete-many-measurements-with-extrem-long-name-in-influxdb-efficiently/34259)

<div class="topic-metadata">

**Author:** [@Mine\_RLax](https://community.influxdata.com/u/Mine_RLax)\
**Replies:** 2\
**Last updated:** [May 17, 2024, 2:07pm UTC](https://community.influxdata.com/t/how-to-delete-many-measurements-with-extrem-long-name-in-influxdb-efficiently/34259 "2024-05-17T14:07:47Z")

</div>

Hello Influx Community, I’m new to InfluxDB and made a mistake with my Python script, creating 4000 measurements by accident. The names are very long, and I can’t delete them one by one in the server terminal. When I tr…

---

## [Can't delete measurements from InfluxDB cloud](https://community.influxdata.com/t/cant-delete-measurements-from-influxdb-cloud/34048)

<div class="topic-metadata">

**Author:** [@NNNN](https://community.influxdata.com/u/NNNN)\
**Replies:** 4\
**Last updated:** [April 30, 2024, 12:33pm UTC](https://community.influxdata.com/t/cant-delete-measurements-from-influxdb-cloud/34048 "2024-04-30T12:33:11Z")

</div>

I use InfluxDB Cloud and have four test entries in my measurements ‘table’ called grid\_meter\_readings. Now I want to delete all entries from that measurement. This is how I tried to do it via the CLI: influx delete --b…

---

## [I can't install my SSL certificate](https://community.influxdata.com/t/i-cant-install-my-ssl-certificate/33968)

<div class="topic-metadata">

**Author:** [@tonytonytony](https://community.influxdata.com/u/tonytonytony)\
**Replies:** 1\
**Last updated:** [April 18, 2024, 1:56pm UTC](https://community.influxdata.com/t/i-cant-install-my-ssl-certificate/33968 "2024-04-18T13:56:53Z")

</div>

Hi, I’m tying to install my SSL certificate in my influxb v2.7.5 but I can’t, if i follow the official guide I do the command: influxd \\ --tls-cert="/etc/certificati/completo.crt" \\ --tls-key="/etc/certificati/chiave.ke…

---

## [Export Bucket Data in .CSV format using CLI](https://community.influxdata.com/t/export-bucket-data-in-csv-format-using-cli/33383)

<div class="topic-metadata">

**Author:** [@JeremyLester](https://community.influxdata.com/u/JeremyLester)\
**Replies:** 2\
**Last updated:** [February 28, 2024, 7:43pm UTC](https://community.influxdata.com/t/export-bucket-data-in-csv-format-using-cli/33383 "2024-02-28T19:43:37Z")

</div>

Hello, I am trying to export my bucket data as a means to have a backup incase of hardware failure. In CLI I have tried multiple methods of achieving this with the following example being the one I want to use… influx q…

---

## [Drop measurement](https://community.influxdata.com/t/drop-measurement/33238)

<div class="topic-metadata">

**Author:** [@vicki](https://community.influxdata.com/u/vicki)\
**Replies:** 2\
**Last updated:** [February 19, 2024, 8:58am UTC](https://community.influxdata.com/t/drop-measurement/33238 "2024-02-19T08:58:21Z")

</div>

I am not able to drop measurements. use mydata show MEASUREMENTS on mydata.\* I am not able to drop the “testing2” measurement in “mydata” database.

---

## [Problem with rention policies](https://community.influxdata.com/t/problem-with-rention-policies/33261)

<div class="topic-metadata">

**Author:** [@vicki](https://community.influxdata.com/u/vicki)\
**Replies:** 0\
**Last updated:** [February 19, 2024, 7:51am UTC](https://community.influxdata.com/t/problem-with-rention-policies/33261 "2024-02-19T07:51:43Z")

</div>

I have two buckets, “mydata” and “mydata/5days.” I set retention policies for “mydata” as default and “mydata/5days” as non-default. When I run the query “influx bucket list,” it shows the correct RP for both buckets, b…

---

## [Install InfluxDB server without WebUI](https://community.influxdata.com/t/install-influxdb-server-without-webui/32935)

<div class="topic-metadata">

**Author:** [@syndrael](https://community.influxdata.com/u/syndrael)\
**Replies:** 0\
**Last updated:** [January 24, 2024, 11:52am UTC](https://community.influxdata.com/t/install-influxdb-server-without-webui/32935 "2024-01-24T11:52:32Z")

</div>

Hello, I’d like to script an InfluxDB installation, but i don’t know how to create my first admin user without WebUI. In fact, i don’t know how to create my first token. Could you help me ? Regards

---

## [Influx CLI query returns "Access is Denied" even though correct token is provided](https://community.influxdata.com/t/influx-cli-query-returns-access-is-denied-even-though-correct-token-is-provided/32895)

<div class="topic-metadata">

**Author:** [@qe19391](https://community.influxdata.com/u/qe19391)\
**Replies:** 2\
**Last updated:** [January 23, 2024, 9:04pm UTC](https://community.influxdata.com/t/influx-cli-query-returns-access-is-denied-even-though-correct-token-is-provided/32895 "2024-01-23T21:04:29Z")

</div>

Hello, Firstly I’m quite new to the InfluxDB ecosystem so apologies if I’ve done something stupid… I’m struggerling to query my influxDB via the CLI. Using the python API I can run queries fine, but if I type the follo…

---

## [Backup only specific parts of the collected data](https://community.influxdata.com/t/backup-only-specific-parts-of-the-collected-data/27240)

<div class="topic-metadata">

**Author:** [@TomsCodingCode](https://community.influxdata.com/u/TomsCodingCode)\
**Replies:** 2\
**Last updated:** [November 4, 2022, 5:43pm UTC](https://community.influxdata.com/t/backup-only-specific-parts-of-the-collected-data/27240 "2022-11-04T17:43:17Z")

</div>

Hi there, in my application I want to backup certain parts of the collected data. To do so i was thinking about using the |\> to() function to copy the data to a temporary bucket and then making a backup of the temporary…

---

## [Influx cli not working](https://community.influxdata.com/t/influx-cli-not-working/32596)

<div class="topic-metadata">

**Author:** [@olpchk](https://community.influxdata.com/u/olpchk)\
**Replies:** 0\
**Last updated:** [December 23, 2023, 10:24pm UTC](https://community.influxdata.com/t/influx-cli-not-working/32596 "2023-12-23T22:24:00Z")

</div>

Following the documentation I’ve specified all needed params (url, org, token) I’ve tried to do it with config, cmd-line, environment variables - does not matter It just doesn’t work No errors, no logs - nothing. Any …

---

## [Influx CLI: --configs-path configuration?](https://community.influxdata.com/t/influx-cli-configs-path-configuration/31932)

<div class="topic-metadata">

**Author:** [@Sirosimo](https://community.influxdata.com/u/Sirosimo)\
**Replies:** 3\
**Last updated:** [October 25, 2023, 6:54pm UTC](https://community.influxdata.com/t/influx-cli-configs-path-configuration/31932 "2023-10-25T18:54:41Z")

</div>

Hi, I’m trying to change the CLI configuration file to a different path than the standard %USERPROFILE%.influxdbv2\\configs. From the documentation it seems that using influx config --configs-path I should be able to co…

---

## [Influxdb v2 backup only last 24 hours on cli bashscipt](https://community.influxdata.com/t/influxdb-v2-backup-only-last-24-hours-on-cli-bashscipt/31623)

<div class="topic-metadata">

**Author:** [@Indeed\_1](https://community.influxdata.com/u/Indeed_1)\
**Replies:** 2\
**Last updated:** [September 28, 2023, 7:52pm UTC](https://community.influxdata.com/t/influxdb-v2-backup-only-last-24-hours-on-cli-bashscipt/31623 "2023-09-28T19:52:27Z")

</div>

Hi need to create influxdb v2 backup only last 24 hours data in cli bashscipt any idea? Thanks

---

## [Status of telegraf agent running/not running in ARMv7](https://community.influxdata.com/t/status-of-telegraf-agent-running-not-running-in-armv7/31308)

<div class="topic-metadata">

**Author:** [@Pavan\_Ravuru](https://community.influxdata.com/u/Pavan_Ravuru)\
**Replies:** 6\
**Last updated:** [September 6, 2023, 10:31am UTC](https://community.influxdata.com/t/status-of-telegraf-agent-running-not-running-in-armv7/31308 "2023-09-06T10:31:02Z")

</div>

Hello all, I am running telegraf on Kerlink Isation (Linux ARMv7 machine). I want to check the status of the telegraf on the kerlink gateway. Can anyone guid me what commands I can use to get the status of the agent and…

---

## [Add second bucket using influx cli in docker-compose.yml](https://community.influxdata.com/t/add-second-bucket-using-influx-cli-in-docker-compose-yml/31284)

<div class="topic-metadata">

**Author:** [@Ricardosgeral](https://community.influxdata.com/u/Ricardosgeral)\
**Replies:** 1\
**Last updated:** [August 29, 2023, 10:00am UTC](https://community.influxdata.com/t/add-second-bucket-using-influx-cli-in-docker-compose-yml/31284 "2023-08-29T10:00:09Z")

</div>

Hello I’ve defined successfully an influxdb service (using docker-compose) with an initial bucket (telegraf) version: "3" services: influxdb: container\_name: influxdb image: influxdb volumes: - infl…

---

## [Failed to list dbrps: 404 Not Found: invalid org](https://community.influxdata.com/t/failed-to-list-dbrps-404-not-found-invalid-org/31217)

<div class="topic-metadata">

**Author:** [@ausghostdog](https://community.influxdata.com/u/ausghostdog)\
**Replies:** 2\
**Last updated:** [August 21, 2023, 6:50pm UTC](https://community.influxdata.com/t/failed-to-list-dbrps-404-not-found-invalid-org/31217 "2023-08-21T18:50:54Z")

</div>

Hi, I am running InfluxDB v2.7.1 Influx CLI 2.3.0 (git: 88ba346) build\_date: 2022-04-06T19:30:53Z I am trying to run the command influx v1 dbrp create --db ohm --rp ohm --bucket-id f1c481b8f55d599a --default but I g…

---

## [Influx CLI "Explore Schema" commands - only bucket list works for me on win](https://community.influxdata.com/t/influx-cli-explore-schema-commands-only-bucket-list-works-for-me-on-win/31061)

<div class="topic-metadata">

**Author:** [@downow](https://community.influxdata.com/u/downow)\
**Replies:** 2\
**Last updated:** [August 10, 2023, 12:33am UTC](https://community.influxdata.com/t/influx-cli-explore-schema-commands-only-bucket-list-works-for-me-on-win/31061 "2023-08-10T00:33:58Z")

</div>

Hi, I’m trying to “explore my data schema” in OSS 2.7 with Flux (newbie) using influx CLI and PowerShell. Other CLI queries work good. Q: How do I import “influxdata/influxdb/schema” on Windows? Seeing some 3.0 posts.…

---

## [CLI only displays the first 20 users](https://community.influxdata.com/t/cli-only-displays-the-first-20-users/30622)

<div class="topic-metadata">

**Author:** [@Remi\_Dujardin](https://community.influxdata.com/u/Remi_Dujardin)\
**Replies:** 2\
**Last updated:** [July 10, 2023, 12:52pm UTC](https://community.influxdata.com/t/cli-only-displays-the-first-20-users/30622 "2023-07-10T12:52:53Z")

</div>

The command “influx user list --token a1b2c3d4e5f6g7h8i9j0a1b2c3d4e5f6g7h8i9j0==” only returns the first 20 users that were created, and there is nothing in the documentation that explains why, nor how to bypass this lim…

---

## [Delete data with CLI](https://community.influxdata.com/t/delete-data-with-cli/30571)

<div class="topic-metadata">

**Author:** [@usky73](https://community.influxdata.com/u/usky73)\
**Replies:** 2\
**Last updated:** [July 5, 2023, 4:46pm UTC](https://community.influxdata.com/t/delete-data-with-cli/30571 "2023-07-05T16:46:14Z")

</div>

Hi, I am struggling with something I have already done, but for an unkown reason it is not working anymore. I want to delete all measurement with kwh. I am using CLI with this command influx delete --bucket aggregate -…

---

## [Create user and Create token deadlock? (401 Unauthorized: unauthorized acces)](https://community.influxdata.com/t/create-user-and-create-token-deadlock-401-unauthorized-unauthorized-acces/30337)

<div class="topic-metadata">

**Author:** [@yjmrs](https://community.influxdata.com/u/yjmrs)\
**Replies:** 0\
**Last updated:** [June 16, 2023, 6:35pm UTC](https://community.influxdata.com/t/create-user-and-create-token-deadlock-401-unauthorized-unauthorized-acces/30337 "2023-06-16T18:35:41Z")

</div>

I’m trying to setup influxdb in a reproducible way in macOS, that means, I try to do everything using influx-cli This is the version I’m using: influx version Influx CLI 2.7.3 (git: 8b962c7e75) build\_date: 2023-04-28T1…

---

## [Restore path must be specified as a single positional argument](https://community.influxdata.com/t/restore-path-must-be-specified-as-a-single-positional-argument/29968)

<div class="topic-metadata">

**Author:** [@somanyquestions](https://community.influxdata.com/u/somanyquestions)\
**Replies:** 0\
**Last updated:** [May 17, 2023, 9:17am UTC](https://community.influxdata.com/t/restore-path-must-be-specified-as-a-single-positional-argument/29968 "2023-05-17T09:17:40Z")

</div>

Hi, I have a local computer running InfluxDB OSS 2.7.1 on Ubuntu 22.04.2 LTS and have successfully created a backup of some test data using the CLI backup function. However, when I try to restore this data using the CLI …

---

## [Failed to write data: unexpected error writing points to database: timeout](https://community.influxdata.com/t/failed-to-write-data-unexpected-error-writing-points-to-database-timeout/29671)

<div class="topic-metadata">

**Author:** [@Antoine\_Jacobs](https://community.influxdata.com/u/Antoine_Jacobs)\
**Replies:** 0\
**Last updated:** [April 26, 2023, 10:45am UTC](https://community.influxdata.com/t/failed-to-write-data-unexpected-error-writing-points-to-database-timeout/29671 "2023-04-26T10:45:55Z")

</div>

Hello, I try to put some .csv file on my database but when i do the command " docker exec rcl\_monitoring\_influx-app\_1 influx write --bucket R0 --file /var/lib/influxdb2/outputR013.csv " , most of the time i will get an …

[Next page](https://community.influxdata.com/tag/cli/96.md?match_all_tags=true&page=1&tags%5B%5D=cli)
