# roundrobin

The `roundrobin` Output plugin distributes events to multiple outputs using a weighted round-robin algorithm.

It is included in Fluentd's core.

## Example Configuration

```
<match pattern>
  @type roundrobin

  <store>
    @type http
    endpoint http://192.168.1.21
    weight 3
    # ...
  </store>
  <store>
    @type http
    endpoint http://192.168.1.22
    weight 2
    # ...
  </store>
  <store>
    @type http
    endpoint http://192.168.1.23
    weight 1
    # ...
  </store>
</match>
```

Refer to [Configuration File](/configuration/config-file.md) for the basic structure and syntax of the configuration file.

## Supported Modes

* Non-Buffered

## Parameters

[Common Parameters](/configuration/plugin-common-parameters.md)

### `@type`

The value must be `roundrobin`.

### `<store>`

Specifies the storage destinations. The format is the same as the `<match>` directive.

#### `weight`

| type    | default | version |
| ------- | ------- | ------- |
| integer | 1       | 0.14.1  |

Weight to distribute events to multiple outputs.

If this article is incorrect or outdated, or omits critical information, please [let us know](https://github.com/fluent/fluentd-docs-gitbook/issues?state=open). [Fluentd](http://www.fluentd.org/) is an open-source project under [Cloud Native Computing Foundation (CNCF)](https://cncf.io/). All components are available under the Apache 2 License.


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.fluentd.org/output/roundrobin.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
