{"id":9228,"date":"2023-10-16T19:08:38","date_gmt":"2023-10-16T19:08:38","guid":{"rendered":"https:\/\/docs.pontiac.media\/?docs=new-test-section\/automated-reporting"},"modified":"2024-06-21T17:45:48","modified_gmt":"2024-06-21T17:45:48","slug":"automated-reporting","status":"publish","type":"docs","link":"https:\/\/docs.pontiac.media\/?docs=new-test-section\/automated-reporting","title":{"rendered":"Automated Reporting"},"content":{"rendered":"\n<p>Custom reports can be automatically delivered to your email, FTP or S3 bucket, or Google Cloud Storage on the schedule of your choice. When creating a custom report, select the &#8216;Schedule Automated Report&#8217; box, then open the &#8216;Scheduled Reports&#8217; tab to choose the schedule and configure the delivery method.<\/p>\n\n\n\n<figure class=\"wp-block-image size-full is-resized\"><img loading=\"lazy\" decoding=\"async\" width=\"870\" height=\"396\" src=\"https:\/\/docs.pontiac.media\/wp-content\/uploads\/2024\/02\/image-34.png\" alt=\"\" class=\"wp-image-9975\" style=\"aspect-ratio:2.196969696969697;width:782px;height:auto\" srcset=\"https:\/\/docs.pontiac.media\/wp-content\/uploads\/2024\/02\/image-34.png 870w, https:\/\/docs.pontiac.media\/wp-content\/uploads\/2024\/02\/image-34-300x137.png 300w, https:\/\/docs.pontiac.media\/wp-content\/uploads\/2024\/02\/image-34-768x350.png 768w\" sizes=\"auto, (max-width: 870px) 100vw, 870px\" \/><\/figure>\n\n\n\n<div style=\"height:36px\" aria-hidden=\"true\" class=\"wp-block-spacer\"><\/div>\n\n\n\n<h4 class=\"wp-block-heading\">Custom Report Delivery by S3<\/h4>\n\n\n\n<p>Setting up Pontiac Scheduled reports delivery in AWS S3 requires:<\/p>\n\n\n\n<p><strong><u>Creating a bucket in AWS S3<\/u><\/strong>:<\/p>\n\n\n\n<ol class=\"wp-block-list\">\n<li>In AWS S3 click Create Bucket<\/li>\n\n\n\n<li>Chose a&nbsp;<strong>bucket name<\/strong>&nbsp;that is available and the desired AWS Region.<\/li>\n\n\n\n<li>Change Object Ownership to&nbsp;<strong>ACLs enabled<\/strong>.<\/li>\n\n\n\n<li>Uncheck&nbsp;<strong>Block all public access<\/strong>&nbsp;field and check \u201cI acknowledge that the current settings might result in this bucket and the objects within becoming public\u201d.<\/li>\n\n\n\n<li>Click Create bucket.<\/li>\n\n\n\n<li>Navigate to the newly created bucket and click Create folder with the output path that we chose in Pontiac (\u201coutput-path\u201d). Confirm to create the folder.<\/li>\n<\/ol>\n\n\n\n<p><strong><u>Setting up the report in Pontiac<\/u><\/strong>:<\/p>\n\n\n\n<ol class=\"wp-block-list\">\n<li>Go to&nbsp;<strong>Reporting<\/strong>&nbsp;tab and then click&nbsp;<strong>New Custom Report<\/strong>.<\/li>\n\n\n\n<li>Select&nbsp;<strong>Log Level Report&nbsp;<\/strong>from the Report Type Drop Down<\/li>\n\n\n\n<li>Go to Scheduled Reports tab and check&nbsp;<strong>Deliver by S3<\/strong>&nbsp;box.<\/li>\n\n\n\n<li>In the expandable section fill out the&nbsp;<strong>Bucket<\/strong>&nbsp;field with the AWS S3 Bucket name. Example: S3-test-bucket.<\/li>\n\n\n\n<li>Fill out the Path field with a desired output path location and file name (<em>To include the date macro use dateInt (YYYYMMDD) like xxx\/filename-%dateInt% otherwise your file will be overwritten each day<\/em>). Example: output-path\/Pontiac-reports.csv or output-path\/Pontiac-reports-%dateInt%.csv<\/li>\n\n\n\n<li>Click View security policy and copy the full text area.<\/li>\n\n\n\n<li>Go to Amazon AWS S3 and modify permissions for the bucket we chose earlier. In the Permissions tab click Edit and paste the policy text from earlier and Save.<\/li>\n\n\n\n<li>Back in Pontiac reports screen click&nbsp;<strong>Verify<\/strong>&nbsp;and wait for a successful confirmation message.<\/li>\n<\/ol>\n\n\n\n<figure class=\"wp-block-image size-large is-resized\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"425\" src=\"https:\/\/docs.pontiac.media\/wp-content\/uploads\/2024\/02\/image-33-1024x425.png\" alt=\"\" class=\"wp-image-9970\" style=\"aspect-ratio:2.409411764705882;width:778px;height:auto\" srcset=\"https:\/\/docs.pontiac.media\/wp-content\/uploads\/2024\/02\/image-33-1024x425.png 1024w, https:\/\/docs.pontiac.media\/wp-content\/uploads\/2024\/02\/image-33-300x125.png 300w, https:\/\/docs.pontiac.media\/wp-content\/uploads\/2024\/02\/image-33-768x319.png 768w, https:\/\/docs.pontiac.media\/wp-content\/uploads\/2024\/02\/image-33.png 1342w\" sizes=\"auto, (max-width: 1024px) 100vw, 1024px\" \/><\/figure>\n","protected":false},"author":6,"featured_media":0,"parent":6178,"menu_order":6,"comment_status":"closed","ping_status":"closed","template":"","doc_tag":[],"class_list":["post-9228","docs","type-docs","status-publish","hentry","no-post-thumbnail"],"comment_count":0,"_links":{"self":[{"href":"https:\/\/docs.pontiac.media\/index.php?rest_route=\/wp\/v2\/docs\/9228","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/docs.pontiac.media\/index.php?rest_route=\/wp\/v2\/docs"}],"about":[{"href":"https:\/\/docs.pontiac.media\/index.php?rest_route=\/wp\/v2\/types\/docs"}],"author":[{"embeddable":true,"href":"https:\/\/docs.pontiac.media\/index.php?rest_route=\/wp\/v2\/users\/6"}],"replies":[{"embeddable":true,"href":"https:\/\/docs.pontiac.media\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=9228"}],"version-history":[{"count":6,"href":"https:\/\/docs.pontiac.media\/index.php?rest_route=\/wp\/v2\/docs\/9228\/revisions"}],"predecessor-version":[{"id":10223,"href":"https:\/\/docs.pontiac.media\/index.php?rest_route=\/wp\/v2\/docs\/9228\/revisions\/10223"}],"up":[{"embeddable":true,"href":"https:\/\/docs.pontiac.media\/index.php?rest_route=\/wp\/v2\/docs\/6178"}],"prev":[{"title":"Custom Reporting","link":"https:\/\/docs.pontiac.media\/?docs=new-test-section\/custom-reporting","href":"https:\/\/docs.pontiac.media\/index.php?rest_route=\/wp\/v2\/docs\/9203"}],"wp:attachment":[{"href":"https:\/\/docs.pontiac.media\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=9228"}],"wp:term":[{"taxonomy":"doc_tag","embeddable":true,"href":"https:\/\/docs.pontiac.media\/index.php?rest_route=%2Fwp%2Fv2%2Fdoc_tag&post=9228"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}