Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Enhancement] Support custom stream name for firehose #1193

Open
chunyong-lin opened this issue Mar 16, 2020 · 0 comments
Open

[Enhancement] Support custom stream name for firehose #1193

chunyong-lin opened this issue Mar 16, 2020 · 0 comments

Comments

@chunyong-lin
Copy link
Contributor

Background

In the discussion of PR #1191, we brought up to support custom stream name for firehose. Currently, the stream name of firehose for data is autogenerated based on prefix (defined in conf/global.json), and schema name (defined in conf/schemas/*.json or conf/logs.json). In some rare cases the firehose needs to be recreated if the stream name is changed (e.g. rename the schema). With custom stream name support, users can keep the existing firehose without recreate a new one.

We plan to add a new optional field in the configuration field in the log schema. For example,

  "cloudwatch:events": {
    "schema": {
      "account": "string",
      "detail": {},
      "detail-type": "string",
      "id": "string",
      "region": "string",
      "resources": [],
      "source": "string",
      "time": "string",
      "version": "string"
    },
    "parser": "json",
    "configuration": {
      "firehose_stream": "my_best_stream_name"
    }
  }

Desired Change

Support custom stream name for firehose both for alerts and data.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants