HTTPOutNode

This is archived documentation for InfluxData product versions that are no longer maintained. For newer documentation, see the latest InfluxData documentation.

An HTTPOutNode caches the most recent data for each group it has received.

The cached data is available at the given endpoint. The endpoint is the relative path from the API endpoint of the running task. For example if the task endpoint is at "/api/v1/task/<task_name>" and endpoint is "top10", then the data can be requested from "/api/v1/task/<task_name>/top10".

Example:

    stream
        .window()
            .period(10s)
            .every(5s)
        .mapReduce(influxql.top('value', 10))
        //Publish the top 10 results over the last 10s updated every 5s.
        .httpOut('top10')