Skip to content

configuration  #2

Closed
Closed
@fragtom

Description

@fragtom

In the Readme the config-file is written in ruby.. I'm stuck with configuration of my fluentd env -

<source>
...
</source>

# Include config files in the ./config.d directory
@include /etc/fluentd/conf.d/*.conf

and

root@fluentd:/etc/fluentd/conf.d# vi aws-elasticsearch.conf 

<match "**">
      type "aws-elasticsearch-service"
      logstash_format true
      include_tag_key true
      tag_key "@log_name"
      log_level info

      flush_interval 5s
      buffer_chunk_limit 512K
...

      <endpoint>
        url "https://.....eu-central-1.es.amazonaws.com/"
        region "eu-central-1"
        access_key_id "ACCESS_KEY"
        secret_access_key "SECRET_KEY"
      </endpoint>
    </match>

that should be ok.. but starting agent ...

2015-10-23 09:02:26 +0000 [info]: adding match pattern="\"**\"" type="aws-elasticsearch-service"
/opt/td-agent/embedded/lib/ruby/gems/2.1.0/gems/fluent-plugin-aws-elasticsearch-service-0.1.1/lib/fluent/plugin/out_aws-elasticsearch-service.rb:76: warning: toplevel constant Elasticsearch referenced by Fluent::ElasticsearchOutput::Elasticsearch

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions