Skip to content

Bucket logging configuration using library #2911

Description

@ihsanhaikalz

I was wondering whether it is possible to set the bucket logging in the target bucket with the access logs are then stored in the bucket log as it is explained here https://cloud.google.com/storage/docs/access-logs but this is only possible using gsutil. There is the option for XML API here https://cloud.google.com/storage/docs/xml-api/put-bucket-logging but not sure if there is one in this google-cloud-java storage library. If it is possible how do I do it?

Activity

  1. added
    type: questionRequest for information or clarification. Not an issue.
    api: storageIssues related to the Cloud Storage API.
    on Feb 18, 2018
  2. pongad commented on Feb 18, 2018

    @pongad
    Contributor

    I don't believe this feature is available here yet. @hzyi-google can you confirm? If it is unavailable, let's turn it into feature request.

  3. yihanzhen commented on Feb 20, 2018

    @yihanzhen
    Contributor

    I don't think there is either.

  4. added
    type: feature request‘Nice-to-have’ improvement, new feature or different behavior or design.
    priority: p2Moderately-important priority. Fix may not be included in next release.
    and removed
    type: questionRequest for information or clarification. Not an issue.
    on Feb 20, 2018
  5. ihsanhaikalz commented on Feb 22, 2018

    @ihsanhaikalz
    Author

    I think it will be good as well if you could check the status of bucket logging and remove bucket logging if needed as doing this from console is quite hectic

  6. removed
    🚨 criticalP0 critical issue. Requires immediate fix
    priority: p2Moderately-important priority. Fix may not be included in next release.
    on Oct 9, 2018
  7. removed their assignment
    on Mar 19, 2019
  8. self-assigned this
    on Sep 24, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

api: storageIssues related to the Cloud Storage API.type: feature request‘Nice-to-have’ improvement, new feature or different behavior or design.

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions