Root cause analysis in a large-scale production environment is challenging due to the complexity of services running across global data centers. Due to the distributed nature of a large-scale system, the various hardware, software, and tooling logs are often maintained separately, making it difficult to review the logs jointly for understanding production issues. Another challenge in reviewing the logs for identifying issues is the scale - there could easily be millions of entities, each described by hundreds of features. In this paper we present a fast dimensional analysis framework that automates the root cause analysis on structured logs with improved scalability. We first explore item-sets, i.e. combinations of feature values, that could identify groups of samples with sufficient support for the target failures using the Apriori algorithm and a subsequent improvement, FP-Growth. These algorithms were designed for frequent item-set mining and association rule learning over transactional databases. After applying them on structured logs, we select the item-sets that are most unique to the target failures based on lift. We propose pre-processing steps with the use of a large-scale real-time database and post-processing techniques and parallelism to further speed up the analysis and improve interpretability, and demonstrate that such optimization is necessary for handling large-scale production datasets. We have successfully rolled out this approach for root cause investigation purposes in a large-scale infrastructure. We also present the setup and results from multiple production use cases in this paper.
翻译:大规模生产环境中的根根根分析由于全球数据中心服务的复杂性而具有挑战性。由于大规模系统分布性,各种硬件、软件和工具日志往往分开保存,因此难以共同审查日志以了解生产问题。审查日志以查明问题的另一个挑战是规模----每个实体都有数百个特征,很容易有数百万个实体。本文提出一个快速维度分析框架,使结构化日志的根底分析自动化,提高可缩放性。我们首先探讨项目集,即地物值组合,这些集可以确定样品群,对使用Apriori算法和随后的改进即FP-Growth的目标失败提供充分支持。这些算法是为经常项目定的采矿和交易数据库的关联规则学习设计的。在对结构化日志进行应用后,我们选择了对升级目标失败最独特的项目集。我们建议采用预先处理步骤,使用大规模实时数据库和后期处理方法,从而在大规模生产成本分析中能够成功使用。我们从大规模实时数据库和后期分析中可以改进大规模地分析,并顺利地进行这种分析。我们从大规模地分析,在大规模的造价分析中可以改进和平行地分析。