In addition to Weibo, there is also WeChat
Please pay attention
WeChat public account
Shulou
2025-02-28 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Servers >
Share
Shulou(Shulou.com)05/31 Report--
This article introduces the relevant knowledge of "what are the knowledge points of SLS log service". In the operation process of actual cases, many people will encounter such difficulties. Next, let Xiaobian lead you to learn how to deal with these situations! I hope you can read carefully and learn something!
Log service content is divided into: project => logstore => shard
Project: equivalent to a project, can contain multiple logstores.
Logstore: equivalent to a storage space, can contain multiple shards.
Shard: equivalent to cutting storage space.
1. Limitations 1.1 Basic Resource Classification Limitations Remarks Projects A maximum of 50 Projects can be created under each account. You can create up to 200 Logstores in a Project. New Shards can be created * Up to 200 Shards can be created in a Project.
* When console creates Logstore, a Logstore can create up to 10 Shards; when API creates Logstore, a Logstore can create up to 100 Shards. Either way, Shard can be increased by splitting operations. Logtail Configuration can be added to a work order (LogtailConfig). Each Project can create up to 100 Logtail configurations. You can add new log saving time for work order to support permanent saving. You can also customize the log save time, the value range is 1~3000. - MachineGroups A maximum of 100 MachineGroups can be created per Project. Add * Collaborative ConsumerGroup ** Each Logstore can create up to 20 collaborative consumergroups. You can delete unused consumption groups. * SavedSearch * Each Project can create up to 100 SavedSearch. - Dashboards * You can create up to 100 dashboards per Project.
* Each dashboard can contain up to 100 analytical charts. - LogItem* Collected via API: Single LogItem up to 1MB.
* Collected by Logtail: Single LogItem up to 512KB. -* LogItem (Key)* Maximum length is 128Bytes. -* LogItem (Value)* Maximum length is 1MB. -* LogGroup * Maximum length of each LogGroup is 5MB. - Alerts * Each Project can create up to 100 alerts.
* When the alarm mode is SMS, the same mobile phone number can receive up to 50 SMS messages per day.
* When the alarm mode is voice, the same mobile phone number can receive up to 50 voice calls per day.
* When the alarm mode is mailbox, the same mailbox can receive up to 100 mail messages per day. Add 1.2 Data Reading and Writing Classification Restriction Item for Work Order. Remarks Project Write Traffic Protection The maximum write traffic is 30 GB/min. If the limit is exceeded, the status code 403 is returned, indicating Inflow Quota Exceeded. If you have a larger usage requirement, please submit a ticket application.
The maximum number of writes is 600000/min. above
The maximum number of protected readings is 600000 times/min. As above, Shard write traffic is up to 5 MB/s. Non-hard limit, beyond which the system will try to serve as much as possible, but does not guarantee the quality of service.
The maximum number of writes is 500/s. above
Read traffic Read traffic up to 10 MB/s. above
The maximum number of readings is 100/s. 1.3 Query Analysis and Visualization 1.4 Reserved Fields
1.3 & 1.4 See this link in detail
2. Shardshard automatic split: it will automatically split when the following conditions are met
When the amount of data written exceeds the write service capacity of the current Shard and lasts for more than 5 minutes.
The number of shards in the readwrite state in Logstore does not exceed the set maximum total number of shards.
Note: New shards that split within the last 15 minutes will not split automatically.
You can turn on auto-splitting when creating logstore and set the maximum number of shards to split
shard merge
By shrinking the Shard with a merge operation, the logging service automatically finds the adjacent Shard to the right of the specified Shard and merges the two Shards.
When merging shards, you must specify a Shard that is readwrite and cannot be the last Shard that is readwrite.
When the merge is complete, the specified Shard and its neighboring Shard to the right become readonly. At the same time, a new Shard in readwrite state is generated, and the MD5 range of the new Shard covers the range of the original two Shards.
"What are the knowledge points of SLS log service" is introduced here. Thank you for reading. If you want to know more about industry-related knowledge, you can pay attention to the website. Xiaobian will output more high-quality practical articles for everyone!
Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.
Views: 0
*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.
Continue with the installation of the previous hadoop.First, install zookooper1. Decompress zookoope
"Every 5-10 years, there's a rare product, a really special, very unusual product that's the most un
© 2024 shulou.com SLNews company. All rights reserved.