Comments (8)
@yzhang1991 Try leaving out the double quotes when passing the org name.
influx repl -o my-org
from influx-cli.
@sanderson I tried, it did not work:
from influx-cli.
You also need to pass your token. You can do that with a flag on the influxd repl
command or you can set the INFLUX_TOKEN
environment variable.
Pass token with a flag
influx repl -o my-org -t <yourauthtoken>
Set token an environment variable
export INFLUX_TOKEN=<yourauthtoken>
influx repl -o my-org
from influx-cli.
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.
from influx-cli.
This issue has been automatically closed because it has not had recent activity. Please reopen if this issue is still important to you. Thank you for your contributions.
from influx-cli.
I can confirm this issue in latest influx version (Influx CLI 2.0.6 (git: 4db98b4c9a) build_date: 2021-04-29T16:48:12Z) : When you use a string for org, it doesnt work, when you use an org-id, it works.
$ influx dashboards --org-id 2e66627c312f1afa
ID OrgID Name Description Num Cells
$ influx dashboards --org default
Error: At least one of org, org-id, or id must be provided.
See 'influx dashboards -h' for help
Btw, the org is in active configuration, so it should not even be asked :
$ influx config ls
Active Name URL Org
* default-config http://10.200.222.149:8086 default
from influx-cli.
Transferring to the new CLI repo
from influx-cli.
I've updated the title to reflect the latest comment from @Tristan107. The earlier comments are no longer relevant now that the repl
command has been deleted.
from influx-cli.
Related Issues (20)
- Required --user flag problems: prevents token creation on cloud2 offering using cli
- Inconsistency in required parameters for bucket commands
- Unvalidated duration input leads to signed integer overflow and confusing error message
- release version not reported
- CLI v2.7.1 for Windows is not an executable HOT 4
- Error: flag provided but not defined: -read-dbrps HOT 1
- influxdb-cli does not follow xdg base directory specification
- [bug] user option ignored when listing tokens with `influx auth list`
- `influx write` with seperator does not work as without
- Add V3 Querying to CLI
- Is the download link for InfluxDB CLI Windows version 2.7.1 correct?
- influx client CLI / auth create read-telegrafs all or nothing? (create token for specific telegraf config)
- shard duration 0 (infinite) not applying, `Error: retention policy duration must be greater than the shard duration` HOT 2
- Bug in influx v1 shell: Values presented in a bad way depending on what format is used
- Minor fault in influx v1 shell: Incompleteness in the help-as-you-type function
- Bug in influx v1 shell: Rapid cursor movement introduces garbage chars in command line
- Feature request for influx CLI: Custom config preferences for the v1 shell
- Disable password length checking
- disable password length checking [port to 2.7]
- influx write incorrectly parses input data when --skipRowOnError is enabled [port to 2.7]
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from influx-cli.