diff --git a/docs/dis/umn/ALL_META.TXT.json b/docs/dis/umn/ALL_META.TXT.json index 711d564a..3ba12ed4 100644 --- a/docs/dis/umn/ALL_META.TXT.json +++ b/docs/dis/umn/ALL_META.TXT.json @@ -113,7 +113,7 @@ "uri":"dis_01_0603.html", "product_code":"dis", "code":"12", - "des":"Local data is continuously uploaded to DIS.Data can be stored in DIS, OBS, and DLI. For details about how to configure a storage location, see Creating a Dump Task.The ma", + "des":"Local data is continuously uploaded to DIS.Data can be stored in DIS, OBS, and DLI. For how to configure a storage location, see Creating a Dump Task.The maximum number o", "doc_type":"usermanual", "kw":"Step 3: Sending Data to DIS,Getting Started,User Guide", "title":"Step 3: Sending Data to DIS", @@ -230,11 +230,51 @@ "githuburl":"" }, { - "uri":"dis_01_0130.html", + "uri":"dis_01_0051.html", "product_code":"dis", "code":"24", "des":"HUAWEI CLOUD Help Center presents technical documents to help you quickly get started with HUAWEI CLOUD services. The technical documents include Service Overview, Price Details, Purchase Guide, User Guide, API Reference, Best Practices, FAQs, and Videos.", "doc_type":"usermanual", + "kw":"Notifying Events", + "title":"Notifying Events", + "githuburl":"" + }, + { + "uri":"dis_01_0052.html", + "product_code":"dis", + "code":"25", + "des":"DIS uses Simple Message Notification (SMN) to send notifications of DIS events. In a subscription, you need to specify one or more event filtering conditions. When an eve", + "doc_type":"usermanual", + "kw":"Event Notification Overview,Notifying Events,User Guide", + "title":"Event Notification Overview", + "githuburl":"" + }, + { + "uri":"dis_01_0053.html", + "product_code":"dis", + "code":"26", + "des":"After enabling Notification for subscribed events, you will receive notifications by email or SMS when management, monitoring, or security events occur in a specific clus", + "doc_type":"usermanual", + "kw":"Setting Notification,Notifying Events,User Guide", + "title":"Setting Notification", + "githuburl":"" + }, + { + "uri":"dis_01_0054.html", + "product_code":"dis", + "code":"27", + "des":"This section describes how to search for events that occur in a stream or dump task.In the Event Levels drop-down list, select All, Normal, or WarningIn the Event source ", + "doc_type":"usermanual", + "kw":"Viewing Events,Notifying Events,User Guide", + "title":"Viewing Events", + "githuburl":"" + }, + { + "uri":"dis_01_0130.html", + "product_code":"dis", + "code":"28", + "des":"HUAWEI CLOUD Help Center presents technical documents to help you quickly get started with HUAWEI CLOUD services. The technical documents include Service Overview, Price Details, Purchase Guide, User Guide, API Reference, Best Practices, FAQs, and Videos.", + "doc_type":"usermanual", "kw":"Monitoring", "title":"Monitoring", "githuburl":"" @@ -242,7 +282,7 @@ { "uri":"dis_01_0131.html", "product_code":"dis", - "code":"25", + "code":"29", "des":"This section describes metrics reported by DIS to Cloud Eye as well as their namespaces and dimensions. You can use Cloud Eye to query metric information generated for DI", "doc_type":"usermanual", "kw":"Supported Metrics,Monitoring,User Guide", @@ -252,7 +292,7 @@ { "uri":"dis_01_0132.html", "product_code":"dis", - "code":"26", + "code":"30", "des":"You can customize the monitored objects and notification policies by setting alarm rules to learn DIS running status in a timely manner.A DIS alarm rule includes the alar", "doc_type":"usermanual", "kw":"Setting Alarm Rules,Monitoring,User Guide", @@ -262,7 +302,7 @@ { "uri":"dis_01_0134.html", "product_code":"dis", - "code":"27", + "code":"31", "des":"Cloud Eye monitors the running status of the DIS stream. You can obtain the monitoring metrics of CDM on the Cloud Eye management console.Monitored data requires a period", "doc_type":"usermanual", "kw":"Querying Metrics,Monitoring,User Guide", @@ -272,7 +312,7 @@ { "uri":"dis_06_0011.html", "product_code":"dis", - "code":"28", + "code":"32", "des":"HUAWEI CLOUD Help Center presents technical documents to help you quickly get started with HUAWEI CLOUD services. The technical documents include Service Overview, Price Details, Purchase Guide, User Guide, API Reference, Best Practices, FAQs, and Videos.", "doc_type":"usermanual", "kw":"DIS SDK Usage Guide", @@ -282,7 +322,7 @@ { "uri":"dis_06_0005.html", "product_code":"dis", - "code":"29", + "code":"33", "des":"Data Ingestion Service Software Development Kit (DIS SDK) is the encapsulation of RESTful APIs provided by DIS to simplify development. You can use DIS by calling API fun", "doc_type":"usermanual", "kw":"Downloading SDKs,DIS SDK Usage Guide,User Guide", @@ -292,7 +332,7 @@ { "uri":"dis_06_0012.html", "product_code":"dis", - "code":"30", + "code":"34", "des":"Download JDK1.8 or a later version from the Oracle official website, install it and configure Java environment variables.Download the latest version of Eclipse IDE for Ja", "doc_type":"usermanual", "kw":"Preparing the Environment,DIS SDK Usage Guide,User Guide", @@ -302,7 +342,7 @@ { "uri":"dis_06_0020.html", "product_code":"dis", - "code":"31", + "code":"35", "des":"The DIS SDK provides compatibility with native kafka client APIs.", "doc_type":"usermanual", "kw":"Connecting to kafka consumer,DIS SDK Usage Guide,User Guide", @@ -312,7 +352,7 @@ { "uri":"dis_06_0013.html", "product_code":"dis", - "code":"32", + "code":"36", "des":"Download the dis-sdk-1.2.3.zip package from the URL noted in section Downloading SDKs. The package provides a sample project. You can use a development tool (such as Ecli", "doc_type":"usermanual", "kw":"Configuring Sample Projects,DIS SDK Usage Guide,User Guide", @@ -322,7 +362,7 @@ { "uri":"dis_06_0014.html", "product_code":"dis", - "code":"33", + "code":"37", "des":"HUAWEI CLOUD Help Center presents technical documents to help you quickly get started with HUAWEI CLOUD services. The technical documents include Service Overview, Price Details, Purchase Guide, User Guide, API Reference, Best Practices, FAQs, and Videos.", "doc_type":"usermanual", "kw":"Importing Third-party Dependency Packages,DIS SDK Usage Guide,User Guide", @@ -332,7 +372,7 @@ { "uri":"dis_06_0015.html", "product_code":"dis", - "code":"34", + "code":"38", "des":"You can use one of the following methods to initialize a DIS SDK client instance: For details about endpoint, ak, sk, region, and projectId, see Obtaining Authentication ", "doc_type":"usermanual", "kw":"Initializing a DIS Client,DIS SDK Usage Guide,User Guide", @@ -342,7 +382,7 @@ { "uri":"dis_06_0501.html", "product_code":"dis", - "code":"35", + "code":"39", "des":"Initialize a DIS client instance named dic. For details, see Initializing a DIS Client.When you use the DIS SDK to create a DIS stream, specify the stream name, number of", "doc_type":"usermanual", "kw":"Creating a Stream,DIS SDK Usage Guide,User Guide", @@ -352,7 +392,7 @@ { "uri":"dis_06_0502.html", "product_code":"dis", - "code":"36", + "code":"40", "des":"Initialize a DIS client instance named dic. For details, see Initializing a DIS Client.Use the DIS SDK to delete a specified DIS stream.After configuring DeleteStreamRequ", "doc_type":"usermanual", "kw":"Deleting a Stream,DIS SDK Usage Guide,User Guide", @@ -362,7 +402,7 @@ { "uri":"dis_06_0503.html", "product_code":"dis", - "code":"37", + "code":"41", "des":"Initialize a DIS client instance named dic. For details, see Initializing a DIS Client.Use the DIS SDK to list active streams.Use the setLimit method to set the number of", "doc_type":"usermanual", "kw":"Querying a Stream List,DIS SDK Usage Guide,User Guide", @@ -372,7 +412,7 @@ { "uri":"dis_06_0504.html", "product_code":"dis", - "code":"38", + "code":"42", "des":"Initialize a DIS client instance named dic. For details, see Initializing a DIS Client.Use the DIS SDK to query the details about a specified stream.The returned stream d", "doc_type":"usermanual", "kw":"Querying Stream Details,DIS SDK Usage Guide,User Guide", @@ -382,7 +422,7 @@ { "uri":"dis_06_0016.html", "product_code":"dis", - "code":"39", + "code":"43", "des":"Use the initialized client instance to upload your streaming data to DIS. The sample code is available in the ProducerDemo.java file in the dis-sdk-demo\\src\\com\\bigdata\\d", "doc_type":"usermanual", "kw":"Uploading Streaming Data,DIS SDK Usage Guide,User Guide", @@ -392,7 +432,7 @@ { "uri":"dis_06_0017.html", "product_code":"dis", - "code":"40", + "code":"44", "des":"Use the initialized client instance to obtain data through the DIS stream. The sample code is available in the ConsumerDemo.java file under the dis-sdk-demo\\src\\main\\java", "doc_type":"usermanual", "kw":"Downloading Streaming Data,DIS SDK Usage Guide,User Guide", @@ -402,7 +442,7 @@ { "uri":"dis_06_0022.html", "product_code":"dis", - "code":"41", + "code":"45", "des":"HUAWEI CLOUD Help Center presents technical documents to help you quickly get started with HUAWEI CLOUD services. The technical documents include Service Overview, Price Details, Purchase Guide, User Guide, API Reference, Best Practices, FAQs, and Videos.", "doc_type":"usermanual", "kw":"Uploading Real-Time Files", @@ -412,7 +452,7 @@ { "uri":"dis_06_0506.html", "product_code":"dis", - "code":"42", + "code":"46", "des":"In the Project Explorer pane, right-click com.bigdata.dis.sdk.demo, and choose New > Class from the shortcut menu. The New Java Class dialog box is displayed. Set the cat", "doc_type":"usermanual", "kw":"Creating a Demo Class,Uploading Real-Time Files,User Guide", @@ -422,7 +462,7 @@ { "uri":"dis_06_0023.html", "product_code":"dis", - "code":"43", + "code":"47", "des":"Initialize a DIS SDK asynchronous client instance. For details about endpoint, ak, sk, region, and projectId, see Obtaining Authentication Information.//Create a DIS clie", "doc_type":"usermanual", "kw":"Initializing a DIS SDK Asynchronous Client Instance,Uploading Real-Time Files,User Guide", @@ -432,7 +472,7 @@ { "uri":"dis_06_0507.html", "product_code":"dis", - "code":"44", + "code":"48", "des":"You must use the enabled stream to transmit real-time files. Here, fileUploadStream is used as an example.The value of streamName must be the same as that of Stream Name ", "doc_type":"usermanual", "kw":"Uploading Files,Uploading Real-Time Files,User Guide", @@ -442,7 +482,7 @@ { "uri":"dis_06_0505.html", "product_code":"dis", - "code":"45", + "code":"49", "des":"Initialize a DIS client instance named dic. For details, see Initializing a DIS Client.Use the DIS SDK to obtain the information about the data cursor.", "doc_type":"usermanual", "kw":"Obtaining the Data Cursor,DIS SDK Usage Guide,User Guide", @@ -452,17 +492,177 @@ { "uri":"en-us_topic_0124374673.html", "product_code":"dis", - "code":"46", + "code":"50", "des":"HUAWEI CLOUD Help Center presents technical documents to help you quickly get started with HUAWEI CLOUD services. The technical documents include Service Overview, Price Details, Purchase Guide, User Guide, API Reference, Best Practices, FAQs, and Videos.", "doc_type":"usermanual", - "kw":"FAQs,User Guide", + "kw":"FAQs", "title":"FAQs", "githuburl":"" }, + { + "uri":"dis_faq_0011.html", + "product_code":"", + "code":"51", + "des":"HUAWEI CLOUD Help Center presents technical documents to help you quickly get started with HUAWEI CLOUD services. The technical documents include Service Overview, Price Details, Purchase Guide, User Guide, API Reference, Best Practices, FAQs, and Videos.", + "doc_type":"", + "kw":"General Questions", + "title":"General Questions", + "githuburl":"" + }, + { + "uri":"dis_faq_0001.html", + "product_code":"dis", + "code":"52", + "des":"Data Ingestion Service (DIS) addresses the challenge of transmitting data from outside the cloud to inside the cloud. DIS builds data intake streams for custom applicatio", + "doc_type":"faq", + "kw":"What Is DIS?,General Questions,User Guide", + "title":"What Is DIS?", + "githuburl":"" + }, + { + "uri":"dis_faq_0002.html", + "product_code":"dis", + "code":"53", + "des":"Partitions are the base throughput unit of a DIS stream. When creating a DIS stream, you are expected to specify the number of partitions needed within your stream.By def", + "doc_type":"faq", + "kw":"What Is a Partition?,General Questions,User Guide", + "title":"What Is a Partition?", + "githuburl":"" + }, + { + "uri":"dis_faq_0004.html", + "product_code":"dis", + "code":"54", + "des":"You can use DIS for rapid data intake from producers and continuous data processing. The following are typical scenarios for using DIS:Accelerated log or data transmissio", + "doc_type":"faq", + "kw":"What Can I Do with DIS?,General Questions,User Guide", + "title":"What Can I Do with DIS?", + "githuburl":"" + }, + { + "uri":"dis_faq_0005.html", + "product_code":"dis", + "code":"55", + "des":"Scalable: A DIS stream can seamlessly scale its data throughput from megabytes to terabytes per hour, and from thousands to millions of PUT records per second.Easy to use", + "doc_type":"faq", + "kw":"What Advantages Does DIS Have?,General Questions,User Guide", + "title":"What Advantages Does DIS Have?", + "githuburl":"" + }, + { + "uri":"dis_faq_0008.html", + "product_code":"dis", + "code":"56", + "des":"Service controlCreates, deletes, and configures DIS streams; synchronizes user information to the data planeAllocates resources on the data plane and automatically deploy", + "doc_type":"faq", + "kw":"Which Modules Do DIS Have?,General Questions,User Guide", + "title":"Which Modules Do DIS Have?", + "githuburl":"" + }, + { + "uri":"dis_faq_0009.html", + "product_code":"dis", + "code":"57", + "des":"This section describes how to verify integrity of the DIS SDK software package on a Linux system by using a verification file.The PuTTY tool is available.The WinSCP tool ", + "doc_type":"faq", + "kw":"How Do I Check Software Package Integrity?,General Questions,User Guide", + "title":"How Do I Check Software Package Integrity?", + "githuburl":"" + }, + { + "uri":"dis_faq_0003.html", + "product_code":"dis", + "code":"58", + "des":"Verify integrity of the DIS SDK software package by following the procedure in How Do I Check Software Package Integrity?Download link of the DIS SDK software package:htt", + "doc_type":"faq", + "kw":"How Do I Send and Retrieve Data Using DIS?,General Questions,User Guide", + "title":"How Do I Send and Retrieve Data Using DIS?", + "githuburl":"" + }, + { + "uri":"dis_faq_0012.html", + "product_code":"", + "code":"59", + "des":"HUAWEI CLOUD Help Center presents technical documents to help you quickly get started with HUAWEI CLOUD services. The technical documents include Service Overview, Price Details, Purchase Guide, User Guide, API Reference, Best Practices, FAQs, and Videos.", + "doc_type":"", + "kw":"Dump Questions", + "title":"Dump Questions", + "githuburl":"" + }, + { + "uri":"dis_faq_0017.html", + "product_code":"", + "code":"60", + "des":"A source data schema is a user's JSON data sample used to describe the JSON data format. DIS can generate the Avro schema based on the JSON data sample. By default, the d", + "doc_type":"", + "kw":"How Does a Schema Support Default Fields or NULL Fields?,Dump Questions,User Guide", + "title":"How Does a Schema Support Default Fields or NULL Fields?", + "githuburl":"" + }, + { + "uri":"dis_faq_0019.html", + "product_code":"", + "code":"61", + "des":"By stream: Different types of data use different streams and can be distinguished by stream.By partition: Different types of data use different partitions on one stream. ", + "doc_type":"", + "kw":"How Do I Distinguish Different Types of Data When Accessing Data in Streams?,Dump Questions,User Gui", + "title":"How Do I Distinguish Different Types of Data When Accessing Data in Streams?", + "githuburl":"" + }, + { + "uri":"dis_faq_0025.html", + "product_code":"", + "code":"62", + "des":"On DIS Agent, set directoryRecursionEnabled to true. For example, the following configuration can match /home/one.log, /home/child/two.log, and /home/child/child/three.lo", + "doc_type":"", + "kw":"How Can I Configure Recursive Listening for Directories on DIS Agent?,Dump Questions,User Guide", + "title":"How Can I Configure Recursive Listening for Directories on DIS Agent?", + "githuburl":"" + }, + { + "uri":"dis_faq_0013.html", + "product_code":"", + "code":"63", + "des":"HUAWEI CLOUD Help Center presents technical documents to help you quickly get started with HUAWEI CLOUD services. The technical documents include Service Overview, Price Details, Purchase Guide, User Guide, API Reference, Best Practices, FAQs, and Videos.", + "doc_type":"", + "kw":"DIS Agent Questions", + "title":"DIS Agent Questions", + "githuburl":"" + }, + { + "uri":"dis_faq_0014.html", + "product_code":"", + "code":"64", + "des":"DIS Agent can listen to multiple directories or files. For example, to collect logs of the /home/folder1/file1 and /home/folder2/file2 files, configure multiple DIS strea", + "doc_type":"", + "kw":"How Can I Configure Agent to Listen To Multiple Directories or Files?,DIS Agent Questions,User Guide", + "title":"How Can I Configure Agent to Listen To Multiple Directories or Files?", + "githuburl":"" + }, + { + "uri":"dis_faq_0015.html", + "product_code":"", + "code":"65", + "des":"On DIS Agent, set directoryRecursionEnabled to true. For example, the following configuration can match /home/one.log, /home/child/two.log, and /home/child/child/three.lo", + "doc_type":"", + "kw":"How Can I Configure Recursive Listening for Directories on DIS Agent?,DIS Agent Questions,User Guide", + "title":"How Can I Configure Recursive Listening for Directories on DIS Agent?", + "githuburl":"" + }, + { + "uri":"dis_faq_0021.html", + "product_code":"", + "code":"66", + "des":"Secret Access Key (SK) is sensitive information. To encrypt the SK, perform the following steps:cd /opt/dis-agent-X.X.X/binbash dis-encrypt.sh", + "doc_type":"", + "kw":"How Do I Use Agent to Encrypt AK/SK?,DIS Agent Questions,User Guide", + "title":"How Do I Use Agent to Encrypt AK/SK?", + "githuburl":"" + }, { "uri":"dis_01_0014.html", "product_code":"dis", - "code":"47", + "code":"67", "des":"HUAWEI CLOUD Help Center presents technical documents to help you quickly get started with HUAWEI CLOUD services. The technical documents include Service Overview, Price Details, Purchase Guide, User Guide, API Reference, Best Practices, FAQs, and Videos.", "doc_type":"usermanual", "kw":"Change History,User Guide", diff --git a/docs/dis/umn/CLASS.TXT.json b/docs/dis/umn/CLASS.TXT.json index 942e8a66..28517834 100644 --- a/docs/dis/umn/CLASS.TXT.json +++ b/docs/dis/umn/CLASS.TXT.json @@ -99,7 +99,7 @@ "code":"11" }, { - "desc":"Local data is continuously uploaded to DIS.Data can be stored in DIS, OBS, and DLI. For details about how to configure a storage location, see Creating a Dump Task.The ma", + "desc":"Local data is continuously uploaded to DIS.Data can be stored in DIS, OBS, and DLI. For how to configure a storage location, see Creating a Dump Task.The maximum number o", "product_code":"dis", "title":"Step 3: Sending Data to DIS", "uri":"dis_01_0603.html", @@ -206,6 +206,42 @@ "p_code":"22", "code":"23" }, + { + "desc":"HUAWEI CLOUD Help Center presents technical documents to help you quickly get started with HUAWEI CLOUD services. The technical documents include Service Overview, Price Details, Purchase Guide, User Guide, API Reference, Best Practices, FAQs, and Videos.", + "product_code":"dis", + "title":"Notifying Events", + "uri":"dis_01_0051.html", + "doc_type":"usermanual", + "p_code":"", + "code":"24" + }, + { + "desc":"DIS uses Simple Message Notification (SMN) to send notifications of DIS events. In a subscription, you need to specify one or more event filtering conditions. When an eve", + "product_code":"dis", + "title":"Event Notification Overview", + "uri":"dis_01_0052.html", + "doc_type":"usermanual", + "p_code":"24", + "code":"25" + }, + { + "desc":"After enabling Notification for subscribed events, you will receive notifications by email or SMS when management, monitoring, or security events occur in a specific clus", + "product_code":"dis", + "title":"Setting Notification", + "uri":"dis_01_0053.html", + "doc_type":"usermanual", + "p_code":"24", + "code":"26" + }, + { + "desc":"This section describes how to search for events that occur in a stream or dump task.In the Event Levels drop-down list, select All, Normal, or WarningIn the Event source ", + "product_code":"dis", + "title":"Viewing Events", + "uri":"dis_01_0054.html", + "doc_type":"usermanual", + "p_code":"24", + "code":"27" + }, { "desc":"HUAWEI CLOUD Help Center presents technical documents to help you quickly get started with HUAWEI CLOUD services. The technical documents include Service Overview, Price Details, Purchase Guide, User Guide, API Reference, Best Practices, FAQs, and Videos.", "product_code":"dis", @@ -213,7 +249,7 @@ "uri":"dis_01_0130.html", "doc_type":"usermanual", "p_code":"", - "code":"24" + "code":"28" }, { "desc":"This section describes metrics reported by DIS to Cloud Eye as well as their namespaces and dimensions. You can use Cloud Eye to query metric information generated for DI", @@ -221,8 +257,8 @@ "title":"Supported Metrics", "uri":"dis_01_0131.html", "doc_type":"usermanual", - "p_code":"24", - "code":"25" + "p_code":"28", + "code":"29" }, { "desc":"You can customize the monitored objects and notification policies by setting alarm rules to learn DIS running status in a timely manner.A DIS alarm rule includes the alar", @@ -230,8 +266,8 @@ "title":"Setting Alarm Rules", "uri":"dis_01_0132.html", "doc_type":"usermanual", - "p_code":"24", - "code":"26" + "p_code":"28", + "code":"30" }, { "desc":"Cloud Eye monitors the running status of the DIS stream. You can obtain the monitoring metrics of CDM on the Cloud Eye management console.Monitored data requires a period", @@ -239,8 +275,8 @@ "title":"Querying Metrics", "uri":"dis_01_0134.html", "doc_type":"usermanual", - "p_code":"24", - "code":"27" + "p_code":"28", + "code":"31" }, { "desc":"HUAWEI CLOUD Help Center presents technical documents to help you quickly get started with HUAWEI CLOUD services. The technical documents include Service Overview, Price Details, Purchase Guide, User Guide, API Reference, Best Practices, FAQs, and Videos.", @@ -249,7 +285,7 @@ "uri":"dis_06_0011.html", "doc_type":"usermanual", "p_code":"", - "code":"28" + "code":"32" }, { "desc":"Data Ingestion Service Software Development Kit (DIS SDK) is the encapsulation of RESTful APIs provided by DIS to simplify development. You can use DIS by calling API fun", @@ -257,8 +293,8 @@ "title":"Downloading SDKs", "uri":"dis_06_0005.html", "doc_type":"usermanual", - "p_code":"28", - "code":"29" + "p_code":"32", + "code":"33" }, { "desc":"Download JDK1.8 or a later version from the Oracle official website, install it and configure Java environment variables.Download the latest version of Eclipse IDE for Ja", @@ -266,8 +302,8 @@ "title":"Preparing the Environment", "uri":"dis_06_0012.html", "doc_type":"usermanual", - "p_code":"28", - "code":"30" + "p_code":"32", + "code":"34" }, { "desc":"The DIS SDK provides compatibility with native kafka client APIs.", @@ -275,8 +311,8 @@ "title":"Connecting to kafka consumer", "uri":"dis_06_0020.html", "doc_type":"usermanual", - "p_code":"28", - "code":"31" + "p_code":"32", + "code":"35" }, { "desc":"Download the dis-sdk-1.2.3.zip package from the URL noted in section Downloading SDKs. The package provides a sample project. You can use a development tool (such as Ecli", @@ -284,8 +320,8 @@ "title":"Configuring Sample Projects", "uri":"dis_06_0013.html", "doc_type":"usermanual", - "p_code":"28", - "code":"32" + "p_code":"32", + "code":"36" }, { "desc":"HUAWEI CLOUD Help Center presents technical documents to help you quickly get started with HUAWEI CLOUD services. The technical documents include Service Overview, Price Details, Purchase Guide, User Guide, API Reference, Best Practices, FAQs, and Videos.", @@ -293,8 +329,8 @@ "title":"Importing Third-party Dependency Packages", "uri":"dis_06_0014.html", "doc_type":"usermanual", - "p_code":"28", - "code":"33" + "p_code":"32", + "code":"37" }, { "desc":"You can use one of the following methods to initialize a DIS SDK client instance: For details about endpoint, ak, sk, region, and projectId, see Obtaining Authentication ", @@ -302,8 +338,8 @@ "title":"Initializing a DIS Client", "uri":"dis_06_0015.html", "doc_type":"usermanual", - "p_code":"28", - "code":"34" + "p_code":"32", + "code":"38" }, { "desc":"Initialize a DIS client instance named dic. For details, see Initializing a DIS Client.When you use the DIS SDK to create a DIS stream, specify the stream name, number of", @@ -311,8 +347,8 @@ "title":"Creating a Stream", "uri":"dis_06_0501.html", "doc_type":"usermanual", - "p_code":"28", - "code":"35" + "p_code":"32", + "code":"39" }, { "desc":"Initialize a DIS client instance named dic. For details, see Initializing a DIS Client.Use the DIS SDK to delete a specified DIS stream.After configuring DeleteStreamRequ", @@ -320,8 +356,8 @@ "title":"Deleting a Stream", "uri":"dis_06_0502.html", "doc_type":"usermanual", - "p_code":"28", - "code":"36" + "p_code":"32", + "code":"40" }, { "desc":"Initialize a DIS client instance named dic. For details, see Initializing a DIS Client.Use the DIS SDK to list active streams.Use the setLimit method to set the number of", @@ -329,8 +365,8 @@ "title":"Querying a Stream List", "uri":"dis_06_0503.html", "doc_type":"usermanual", - "p_code":"28", - "code":"37" + "p_code":"32", + "code":"41" }, { "desc":"Initialize a DIS client instance named dic. For details, see Initializing a DIS Client.Use the DIS SDK to query the details about a specified stream.The returned stream d", @@ -338,8 +374,8 @@ "title":"Querying Stream Details", "uri":"dis_06_0504.html", "doc_type":"usermanual", - "p_code":"28", - "code":"38" + "p_code":"32", + "code":"42" }, { "desc":"Use the initialized client instance to upload your streaming data to DIS. The sample code is available in the ProducerDemo.java file in the dis-sdk-demo\\src\\com\\bigdata\\d", @@ -347,8 +383,8 @@ "title":"Uploading Streaming Data", "uri":"dis_06_0016.html", "doc_type":"usermanual", - "p_code":"28", - "code":"39" + "p_code":"32", + "code":"43" }, { "desc":"Use the initialized client instance to obtain data through the DIS stream. The sample code is available in the ConsumerDemo.java file under the dis-sdk-demo\\src\\main\\java", @@ -356,8 +392,8 @@ "title":"Downloading Streaming Data", "uri":"dis_06_0017.html", "doc_type":"usermanual", - "p_code":"28", - "code":"40" + "p_code":"32", + "code":"44" }, { "desc":"HUAWEI CLOUD Help Center presents technical documents to help you quickly get started with HUAWEI CLOUD services. The technical documents include Service Overview, Price Details, Purchase Guide, User Guide, API Reference, Best Practices, FAQs, and Videos.", @@ -365,8 +401,8 @@ "title":"Uploading Real-Time Files", "uri":"dis_06_0022.html", "doc_type":"usermanual", - "p_code":"28", - "code":"41" + "p_code":"32", + "code":"45" }, { "desc":"In the Project Explorer pane, right-click com.bigdata.dis.sdk.demo, and choose New > Class from the shortcut menu. The New Java Class dialog box is displayed. Set the cat", @@ -374,8 +410,8 @@ "title":"Creating a Demo Class", "uri":"dis_06_0506.html", "doc_type":"usermanual", - "p_code":"41", - "code":"42" + "p_code":"45", + "code":"46" }, { "desc":"Initialize a DIS SDK asynchronous client instance. For details about endpoint, ak, sk, region, and projectId, see Obtaining Authentication Information.//Create a DIS clie", @@ -383,8 +419,8 @@ "title":"Initializing a DIS SDK Asynchronous Client Instance", "uri":"dis_06_0023.html", "doc_type":"usermanual", - "p_code":"41", - "code":"43" + "p_code":"45", + "code":"47" }, { "desc":"You must use the enabled stream to transmit real-time files. Here, fileUploadStream is used as an example.The value of streamName must be the same as that of Stream Name ", @@ -392,8 +428,8 @@ "title":"Uploading Files", "uri":"dis_06_0507.html", "doc_type":"usermanual", - "p_code":"41", - "code":"44" + "p_code":"45", + "code":"48" }, { "desc":"Initialize a DIS client instance named dic. For details, see Initializing a DIS Client.Use the DIS SDK to obtain the information about the data cursor.", @@ -401,8 +437,8 @@ "title":"Obtaining the Data Cursor", "uri":"dis_06_0505.html", "doc_type":"usermanual", - "p_code":"28", - "code":"45" + "p_code":"32", + "code":"49" }, { "desc":"HUAWEI CLOUD Help Center presents technical documents to help you quickly get started with HUAWEI CLOUD services. The technical documents include Service Overview, Price Details, Purchase Guide, User Guide, API Reference, Best Practices, FAQs, and Videos.", @@ -411,7 +447,151 @@ "uri":"en-us_topic_0124374673.html", "doc_type":"usermanual", "p_code":"", - "code":"46" + "code":"50" + }, + { + "desc":"HUAWEI CLOUD Help Center presents technical documents to help you quickly get started with HUAWEI CLOUD services. The technical documents include Service Overview, Price Details, Purchase Guide, User Guide, API Reference, Best Practices, FAQs, and Videos.", + "product_code":"dis", + "title":"General Questions", + "uri":"dis_faq_0011.html", + "doc_type":"usermanual", + "p_code":"50", + "code":"51" + }, + { + "desc":"Data Ingestion Service (DIS) addresses the challenge of transmitting data from outside the cloud to inside the cloud. DIS builds data intake streams for custom applicatio", + "product_code":"dis", + "title":"What Is DIS?", + "uri":"dis_faq_0001.html", + "doc_type":"usermanual", + "p_code":"51", + "code":"52" + }, + { + "desc":"Partitions are the base throughput unit of a DIS stream. When creating a DIS stream, you are expected to specify the number of partitions needed within your stream.By def", + "product_code":"dis", + "title":"What Is a Partition?", + "uri":"dis_faq_0002.html", + "doc_type":"usermanual", + "p_code":"51", + "code":"53" + }, + { + "desc":"You can use DIS for rapid data intake from producers and continuous data processing. The following are typical scenarios for using DIS:Accelerated log or data transmissio", + "product_code":"dis", + "title":"What Can I Do with DIS?", + "uri":"dis_faq_0004.html", + "doc_type":"usermanual", + "p_code":"51", + "code":"54" + }, + { + "desc":"Scalable: A DIS stream can seamlessly scale its data throughput from megabytes to terabytes per hour, and from thousands to millions of PUT records per second.Easy to use", + "product_code":"dis", + "title":"What Advantages Does DIS Have?", + "uri":"dis_faq_0005.html", + "doc_type":"usermanual", + "p_code":"51", + "code":"55" + }, + { + "desc":"Service controlCreates, deletes, and configures DIS streams; synchronizes user information to the data planeAllocates resources on the data plane and automatically deploy", + "product_code":"dis", + "title":"Which Modules Do DIS Have?", + "uri":"dis_faq_0008.html", + "doc_type":"usermanual", + "p_code":"51", + "code":"56" + }, + { + "desc":"This section describes how to verify integrity of the DIS SDK software package on a Linux system by using a verification file.The PuTTY tool is available.The WinSCP tool ", + "product_code":"dis", + "title":"How Do I Check Software Package Integrity?", + "uri":"dis_faq_0009.html", + "doc_type":"usermanual", + "p_code":"51", + "code":"57" + }, + { + "desc":"Verify integrity of the DIS SDK software package by following the procedure in How Do I Check Software Package Integrity?Download link of the DIS SDK software package:htt", + "product_code":"dis", + "title":"How Do I Send and Retrieve Data Using DIS?", + "uri":"dis_faq_0003.html", + "doc_type":"usermanual", + "p_code":"51", + "code":"58" + }, + { + "desc":"HUAWEI CLOUD Help Center presents technical documents to help you quickly get started with HUAWEI CLOUD services. The technical documents include Service Overview, Price Details, Purchase Guide, User Guide, API Reference, Best Practices, FAQs, and Videos.", + "product_code":"dis", + "title":"Dump Questions", + "uri":"dis_faq_0012.html", + "doc_type":"usermanual", + "p_code":"50", + "code":"59" + }, + { + "desc":"A source data schema is a user's JSON data sample used to describe the JSON data format. DIS can generate the Avro schema based on the JSON data sample. By default, the d", + "product_code":"dis", + "title":"How Does a Schema Support Default Fields or NULL Fields?", + "uri":"dis_faq_0017.html", + "doc_type":"usermanual", + "p_code":"59", + "code":"60" + }, + { + "desc":"By stream: Different types of data use different streams and can be distinguished by stream.By partition: Different types of data use different partitions on one stream. ", + "product_code":"dis", + "title":"How Do I Distinguish Different Types of Data When Accessing Data in Streams?", + "uri":"dis_faq_0019.html", + "doc_type":"usermanual", + "p_code":"59", + "code":"61" + }, + { + "desc":"On DIS Agent, set directoryRecursionEnabled to true. For example, the following configuration can match /home/one.log, /home/child/two.log, and /home/child/child/three.lo", + "product_code":"dis", + "title":"How Can I Configure Recursive Listening for Directories on DIS Agent?", + "uri":"dis_faq_0025.html", + "doc_type":"usermanual", + "p_code":"59", + "code":"62" + }, + { + "desc":"HUAWEI CLOUD Help Center presents technical documents to help you quickly get started with HUAWEI CLOUD services. The technical documents include Service Overview, Price Details, Purchase Guide, User Guide, API Reference, Best Practices, FAQs, and Videos.", + "product_code":"dis", + "title":"DIS Agent Questions", + "uri":"dis_faq_0013.html", + "doc_type":"usermanual", + "p_code":"50", + "code":"63" + }, + { + "desc":"DIS Agent can listen to multiple directories or files. For example, to collect logs of the /home/folder1/file1 and /home/folder2/file2 files, configure multiple DIS strea", + "product_code":"dis", + "title":"How Can I Configure Agent to Listen To Multiple Directories or Files?", + "uri":"dis_faq_0014.html", + "doc_type":"usermanual", + "p_code":"63", + "code":"64" + }, + { + "desc":"On DIS Agent, set directoryRecursionEnabled to true. For example, the following configuration can match /home/one.log, /home/child/two.log, and /home/child/child/three.lo", + "product_code":"dis", + "title":"How Can I Configure Recursive Listening for Directories on DIS Agent?", + "uri":"dis_faq_0015.html", + "doc_type":"usermanual", + "p_code":"63", + "code":"65" + }, + { + "desc":"Secret Access Key (SK) is sensitive information. To encrypt the SK, perform the following steps:cd /opt/dis-agent-X.X.X/binbash dis-encrypt.sh", + "product_code":"dis", + "title":"How Do I Use Agent to Encrypt AK/SK?", + "uri":"dis_faq_0021.html", + "doc_type":"usermanual", + "p_code":"63", + "code":"66" }, { "desc":"HUAWEI CLOUD Help Center presents technical documents to help you quickly get started with HUAWEI CLOUD services. The technical documents include Service Overview, Price Details, Purchase Guide, User Guide, API Reference, Best Practices, FAQs, and Videos.", @@ -420,6 +600,6 @@ "uri":"dis_01_0014.html", "doc_type":"usermanual", "p_code":"", - "code":"47" + "code":"67" } ] \ No newline at end of file diff --git a/docs/dis/umn/dis_01_0014.html b/docs/dis/umn/dis_01_0014.html index 4fe273a1..da75a3a3 100644 --- a/docs/dis/umn/dis_01_0014.html +++ b/docs/dis/umn/dis_01_0014.html @@ -52,5 +52,4 @@ -
diff --git a/docs/dis/umn/dis_01_0045.html b/docs/dis/umn/dis_01_0045.html index 01112d87..b9f16761 100644 --- a/docs/dis/umn/dis_01_0045.html +++ b/docs/dis/umn/dis_01_0045.html @@ -5,7 +5,7 @@

Prerequisites

An IAM agency has been created by following the procedure in Creating an IAM Agency. This IAM agency entrusts DIS to access your OBS resources.

-

Data Dumping

You can set Dump Bucket when Creating a Dump Task. If Dump Destination is set to OBS, DIS periodically imports data from DIS streams to OBS.

+

Data Dumping

You can set Dump Bucket when Creating a Dump Task. If Dump Destination is set to OBS, DIS periodically imports data from DIS streams to OBS.

diff --git a/docs/dis/umn/dis_01_0051.html b/docs/dis/umn/dis_01_0051.html new file mode 100644 index 00000000..89805de8 --- /dev/null +++ b/docs/dis/umn/dis_01_0051.html @@ -0,0 +1,15 @@ + + +

Notifying Events

+
+
+ +
+ diff --git a/docs/dis/umn/dis_01_0052.html b/docs/dis/umn/dis_01_0052.html new file mode 100644 index 00000000..0b4e86ed --- /dev/null +++ b/docs/dis/umn/dis_01_0052.html @@ -0,0 +1,107 @@ + + +

Event Notification Overview

+

Overview

DIS uses Simple Message Notification (SMN) to send notifications of DIS events. In a subscription, you need to specify one or more event filtering conditions. When an event that matches all filtering conditions occurs, DIS sends a notification based on the subscription. The filter conditions include the Event Type (for example, Management, Monitoring, or Security), Event Level (for example, Normal or Warning), and Event Source (for example, Stream, Dump task, or User).

+
+

Supported Event Types and Events

Events are records of changes in the tenant's stream status. It can be triggered by a user operation (for example, an audit event), or may be caused by a stream status change (for example, a dump task is abnormal or a dump task is recovered). The following tables list the events and event types supported by DIS:

+
  • The following table lists the events whose Event Source is Stream. +
    + + + + + + + + + + + + + + + + + + + + + + + + + +
    Table 1 Events whose Event Source is Stream

    Event Source

    +

    Event Level

    +

    Event

    +

    Stream

    +

    Warning

    +

    Traffic limited

    +

    Stream

    +

    Warning

    +

    Automatic stream scaling succeeded

    +

    Stream

    +

    Warning

    +

    Automatic stream scaling failed

    +

    Stream

    +

    Warning

    +

    Stream traffic abnormal

    +

    Stream

    +

    Warning

    +

    Stream traffic restored

    +
    +
    +
  • The following table lists the events whose Event Source is Event. +
    + + + + + + + + + +
    Table 2 Events whose Event Source is User

    Event Source

    +

    Event Level

    +

    Event

    +

    User

    +

    Warning

    +

    Quota insufficient

    +
    +
    +
  • The following table lists the events whose Event Source is Dump task. +
    + + + + + + + + + + + + + +
    Table 3 Events whose Event Source is Dump task

    Event Source

    +

    Event Level

    +

    Event

    +

    Dump task

    +

    Normal

    +

    Dump task restored

    +

    Dump task

    +

    Warning

    +

    Dump task abnormal

    +
    +
    +
+
+
+
+ +
+ diff --git a/docs/dis/umn/dis_01_0053.html b/docs/dis/umn/dis_01_0053.html new file mode 100644 index 00000000..6a3c9e9b --- /dev/null +++ b/docs/dis/umn/dis_01_0053.html @@ -0,0 +1,64 @@ + + +

Setting Notification

+

After enabling Notification for subscribed events, you will receive notifications by email or SMS when management, monitoring, or security events occur in a specific cluster or dump task.

+

Creating a Subscription

  1. Use the account to log in to the DIS console.
  2. Click Event Management.
  3. On the Event Management page, choose Subscriptions > Create Subscription.
  4. In the Subscription Settings area, set basic subscription information and event filtering.

    The Events area displays the events filtered by the system based on the subscription settings. +
    + + + + + + + + + + + + + + + + +
    Table 1 Subscription parameters

    Parameter

    +

    Description

    +

    Notification

    +

    Enable or disable event subscription.

    +

    indicates that notification is enabled and indicates that notification is disabled. By default, notification is disabled. After notification is disabled, the system stops sending notifications of subscribed events but does not delete the subscription.

    +

    Subscription Name

    +

    Enter the name of a subscription.

    +
    • The name can contain letters (upper or lower case), digits, hyphens (-), and underscores (_) and must start with a letter or digit.
    • The name contains 1 to 64 characters.
    +

    Subscription Stream

    +

    Specifies whether to enable subscription to alarms of a specified stream.

    +

    indicates that subscription to alarms of a specified stream is enabled. indicates that subscription to alarms of a specified channel is disabled. By default, the function is disabled.

    +

    After this function is enabled, the alarms sent from your specified stream are received, and sent from other streams will not be received.

    +

    Subscription Type

    +

    Two subscription types are supported: SMN and DIS.

    +
    NOTE:
    • If Subscription Type is set to SMN, go to Step 5.
    • If Subscription Type is set to DIS, go to 5 to select a stream.
    +
    +
    +
    +
    +

  5. Select a message notification topic from the SMN Topic drop-down list.

    You can perform the following operations to create a message notification topic as required.

    +
    1. Click Create SMN Topic. The Topics page of SMN is displayed. You can click Create Topic in the upper right corner to create a topic. For details, see section Creating a Topic in the Simple Message Notification User Guide.
    2. In the Operation column of a topic, choose More > Configure Topic Policy and select DIS under Services that can publish messages to this topic to enable SMN to publish DIS topics.
    3. In the row containing the created topic, click Add Subscription to add a subscription to the topic. For details, see Adding a Subscription in the Simple Message Notification User Guide.
    +

  6. Click OK.
+
+

Modifying the Subscription

  1. Choose Event Management > Subscriptions.
  2. In the Operation column of a specified subscription name, choose More > Modify.
  3. On the Subscription Settings page, set the parameters that you want to modify. For details, see Step 4 to Step 6 in section Creating a Subscription.
+
+

Deleting the Subscription

  1. Choose Event Management > Subscriptions.
  2. In the Operation column of a specified subscription name, choose More > Delete. The Delete Subscription dialog box is displayed.

    Figure 1 Confirming deletion
    +

  3. Click OK.
+
+
+
+ +
+ + + \ No newline at end of file diff --git a/docs/dis/umn/dis_01_0054.html b/docs/dis/umn/dis_01_0054.html new file mode 100644 index 00000000..79835954 --- /dev/null +++ b/docs/dis/umn/dis_01_0054.html @@ -0,0 +1,13 @@ + + +

Viewing Events

+

This section describes how to search for events that occur in a stream or dump task.

+
  1. In the navigation tree, choose Event Management > Events. All events are displayed by default.
  2. Select different filter criteria from the drop-down list in the upper right corner of the event list to search for events. Events can be filtered based on the event level or event source.

    • In the Event Levels drop-down list, select All, Normal, or Warning
    • In the Event source drop-down list, select Event source. In the search box, enter a stream name or a dump task name, for example, demo.
    +

  3. Click . The filtered event query results are displayed.
  4. Click on the right of Event and select an event name, for example, Dump task restored to filter the corresponding events.
+
+
+ +
+ diff --git a/docs/dis/umn/dis_01_0131.html b/docs/dis/umn/dis_01_0131.html index 42db9fca..78ef8939 100644 --- a/docs/dis/umn/dis_01_0131.html +++ b/docs/dis/umn/dis_01_0131.html @@ -8,136 +8,136 @@

Metrics

Table 1 lists the DIS metrics.

-
Table 1 DIS metrics

Metric Name

+
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/docs/dis/umn/dis_01_0601.html b/docs/dis/umn/dis_01_0601.html index c81145ea..39e31c49 100644 --- a/docs/dis/umn/dis_01_0601.html +++ b/docs/dis/umn/dis_01_0601.html @@ -70,7 +70,7 @@ diff --git a/docs/dis/umn/dis_01_0602.html b/docs/dis/umn/dis_01_0602.html index 5c29ee17..90494e8d 100644 --- a/docs/dis/umn/dis_01_0602.html +++ b/docs/dis/umn/dis_01_0602.html @@ -12,7 +12,7 @@
  • Configure the basic information about JDK and click Finish.
    • JRE home: JDK installation path.
    • Default VM arguments: JDK running parameters.
  • -

  • Download resource packages.

    Download the DIS SDK from https://dis.obs.eu-de.otc.t-systems.com/dis/download/dis-sdk-1.2.3.zip and its integrity check file from https://dis.obs.eu-de.otctest.t-systems.com/dis/download/dis-sdk-1.2.3.zip.sha256sum.

    +

  • Download resource packages.

    Download the DIS SDK from https://dis.obs.eu-de.otc.t-systems.com/dis/download/dis-sdk-1.2.3.zip and its integrity check file from https://dis.obs.eu-de.otc.t-systems.com/dis/download/dis-sdk-1.2.3.zip.sha256sum.

  • Import the Eclipse project.

    1. Start Eclipse. Choose File > Import. The Import dialog box is displayed.
    1. Choose General > Existing Projects into Workspace and click Next. The Import dialog box is displayed.
    2. Click Browse and select a save location for the dis-sdk-demo sample project. In the Projects area, select a sample project.
      Figure 5 Importing a project
    3. Click Finish.

  • Configure the demo project.

    1. Set the project code to UTF-8.
      1. In the navigation tree, right-click the required project under Project Explorer and choose Properties from the shortcut menu. The Properties for dis-sdk-demo dialog box is displayed.
      2. In the navigation tree, choose Resource. The Resource page is displayed in the right pane.
      3. In the Other drop-down list, select UTF-8.
      4. Click Apply and Close.
      diff --git a/docs/dis/umn/dis_01_0603.html b/docs/dis/umn/dis_01_0603.html index 81017271..35a6c276 100644 --- a/docs/dis/umn/dis_01_0603.html +++ b/docs/dis/umn/dis_01_0603.html @@ -2,7 +2,7 @@

      Step 3: Sending Data to DIS

      Function

      Local data is continuously uploaded to DIS.

      -

      Data can be stored in DIS, OBS, and DLI. For details about how to configure a storage location, see Creating a Dump Task.

      +

      Data can be stored in DIS, OBS, and DLI. For how to configure a storage location, see Creating a Dump Task.

      The maximum number of days for DIS to preserve data cannot exceed Data Retention (days).

      diff --git a/docs/dis/umn/dis_faq_0001.html b/docs/dis/umn/dis_faq_0001.html new file mode 100644 index 00000000..70d8f99b --- /dev/null +++ b/docs/dis/umn/dis_faq_0001.html @@ -0,0 +1,14 @@ + + +

      What Is DIS?

      +

      Data Ingestion Service (DIS) addresses the challenge of transmitting data from outside the cloud to inside the cloud. DIS builds data intake streams for custom applications capable of processing or analyzing streaming data. DIS continuously captures, transmits, and stores terabytes of data from hundreds of thousands of sources every hour, such as logs, Internet of Things (IoT) data, social media feeds, website clickstreams, and location-tracking events.

      +

      Data Flows

      • DIS collects data from multiple data sources in real time.
      • DIS transforms data continuously to OBS for computing, analysis, and storage.
      +
      +
      Figure 1 Data flows
      +
      +
      + +
      + diff --git a/docs/dis/umn/dis_faq_0002.html b/docs/dis/umn/dis_faq_0002.html new file mode 100644 index 00000000..2143db53 --- /dev/null +++ b/docs/dis/umn/dis_faq_0002.html @@ -0,0 +1,13 @@ + + +

      What Is a Partition?

      +

      Partitions are the base throughput unit of a DIS stream. When creating a DIS stream, you are expected to specify the number of partitions needed within your stream.

      +

      By default, each tenant has 1 to 50 partitions. Tenants can configure the number of partitions as required.

      +

      To increase the quota, submit a service ticket. The upper limit is calculated based on the actual load of the cluster.

      +
      +
      + +
      + diff --git a/docs/dis/umn/dis_faq_0003.html b/docs/dis/umn/dis_faq_0003.html new file mode 100644 index 00000000..028545e4 --- /dev/null +++ b/docs/dis/umn/dis_faq_0003.html @@ -0,0 +1,15 @@ + + +

      How Do I Send and Retrieve Data Using DIS?

      +
      1. Create a DIS stream. Obtain your Access Key ID/Secret Access Key (AK/SK) pair from the Identity and Access Management (IAM) service.
      2. Download and decompress the DIS SDK software package.

        Verify integrity of the DIS SDK software package by following the procedure in How Do I Check Software Package Integrity?

        + +

      3. Create a producer project and configure the user AK/SK, endpoint, project ID, region, stream name, and the number of partitions.
      4. Run the producer application to send data.
      5. Create a consumer project and configure the user AK/SK, endpoint, project, region, stream name, partition ID, and startingSequenceNumber.
      6. Run the consumer application to retrieve data.
      +
      +
      + +
      + diff --git a/docs/dis/umn/dis_faq_0004.html b/docs/dis/umn/dis_faq_0004.html new file mode 100644 index 00000000..0c959167 --- /dev/null +++ b/docs/dis/umn/dis_faq_0004.html @@ -0,0 +1,12 @@ + + +

      What Can I Do with DIS?

      +

      You can use DIS for rapid data intake from producers and continuous data processing. The following are typical scenarios for using DIS:

      +
      • Accelerated log or data transmission: Users do not need to wait for batch data processing. Data is put into a DIS stream immediately after it is generated by a data producer, preventing data loss in case of faults in the data producer. For example, system and application logs can be continuously put into a stream and processed within seconds.
      • Real-time metrics and reporting: You can retrieve data from DIS streams for simple data analysis and reporting in real time. For example, your DIS applications can work on metrics and reporting for system and application logs as streaming data is being pushed to DIS streams using application programming interfaces (APIs), rather than wait to receive batches of data.
      • Real-time data analysis: DIS combines the power of parallel processing with the value of real-time data. For example, you can transform data into valuable information and business intelligence by simply putting data into a DIS stream. This can be done in minutes instead of hours or days.
      • Complex stream processing: You can create Directed Acyclic Graphs (DAGs) of DIS applications and streams. This typically involves putting data from one or multiple DIS applications into another stream for downstream processing by a different DIS application.
      +
      +
      + +
      + diff --git a/docs/dis/umn/dis_faq_0005.html b/docs/dis/umn/dis_faq_0005.html new file mode 100644 index 00000000..5bf33518 --- /dev/null +++ b/docs/dis/umn/dis_faq_0005.html @@ -0,0 +1,11 @@ + + +

      What Advantages Does DIS Have?

      +
      • Scalable: A DIS stream can seamlessly scale its data throughput from megabytes to terabytes per hour, and from thousands to millions of PUT records per second.
      • Easy to use: You can create a DIS stream within seconds. It is easy to put data into a stream, and build a data processing application.
      • Low cost: DIS has no upfront cost and you only pay for the resources you use.
      • Parallel processing: DIS allows you to have multiple DIS applications processing the same stream concurrently. For example, you can have one application running real-time analytics and another sending data to OBS from the same stream.
      • DIS preserves data for N*24 hours, reducing the probability of data loss in case of application failures, individual machine failures, or facility failures. The value of N is an integer from 1 to 7.
      +
      +
      + +
      + diff --git a/docs/dis/umn/dis_faq_0008.html b/docs/dis/umn/dis_faq_0008.html new file mode 100644 index 00000000..5c3d7b72 --- /dev/null +++ b/docs/dis/umn/dis_faq_0008.html @@ -0,0 +1,15 @@ + + +

      Which Modules Do DIS Have?

      +
      • Service control
        • Creates, deletes, and configures DIS streams; synchronizes user information to the data plane
        • Allocates resources on the data plane and automatically deploys DIS
        +
      • Data processing
        • Receives user requests; receives and stores authenticated data
        • Receives data read requests and returns the requested data to authorized users
        • Removes old data from DIS streams according to data aging policies
        • Stores user data into Object Storage Service (OBS) according to user options
        +
      • Service maintenance
        • Installs and upgrades DIS
        • Performs configuration, preventive maintenance, monitoring, and log collection and analysis for DIS
        • Processes service orders
        +
      • User SDK
        • Provides Java APIs for users to push and pull data
        • Encrypts data
        +
      +
      +
      + +
      + diff --git a/docs/dis/umn/dis_faq_0009.html b/docs/dis/umn/dis_faq_0009.html new file mode 100644 index 00000000..45b3700d --- /dev/null +++ b/docs/dis/umn/dis_faq_0009.html @@ -0,0 +1,22 @@ + + +

      How Do I Check Software Package Integrity?

      +

      This section describes how to verify integrity of the DIS SDK software package on a Linux system by using a verification file.

      +

      Prerequisites

      • The PuTTY tool is available.
      • The WinSCP tool is available.
      +
      +

      Procedure

      1. Upload the DIS SDK software package sdk-dis-x.x.x1.2.3.zip to any directory on the Linux system by using WinSCP.

        In sdk-dis-x.x.x.zip, x.x.x indicates the version number of the DIS SDK software package.

        +
        +

      2. Log in to the Linux system by using PuTTY. In the directory in which sdk-dis-x.x.x1.2.3.zip is stored, run the following command to obtain the verification code of the DIS SDK software package

        sha256sum sdk-dis-x.x.x.zip

        +

        Example verification code:

        +
        # sha256sum dis-sdk-x.x.x.zip
        +8be2c937e8d78b1a9b99777cee4e7131f8bf231de3f839cf214e7c5b5ba3c088 cloud-sdk-dis-x.x.x.zip
        +

      3. Open the DIS SDK verification file sdk-dis-x.x.x1.2.3.zip.sha256sum and compare it with the verification code obtained in Step 2.

        • If they are consistent, the DIS-SDK compression package has not been tampered with.
        • If they are inconsistent, the DIS SDK software package is tampered with and you need to obtain it again.
        +

      +
      +
      +
      + +
      + diff --git a/docs/dis/umn/dis_faq_0011.html b/docs/dis/umn/dis_faq_0011.html new file mode 100644 index 00000000..aaeaf957 --- /dev/null +++ b/docs/dis/umn/dis_faq_0011.html @@ -0,0 +1,28 @@ + + +

      General Questions

      +

      +
      + + diff --git a/docs/dis/umn/dis_faq_0012.html b/docs/dis/umn/dis_faq_0012.html new file mode 100644 index 00000000..bcb8aa05 --- /dev/null +++ b/docs/dis/umn/dis_faq_0012.html @@ -0,0 +1,19 @@ + + +

      Dump Questions

      +
      + + diff --git a/docs/dis/umn/dis_faq_0013.html b/docs/dis/umn/dis_faq_0013.html new file mode 100644 index 00000000..e2800425 --- /dev/null +++ b/docs/dis/umn/dis_faq_0013.html @@ -0,0 +1,19 @@ + + +

      DIS Agent Questions

      +
      + + diff --git a/docs/dis/umn/dis_faq_0014.html b/docs/dis/umn/dis_faq_0014.html new file mode 100644 index 00000000..5325c7ed --- /dev/null +++ b/docs/dis/umn/dis_faq_0014.html @@ -0,0 +1,27 @@ + + +

      How Can I Configure Agent to Listen To Multiple Directories or Files?

      +

      DIS Agent can listen to multiple directories or files. For example, to collect logs of the /home/folder1/file1 and /home/folder2/file2 files, configure multiple DIS streams.

      +
      ---
      +region: REGION
      +ak: YOUR_AK
      +sk: YOUR_SK
      +projectId: YOUR_PROJECTID
      +endpoint: ENDPOINT
      +flows:
      +  - DISStream: YOUR_STREAM
      +    filePattern: /home/folder1/file1
      +    initialPosition: START_OF_FILE
      +    maxBufferAgeMillis: 5000
      +
      +  - DISStream: YOUR_STREAM
      +    filePattern: /home/folder2/file2
      +    initialPosition: START_OF_FILE
      +    maxBufferAgeMillis: 5000
      +
      +
      + +
      + diff --git a/docs/dis/umn/dis_faq_0015.html b/docs/dis/umn/dis_faq_0015.html new file mode 100644 index 00000000..91d8f05c --- /dev/null +++ b/docs/dis/umn/dis_faq_0015.html @@ -0,0 +1,23 @@ + + +

      How Can I Configure Recursive Listening for Directories on DIS Agent?

      +

      On DIS Agent, set directoryRecursionEnabled to true. For example, the following configuration can match /home/one.log, /home/child/two.log, and /home/child/child/three.log:

      +
      ---
      +region: REGION
      +ak: YOUR_AK
      +sk: YOUR_SK
      +projectId: YOUR_PROJECTID
      +endpoint: ENDPOINT
      +flows:
      +  - DISStream: YOUR_STREAM
      +    filePattern: /home/*.log
      +    directoryRecursionEnabled: true
      +    initialPosition: START_OF_FILE
      +    maxBufferAgeMillis: 5000
      +
      +
      + +
      + diff --git a/docs/dis/umn/dis_faq_0017.html b/docs/dis/umn/dis_faq_0017.html new file mode 100644 index 00000000..59dab6c0 --- /dev/null +++ b/docs/dis/umn/dis_faq_0017.html @@ -0,0 +1,23 @@ + + +

      How Does a Schema Support Default Fields or NULL Fields?

      +

      A source data schema is a user's JSON data sample used to describe the JSON data format. DIS can generate the Avro schema based on the JSON data sample. By default, the default field or NULL is not supported, as shown in Figure 1.

      +
      Figure 1 Example of not supporting the default field
      +

      The type of the key1 field is String (type: string in Avro Schema). If the key1 field in the source data is not transferred or the transferred value is null, the dump task reports an error.

      +

      To enable the schema generated based on the JSON data sample supports the default value or null, select the Convert and Move and click Convert Source Data Sample, as shown in Figure 2.

      +
      Figure 2 Example of supporting the default field
      +

      In this case, the type of the key1 field is Union (type: [null, string] in Avro Schema). If the key1 field in the source data is not transferred or the transferred value is null, null is automatically filled as the default value. The dump task can properly convert the format.

      +
      +
      + +
      + + + \ No newline at end of file diff --git a/docs/dis/umn/dis_faq_0019.html b/docs/dis/umn/dis_faq_0019.html new file mode 100644 index 00000000..7358378b --- /dev/null +++ b/docs/dis/umn/dis_faq_0019.html @@ -0,0 +1,11 @@ + + +

      How Do I Distinguish Different Types of Data When Accessing Data in Streams?

      +
      • By stream: Different types of data use different streams and can be distinguished by stream.
      • By partition: Different types of data use different partitions on one stream. Each partition is assigned one partition key. Different types of data can be distinguished by partition key of each partition.
      +
      +
      + +
      + diff --git a/docs/dis/umn/dis_faq_0021.html b/docs/dis/umn/dis_faq_0021.html new file mode 100644 index 00000000..730ba8c7 --- /dev/null +++ b/docs/dis/umn/dis_faq_0021.html @@ -0,0 +1,14 @@ + + +

      How Do I Use Agent to Encrypt AK/SK?

      +

      Secret Access Key (SK) is sensitive information. To encrypt the SK, perform the following steps:

      +
      1. Go to the bin/ directory.

        cd /opt/dis-agent-X.X.X/bin

        +

      2. Run the encryption script, enter the password, and press Enter.

        bash dis-encrypt.sh

        +

      3. View the encryption result. The character string following "Encrypt result:" displayed on the console is the encryption result. Use this method to encrypt the MySQL password and SK, respectively and record the ciphertext in the configuration file.
      +
      +
      + +
      + diff --git a/docs/dis/umn/dis_faq_0025.html b/docs/dis/umn/dis_faq_0025.html new file mode 100644 index 00000000..4ca1fa3c --- /dev/null +++ b/docs/dis/umn/dis_faq_0025.html @@ -0,0 +1,23 @@ + + +

      How Can I Configure Recursive Listening for Directories on DIS Agent?

      +

      On DIS Agent, set directoryRecursionEnabled to true. For example, the following configuration can match /home/one.log, /home/child/two.log, and /home/child/child/three.log:

      +
      ---
      +region: REGION
      +ak: YOUR_AK
      +sk: YOUR_SK
      +projectId: YOUR_PROJECTID
      +endpoint: ENDPOINT
      +flows:
      +  - DISStream: YOUR_STREAM
      +    filePattern: /home/*.log
      +    directoryRecursionEnabled: true
      +    initialPosition: START_OF_FILE
      +    maxBufferAgeMillis: 5000
      +
      +
      + +
      + diff --git a/docs/dis/umn/en-us_image_0000001199305476.png b/docs/dis/umn/en-us_image_0000001199305476.png new file mode 100644 index 00000000..3e6cfaaf Binary files /dev/null and b/docs/dis/umn/en-us_image_0000001199305476.png differ diff --git a/docs/dis/umn/en-us_image_0000001274606310.png b/docs/dis/umn/en-us_image_0000001274606310.png new file mode 100644 index 00000000..d220666d Binary files /dev/null and b/docs/dis/umn/en-us_image_0000001274606310.png differ diff --git a/docs/dis/umn/en-us_image_0000001274783064.png b/docs/dis/umn/en-us_image_0000001274783064.png new file mode 100644 index 00000000..a5c51c4a Binary files /dev/null and b/docs/dis/umn/en-us_image_0000001274783064.png differ diff --git a/docs/dis/umn/en-us_image_0000001325286261.png b/docs/dis/umn/en-us_image_0000001325286261.png new file mode 100644 index 00000000..a5c51c4a Binary files /dev/null and b/docs/dis/umn/en-us_image_0000001325286261.png differ diff --git a/docs/dis/umn/en-us_image_0000001325622881.png b/docs/dis/umn/en-us_image_0000001325622881.png new file mode 100644 index 00000000..d220666d Binary files /dev/null and b/docs/dis/umn/en-us_image_0000001325622881.png differ diff --git a/docs/dis/umn/en-us_image_0109727712.png b/docs/dis/umn/en-us_image_0109727712.png new file mode 100644 index 00000000..e08d33a6 Binary files /dev/null and b/docs/dis/umn/en-us_image_0109727712.png differ diff --git a/docs/dis/umn/en-us_image_0130822560.png b/docs/dis/umn/en-us_image_0130822560.png new file mode 100644 index 00000000..95de1237 Binary files /dev/null and b/docs/dis/umn/en-us_image_0130822560.png differ diff --git a/docs/dis/umn/en-us_image_0130854869.jpg b/docs/dis/umn/en-us_image_0130854869.jpg new file mode 100644 index 00000000..e4657d7c Binary files /dev/null and b/docs/dis/umn/en-us_image_0130854869.jpg differ diff --git a/docs/dis/umn/en-us_image_0200877126.png b/docs/dis/umn/en-us_image_0200877126.png new file mode 100644 index 00000000..ba0a2e87 Binary files /dev/null and b/docs/dis/umn/en-us_image_0200877126.png differ diff --git a/docs/dis/umn/en-us_image_0200879188.png b/docs/dis/umn/en-us_image_0200879188.png new file mode 100644 index 00000000..a1bbe3a3 Binary files /dev/null and b/docs/dis/umn/en-us_image_0200879188.png differ diff --git a/docs/dis/umn/en-us_topic_0124374673.html b/docs/dis/umn/en-us_topic_0124374673.html index badd291b..a73fc039 100644 --- a/docs/dis/umn/en-us_topic_0124374673.html +++ b/docs/dis/umn/en-us_topic_0124374673.html @@ -1,5 +1,15 @@

      FAQs

      -

      This chapter describes some FAQs.

      +
      +
  • Table 1 DIS metrics

    Metric Name

    Description

    +

    Description

    Value Range

    +

    Value Range

    Monitored Object

    +

    Monitored Object

    Monitoring Period (Raw Data)

    +

    Monitoring Period (Raw Data)

    Total Input Traffic

    +

    Total Input Traffic

    The amount of data uploaded through a stream during a specific period.

    +

    The amount of data uploaded through a stream during a specific period.

    Unit: byte/s

    ≥ 0

    +

    ≥ 0

    Stream

    +

    Stream

    1 minute

    +

    1 minute

    Total Output Traffic

    +

    Total Output Traffic

    The amount of data downloaded through a stream during a specific period.

    +

    The amount of data downloaded through a stream during a specific period.

    Unit: byte/s

    ≥ 0

    +

    ≥ 0

    Stream

    +

    Stream

    1 minute

    +

    1 minute

    Total Input Records

    +

    Total Input Records

    The number of records uploaded through a stream during a specific period.

    +

    The number of records uploaded through a stream during a specific period.

    Unit: count/s

    ≥ 0

    +

    ≥ 0

    Stream

    +

    Stream

    1 minute

    +

    1 minute

    Total Output Records

    +

    Total Output Records

    The number of records downloaded through a stream during a specific period.

    +

    The number of records downloaded through a stream during a specific period.

    Unit: count/s

    ≥ 0

    +

    ≥ 0

    Stream

    +

    Stream

    1 minute

    +

    1 minute

    Successful Upload Requests

    +

    Successful Upload Requests

    The number of successful requests for uploading data through a stream during a specific period.

    +

    The number of successful requests for uploading data through a stream during a specific period.

    Unit: count/s

    ≥ 0

    +

    ≥ 0

    Stream

    +

    Stream

    1 minute

    +

    1 minute

    Successful Download Requests

    +

    Successful Download Requests

    The number of successful requests for downloading data through a stream during a specific period.

    +

    The number of successful requests for downloading data through a stream during a specific period.

    Unit: count/s

    ≥ 0

    +

    ≥ 0

    Stream

    +

    Stream

    1 minute

    +

    1 minute

    Average Processing Time of Upload Requests

    +

    Average Processing Time of Upload Requests

    Average upload request delay of a stream during a specific period.

    +

    Average upload request delay of a stream during a specific period.

    Unit: ms

    0 to 50 ms

    +

    0 to 50 ms

    Stream

    +

    Stream

    1 minute

    +

    1 minute

    Average Processing Time of Download Requests

    +

    Average Processing Time of Download Requests

    Average download request delay of a stream during a specific period.

    +

    Average download request delay of a stream during a specific period.

    Unit: ms

    0 to 50 ms

    +

    0 to 50 ms

    Stream

    +

    Stream

    1 minute

    +

    1 minute

    Throttled Upload Requests

    +

    Throttled Upload Requests

    The number of rejected upload requests due to flow control.

    +

    The number of rejected upload requests due to flow control.

    Unit: count/s

    0 to 1

    +

    0 to 1

    Stream

    +

    Stream

    1 minute

    +

    1 minute

    Throttled Download Requests

    +

    Throttled Download Requests

    The number of rejected download requests due to flow control.

    +

    The number of rejected download requests due to flow control.

    Unit: count/s

    0 to 1

    +

    0 to 1

    Stream

    +

    Stream

    1 minute

    +

    1 minute

    Configure

    Click Configure now. The Tag parameter is displayed.

    -

    For details about how to add a tag, see Managing Stream Tags.

    +

    For details about how to add tags, see Managing Stream Tags.

    -