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

[InfluxQL] Quering boolean changes for timestamp #7739

Closed
freeseacher opened this issue Dec 17, 2016 · 1 comment
Closed

[InfluxQL] Quering boolean changes for timestamp #7739

freeseacher opened this issue Dec 17, 2016 · 1 comment

Comments

@freeseacher
Copy link

Hi!

I have a boolean value that changes sometimes. I want to show that value as annotation on grafana's dashboard.
My query looks like

SELECT "value", "interface" FROM "Interface | Status | Oper" WHERE "object" =~ /^myswitch$/ AND "interface" =~ /^GigabitEthernet1\/0\/13$/ AND time > xxxx and time < xxxx

and data looks like

1481957373000000000	true	GigabitEthernet3/0/13
1481957673000000000	true	GigabitEthernet3/0/13
1481957974000000000	true	GigabitEthernet3/0/13
1481958274000000000	true	GigabitEthernet3/0/13
1481958574000000000	false	GigabitEthernet3/0/13
1481958873000000000	false	GigabitEthernet3/0/13
1481959182000000000	false	GigabitEthernet3/0/13

how i can show only time when value is changed?

@e-dard
Copy link
Contributor

e-dard commented Dec 19, 2016

Hi! We try and keep GitHub Issues for actionable bug reports or feature requests. Please send general questions to the influxdb@googlegroups.com mailing list.

Thanks.

@e-dard e-dard closed this as completed Dec 19, 2016
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