Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

influxdb does not list all column names #514

Closed
nntang opened this issue May 7, 2014 · 5 comments
Closed

influxdb does not list all column names #514

nntang opened this issue May 7, 2014 · 5 comments

Comments

@nntang
Copy link

nntang commented May 7, 2014

I'm trying to figure out the complete list of column names for a given time series.

I have tried this with influxdb-cli & web request:
"http://localhost:8086/db/mydb/series?u=root&p=root&q=list%20series"

But it ever just list the 2 default columns "time"& "sequence number" for all of the time series.

Is this an known issue?

@jvshahid
Copy link
Contributor

jvshahid commented May 7, 2014

@nntang this is actually not an issue. As the name suggest, list series returns the list of series names. In fact the format of the response will change in the next versions, see #358

@nntang
Copy link
Author

nntang commented May 7, 2014

How can I get the list of all the column names then?

@jvshahid
Copy link
Contributor

jvshahid commented May 7, 2014

You can run select * from /.*/ limit 1

@nntang
Copy link
Author

nntang commented May 7, 2014

Cool! That worked.

Thanks! ^_^

@jvshahid
Copy link
Contributor

jvshahid commented May 7, 2014

Awesome

@jvshahid jvshahid closed this as completed May 7, 2014
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants