ক্লাউড লগিং সেট আপ করুন
সেভ করা পৃষ্ঠা গুছিয়ে রাখতে 'সংগ্রহ' ব্যবহার করুন
আপনার পছন্দ অনুযায়ী কন্টেন্ট সেভ করুন ও সঠিক বিভাগে রাখুন।
ক্লাউড লগিং সক্ষম করুন
ফ্লিট ইঞ্জিনে স্বয়ংক্রিয়ভাবে লগিং সক্ষম হওয়া উচিত।
- লগ এক্সপ্লোরার খুলুন।
নিম্নলিখিত প্রশ্ন লিখুন:
resource.type:"fleetengine.googleapis.com"
যদি ক্যোয়ারী লিস্টের ফলাফল লগ হয়, তাহলে লগিং সক্ষম করা হয়।
আপনি যদি এই প্রশ্নের ফলাফলে তালিকাভুক্ত কোনো লগ দেখতে না পান, তাহলে আপনার প্রকল্পের জন্য ক্লাউড লগিং সক্ষম নাও হতে পারে৷ ক্লাউড লগিং সক্ষম করতে, Google মানচিত্র প্ল্যাটফর্ম সহায়তার সাথে যোগাযোগ করুন।
সীমাবদ্ধ ব্যবহার লগ সক্রিয় করুন
মোবিলিটি সার্ভিসের নির্দিষ্ট শর্তাবলী অনুসারে, ফ্লিট ইঞ্জিন তৈরি করে এমন কিছু লগ ডেটা শুধুমাত্র 30 দিনের জন্য রাখা যেতে পারে। ফ্লিট ইঞ্জিন সেই লগগুলিকে TOS_RESTRICTED
হিসাবে লেবেল করে এবং সেগুলিকে একটি সীমাবদ্ধ-ধারণ লগ বালতিতে বাছাই করে, যা আপনাকে অবশ্যই নীচে দেখানো হিসাবে তৈরি করতে হবে।
অন্যান্য সমস্ত লগ ডেটা ডিফল্ট বালতিতে বরাদ্দ করা হয় যেখানে এটি আরও বেশি সময় ধরে রাখা যেতে পারে, যেমন মোবিলিটি সার্ভিসের নির্দিষ্ট শর্তাবলীতে সংজ্ঞায়িত করা হয়েছে। Google ক্লাউড কনসোলে লগ স্টোরেজ দেখুন আপনার লগ বালতি এবং তাদের ধরে রাখার সময় কাস্টমাইজ করার বিষয়ে।
বিশ্লেষণের জন্য, আপনি লগ ডেটার সম্পূর্ণ সেটের জন্য সীমাবদ্ধ এবং ডিফল্ট লগগুলি থেকে ডেটাতে যোগ দিতে পারেন৷
সীমাবদ্ধ ব্যবহারের লগগুলি সক্ষম করতে নিম্নলিখিতগুলি করুন:
সীমাবদ্ধ-ব্যবহারের লগগুলির জন্য একটি সিঙ্ক এবং বালতি তৈরি করুন এবং তাদের উপযুক্ত বালতিতে লগগুলি ফিল্টার করুন৷
সীমাবদ্ধ-ব্যবহার লগ সক্রিয় করতে সহায়তার সাথে যোগাযোগ করুন।
বিস্তারিত জানার জন্য, নিম্নলিখিত বিভাগগুলি দেখুন।
আপনার প্রকল্পে সীমাবদ্ধ লগগুলির জন্য একটি সিঙ্ক এবং বালতি তৈরি করুন
লগ এক্সপ্লোরারে , বাম-হাতের নেভিগেশনে, লগ রাউটার পৃষ্ঠাটি খুলুন।
সীমাবদ্ধ-ব্যবহারের লগগুলি বাদ দিতে _ডিফল্ট লগিং বাকেট পরিবর্তন করুন।
- লগ রাউটার সিঙ্কের অধীনে, _ডিফল্ট লগিং বাকেট নির্বাচন করুন।
- অ্যাকশন মেনু থেকে এডিট সিঙ্ক বেছে নিন।
- সিঙ্ক বিভাগের ফিল্টার আউট করার জন্য লগ নির্বাচন করুন-এ যান এবং বর্জন যোগ করুন বোতামে ক্লিক করুন।
- ExcludeRestrictedLogs এ বর্জন ফিল্টারের নাম সেট করুন।
- বিল্ড এবং এক্সক্লুশন ফিল্টার বক্সে, এই ফিল্টারটি পেস্ট করুন:
labels.restriction="TOS_RESTRICTED"
- আপডেট সিঙ্ক ক্লিক করুন.
সীমাবদ্ধ-ব্যবহারের লগগুলি সংরক্ষণ করতে একটি সীমাবদ্ধ লগিং বালতি তৈরি করুন৷ আপনি সমস্ত লগের জন্য একটি সিঙ্ক এবং বালতি তৈরি করে এবং তারপর অ-সীমাবদ্ধ লগগুলি বাদ দিয়ে এটি করেন।
- লগ রাউটার পৃষ্ঠায় , উপরের দিকে, সিঙ্ক তৈরি করুন নির্বাচন করুন।
- সিঙ্ক বিবরণ পূরণ করুন:
- নাম: RestrictedLogs
- বর্ণনা: রুট ফ্লিট ইঞ্জিন সীমাবদ্ধ-ব্যবহারের লগ।
- পরবর্তী ক্লিক করুন.
- সিঙ্ক গন্তব্য পূরণ করুন:
- সিঙ্ক পরিষেবা নির্বাচন করুন: লগিং বালতি
- লগ বালতি নির্বাচন করুন: নতুন লগ বালতি তৈরি করুন নির্বাচন করুন।
- বালতির বিবরণ ডায়ালগে, পূরণ করুন:
- নাম: সীমাবদ্ধ
- বর্ণনা: ফ্লিট ইঞ্জিন সীমাবদ্ধ-ব্যবহারের লগ রয়েছে।
- বাকিটা যেমন আছে রেখে দিন এবং Next এ ক্লিক করুন।
- ধরে রাখার সময়কাল 30 দিন সেট করুন। (ধারণের সময়কাল 30 দিনের বেশি হওয়া উচিত নয়।)
- বালতি তৈরি করুন ক্লিক করুন।
- সিঙ্ক তৈরির ডায়ালগে ফিরে, সিঙ্ক বিভাগে অন্তর্ভুক্ত করতে লগগুলি খালি রাখুন।
- সিঙ্ক বিভাগে ফিল্টার করার জন্য লগগুলিতে , বর্জন যুক্ত করুন ক্লিক করুন এবং পূরণ করুন:
- বর্জন ফিল্টারের নাম: ExcludeNonRestrictedLogs
- এক্সক্লুশন ফিল্টার:
NOT (resource.type = "fleetengine.googleapis.com/Fleet" OR resource.type = "fleetengine.googleapis.com/DeliveryFleet") NOT (labels.restriction = "TOS_RESTRICTED")
- সিঙ্ক তৈরি করুন ক্লিক করুন।
- Google Maps প্ল্যাটফর্ম সমর্থনে যান
- একটি নতুন সমর্থন অনুরোধ শুরু করতে কেস তৈরি করুন ক্লিক করুন৷
নিম্নলিখিত তথ্য প্রদান করুন:
- সক্ষম করার জন্য প্রকল্প আইডি(গুলি)৷
- পরিবর্তনের অনুরোধকারী ব্যক্তির ইমেল ঠিকানা। আপনি যে Google ক্লাউড প্রকল্পগুলি তালিকাভুক্ত করছেন তাতে এই ব্যক্তির সম্পাদনা অ্যাক্সেস থাকা উচিত৷
হ্যাঁ লিখে নিম্নলিখিতগুলির সাথে সম্মত হন : ক্লাউড লগিং-এ সীমাবদ্ধ-ব্যবহারের Google মানচিত্র সামগ্রী সক্ষম করার মাধ্যমে, আপনি Google মানচিত্র প্ল্যাটফর্মের শর্তাদি এবং গতিশীলতা পরিষেবার নির্দিষ্ট শর্তাবলী মেনে চলতে সম্মত হন, যেমন ক্যাশিং এবং অনুমোদিত ব্যবহারের প্রয়োজনীয়তাগুলি Google মানচিত্র সামগ্রীর সাথে সম্পর্কিত।
একবার সমর্থন দল আপনার অনুরোধ পরিচালনা করলে, আপনি একটি নিশ্চিতকরণ পাবেন যে আপনার প্রকল্পের জন্য লগিং সক্ষম করা হয়েছে।
এরপর কি
লগ এক্সপ্লোরার-এ লগগুলির সাথে কীভাবে কাজ করবেন তা শিখুন।
অন্য কিছু উল্লেখ না করা থাকলে, এই পৃষ্ঠার কন্টেন্ট Creative Commons Attribution 4.0 License-এর অধীনে এবং কোডের নমুনাগুলি Apache 2.0 License-এর অধীনে লাইসেন্স প্রাপ্ত। আরও জানতে, Google Developers সাইট নীতি দেখুন। Java হল Oracle এবং/অথবা তার অ্যাফিলিয়েট সংস্থার রেজিস্টার্ড ট্রেডমার্ক।
2025-09-03 UTC-তে শেষবার আপডেট করা হয়েছে।
[null,null,["2025-09-03 UTC-তে শেষবার আপডেট করা হয়েছে।"],[[["\u003cp\u003eFleet Engine automatically enables logging, verifiable via a query in the Logs Explorer using \u003ccode\u003eresource.type:"fleetengine.googleapis.com"\u003c/code\u003e.\u003c/p\u003e\n"],["\u003cp\u003eRestricted-use logs, labeled \u003ccode\u003eTOS_RESTRICTED\u003c/code\u003e, require a dedicated bucket with a 30-day retention period due to the Mobility Service Specific Terms.\u003c/p\u003e\n"],["\u003cp\u003eEnabling restricted-use logs involves creating a separate sink and bucket, then contacting Google Maps Platform Support for activation.\u003c/p\u003e\n"],["\u003cp\u003eFleet Engine logs may contain sensitive information and require careful access management using Google Cloud's Identity and Access Management for Cloud Logging.\u003c/p\u003e\n"]]],[],null,["Enable Cloud Logging\n\nFleet Engine should automatically have logging enabled.\n\n1. Open the [Logs Explorer](https://cloud.google.com/logging/docs/view/logs-explorer-interface).\n2. Enter the following query:\n\n resource.type:\"fleetengine.googleapis.com\"\n\nIf the results for the query list logs, then logging is enabled.\n\nIf you don't see any logs listed in the results for this query,\nCloud Logging may not be enabled for your project. To enable\nCloud Logging, contact [Google Maps Platform Support](https://console.cloud.google.com/google/maps-apis/support).\n\nEnable restricted use logs\n\nIn accordance with the [Mobility Service Specific Terms](/maps/documentation/transportation-logistics-terms/mobility/service-terms), some\nof the log data that Fleet Engine generates may only be retained for 30 days.\nFleet Engine labels those logs as `TOS_RESTRICTED` and sorts them into a\nrestricted-retention log bucket, which you must create as shown below.\n\nAll other log data is assigned to the default bucket where it can be retained\nlonger, as defined in the [Mobility Service Specific Terms](/maps/documentation/transportation-logistics-terms/mobility/service-terms).\nSee [Logs Storage](/maps/documentation/mobility/operations/cloud-logging/console.cloud.google.come/logs/storage) in the Google Cloud\nConsole about customizing your log buckets and their retention periods.\n\nFor analysis, you can join the data from restricted and default logs for a\ncomplete set of log data.\n\nDo the following to enable restricted use logs:\n\n1. Create a sink and bucket for restricted-use logs, and filter logs into their\n appropriate buckets.\n\n2. Contact support to enable restricted-use logs.\n\nFor details, see the following sections.\n\nCreate a sink and bucket for restricted logs in your project\n\n1. In the [Logs Explorer](https://cloud.google.com/logging/docs/view/logs-explorer-interface), in the left-hand\n navigation, open the **Log Router** page.\n\n2. Modify the _Default logging bucket to exclude restricted-use logs.\n\n 1. Under **Log Router Sinks**, select the _Default logging bucket.\n 2. Choose **Edit sink** from the **Actions** menu.\n 3. Go to the **Choose logs to filter out of sink** section and click the **Add Exclusion** button.\n 4. Set the **Exclusion filter name** to *ExcludeRestrictedLogs*.\n 5. In the **Build and exclusion filter** box, paste this filter: `labels.restriction=\"TOS_RESTRICTED\"`\n 6. Click **Update sink**.\n3. Create a restricted logging bucket to store the restricted-use logs. You do\n this by creating a sink and bucket for all logs, and then excluding the\n non-restricted logs.\n\n 1. On the [Log Router page](https://console.cloud.google.com/logs/router), towards the top, select **Create sink**.\n 2. Fill in the **Sink details** :\n 1. Name: *RestrictedLogs*\n 2. Description: *Routes Fleet Engine restricted-use logs.*\n 3. Click **Next**.\n 4. Fill in the **Sink destination** :\n 1. Select Sink service: Logging bucket\n 2. Select log bucket: Select **Create new log bucket**.\n 3. In the **Bucket details** dialog, fill in:\n 1. Name: *Restricted*\n 2. Description: *Contains Fleet Engine restricted-use logs.*\n 4. Leave the rest as is and click **Next**.\n 5. Set the **Retention period** to 30 days. (The retention period must not exceed 30 days.)\n 6. Click **Create bucket**.\n 5. Back in the sink creation dialog, leave the **Logs to include in sink** section empty.\n 6. In the **Logs to filter out of sink** section, click **Add Exclusion** and fill in:\n 1. Exclusion filter name: *ExcludeNonRestrictedLogs*\n 2. Exclusion filter: `NOT (resource.type =\n \"fleetengine.googleapis.com/Fleet\" OR resource.type =\n \"fleetengine.googleapis.com/DeliveryFleet\") NOT (labels.restriction\n = \"TOS_RESTRICTED\")`\n 7. Click **Create sink.**\n\nContact support to enable restricted-use logs\n\n1. Go to [Google Maps Platform Support](https://console.cloud.google.com/google/maps-apis/support)\n2. Click **Create Case** to start a new support request.\n3. Provide the following information:\n\n - Project ID(s) to enable.\n - Email address of the person requesting the change. This person should have edit access to the Google Cloud Projects you are listing.\n4. Agree to the following by writing **Yes** : *By enabling restricted-use\n Google Maps Content in Cloud Logging, you agree to adhere to the\n [Google Maps Platform terms](https://cloud.google.com/maps-platform/terms/) and [Mobility service specific\n terms](/maps/documentation/transportation-logistics-terms/mobility/service-terms), including caching and permitted use requirements as they relate\n to Google Maps Content.*\n\nOnce the support team handles your request, you will receive a confirmation that\nlogging has been enabled for your project.\n| **Note:** Fleet Engine logs may contain sensitive vehicle and trip information. You can restrict and audit access to these logs with Google Cloud [Identity and Access Management for Cloud Logging](https://cloud.google.com/logging/docs/access-control).\n\nWhat's next\n\nLearn how to [Work with logs in Logs Explorer](/maps/documentation/mobility/operations/cloud-logging/work-with-logs)."]]