Skip to content

two topics in one conf #6

@randyh0329

Description

@randyh0329

Hi I am using this output plugin to send different logs to different pub topics. following are my td-agent.conf

<match tag1.xxx>
  @type copy
  <store>
    .....
  </store>
  <store>
    type gcloud_pubsub
    project my.project
    topic my.topic1
    key my.key
    flush_interval 1
  </store> 
</match>

<match tag2.xxx>
  @type copy
  <store>
    .....
  </store>
  <store>
    type gcloud_pubsub
    project my.project
    topic my.topic2
    key my.key
    flush_interval 1
  </store> 
</match>

Then fluentd will keep restarting, looks like the configuration is conflict. Any ideas?

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