I am trying to use the mean function but I am getting this error
ERR: unsupported mean iterator type: *influxql.stringInterruptIterator
I am new to InfluxDB and created it with following few documents. Am I
missing anything here or while creating DB?
Below is my db structure
ame: memory
time Free_Memory Hostname
Total_Memory Used_Memory
---- ----------- --------
------------ -----------
1482304344763000000 3084
prod-4g-aercore-pcrf-3.aeriscloud.com 3768 1076
where hostname is tag.
Please help
On Thursday, October 27, 2016 at 1:45:34 PM UTC+5:30, [email protected]
wrote:
>
> Hi all,
>
> Let's say we have a measurement "storage/free" which has a tag "host" and
> I want to have a single value which shows summarized value of free space
> among all hosts.
>
> If I run this I get average among all hosts:
> SELECT mean("value") FROM "storage/free" WHERE time > now() - 1d GROUP BY
> time(1d)
>
> If I run this I get multiple values (one per host) as a result:
> SELECT mean("value") FROM "storage/free" WHERE time > now() - 1d GROUP BY
> time(1d), host
>
> Could anybody tell me if it is possible to get a single value which would
> be the sum for all hosts?
>
> Regards,
> Stanislav
>
>
--
Remember to include the version number!
---
You received this message because you are subscribed to the Google Groups
"InfluxData" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To post to this group, send email to [email protected].
Visit this group at https://groups.google.com/group/influxdb.
To view this discussion on the web visit
https://groups.google.com/d/msgid/influxdb/63e734f2-b2b6-4228-be5f-e026c3c90ca1%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.