Bugfender has the capability of uploading your logs to an Amazon S3 bucket so that you can perform your own data analysis.

How does it work?

  • Bugfender uploads the logs in batches, every day around midnight (GMT). Days are split at midnight GMT.
  • One folder is created for every day in the format of YYYY-MM-DD.
  • Each folder contains a set of files, each file representing a session, with the naming format deviceId_sessionId.log.
  • All sessions that have been changed during that day are uploaded. If a session spans across several days it will be uploaded every day until it finishes. Each time the file will contain the full session (not only the logs of that day).

How much does it cost?

This feature is included in our Business and Premium plans. Please bear in mind that Amazon might charge for the usage of the S3 service.

How to set it up?

  • Log in to Amazon Web Services console
  • First of all let's create a bucket. Go to S3, press Create Bucket and give your bucket a name:
  • Then we will set up the permissions. Go to IAM > Policies > Create policy, then select Create Your Own Policy, call it s3-bugfender-logs (or whatever you like) and copy and paste the following code, replace <bucket-name> with the name you just chose for your bucket in the previous step:
{
    "Version": "2012-10-17",
    "Statement": [
        {
            "Action": [
                "s3:ListBucket"
            ],
            "Effect": "Allow",
            "Resource": "arn:aws:s3:::<bucket-name>"
        },
        {
            "Action": [
                "s3:PutObject",
                "s3:PutObjectAcl"
            ],
            "Effect": "Allow",
            "Resource": "arn:aws:s3:::<bucket-name>/*"
        }
    ]
}
  • It will look something like this:
  • Then go to Users > Add user and call it bugfender (or whatever you like), tick Programatic access:
  • Then select Attach existing policies directly and tick the policy we just created (s3-bugfender-logs).
  • Then click next, review the results and download the resulting credentials:

One you have everything ready, please contact us and send over the following information, we will take care to set up the rest behind the scenes:

  • Name of the bucket you created
  • credentials.csv file you just downloaded
  • Name of your application in Bugfender

See also

Did this answer your question?