Skip to content

feat: support aggregate functions #39

Open
@pnadolny13

Description

@pnadolny13

Currently if stats is used in the query then we throw an exception

. Ideally we'd allow stats by disabling some of the other features that dont work with it.

  • allow stats in query config, probably set a flag so other methods know stats is in use
  • if stats is in query we might not need to force "@timestamp" to be there too because the aggregate might be messed up. So we'll need to deactivate incremental syncs for this case.
  • Figure out how to handle schema generation. We hard code the log ID as the PK but could make that configurable
  • I dont think we can paginate in batches so if we detect that the 10k batch limit is reached after aggregating then we need to throw and error

https://docs.aws.amazon.com/AmazonCloudWatch/latest/logs/CWL_QuerySyntax.html

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions