Code Monkey home page Code Monkey logo

Comments (8)

sanderson avatar sanderson commented on July 17, 2024

@yzhang1991 Try leaving out the double quotes when passing the org name.

influx repl -o my-org

from influx-cli.

yzhang1991 avatar yzhang1991 commented on July 17, 2024

@sanderson I tried, it did not work:

image
image

from influx-cli.

sanderson avatar sanderson commented on July 17, 2024

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.

stale avatar stale commented on July 17, 2024

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.

stale avatar stale commented on July 17, 2024

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.

Tristan107 avatar Tristan107 commented on July 17, 2024

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

image

from influx-cli.

danxmoran avatar danxmoran commented on July 17, 2024

Transferring to the new CLI repo

from influx-cli.

danxmoran avatar danxmoran commented on July 17, 2024

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)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.