Skip to main content
Top

2021 | OriginalPaper | Chapter

A Logging Overhead Optimization Method Based on Anomaly Detection Model

Authors : Yun Wang, Qianhuizhi Zheng

Published in: Human Centered Computing

Publisher: Springer International Publishing

Activate our intelligent search to find suitable subject content or patents.

search-config
loading …

Abstract

Logs play an important role in system anomaly detection. However, in today’s large-scale software development and production, the cost of logging is non-negligible, and intensive logging in actual production processes will generate a large amount of redundant logs which are useless for anomaly detection. However, the current method of solving related problems is not ideal, and it is only applied when the overhead of the logging has affected the quality of service. Therefore, this paper proposes a method for optimizing logging records for this problem. Under a given budget (defined as the maximum volume of logs allowed to be output in a time interval), using an anomaly detection model based on deep learning and a two-phase filtering mechanism, the method determines whether to log according to the utility score of the log for anomaly detection to save useful logs and discard less useful logs during the system running process. The experimental results show that the proposed method alleviates the logging overhead problem without reducing the logging effectiveness.

Dont have a licence yet? Then find out more about our products and how to get one now:

Springer Professional "Wirtschaft+Technik"

Online-Abonnement

Mit Springer Professional "Wirtschaft+Technik" erhalten Sie Zugriff auf:

  • über 102.000 Bücher
  • über 537 Zeitschriften

aus folgenden Fachgebieten:

  • Automobil + Motoren
  • Bauwesen + Immobilien
  • Business IT + Informatik
  • Elektrotechnik + Elektronik
  • Energie + Nachhaltigkeit
  • Finance + Banking
  • Management + Führung
  • Marketing + Vertrieb
  • Maschinenbau + Werkstoffe
  • Versicherung + Risiko

Jetzt Wissensvorsprung sichern!

Springer Professional "Technik"

Online-Abonnement

Mit Springer Professional "Technik" erhalten Sie Zugriff auf:

  • über 67.000 Bücher
  • über 390 Zeitschriften

aus folgenden Fachgebieten:

  • Automobil + Motoren
  • Bauwesen + Immobilien
  • Business IT + Informatik
  • Elektrotechnik + Elektronik
  • Energie + Nachhaltigkeit
  • Maschinenbau + Werkstoffe




 

Jetzt Wissensvorsprung sichern!

Springer Professional "Wirtschaft"

Online-Abonnement

Mit Springer Professional "Wirtschaft" erhalten Sie Zugriff auf:

  • über 67.000 Bücher
  • über 340 Zeitschriften

aus folgenden Fachgebieten:

  • Bauwesen + Immobilien
  • Business IT + Informatik
  • Finance + Banking
  • Management + Führung
  • Marketing + Vertrieb
  • Versicherung + Risiko




Jetzt Wissensvorsprung sichern!

Literature
1.
go back to reference Mi, H., Wang, H., Zhou, Y., et al.: Toward fine-grained, unsupervised, scalable performance diagnosis for production cloud computing systems. IEEE Trans. Parallel Distrib. Syst. 24(6), 1245–1255 (2013)CrossRef Mi, H., Wang, H., Zhou, Y., et al.: Toward fine-grained, unsupervised, scalable performance diagnosis for production cloud computing systems. IEEE Trans. Parallel Distrib. Syst. 24(6), 1245–1255 (2013)CrossRef
3.
go back to reference Li, H., Shang, W., Hassan, A.E.: Which log level should developers choose for a new logging statement? Empirical Softw. Eng. 22(4), 1684–1716 (2017)CrossRef Li, H., Shang, W., Hassan, A.E.: Which log level should developers choose for a new logging statement? Empirical Softw. Eng. 22(4), 1684–1716 (2017)CrossRef
4.
go back to reference Zhu, J., He, P., Qiang, F., et al.: Learning to log: helping developers make informed logging decisions. In: IEEE/ACM IEEE International Conference on Software Engineering (2015) Zhu, J., He, P., Qiang, F., et al.: Learning to log: helping developers make informed logging decisions. In: IEEE/ACM IEEE International Conference on Software Engineering (2015)
5.
go back to reference Xu, Z., Rodrigues, K., Yu, L., et al.: Log20: fully automated optimal placement of log printing statements under specified overhead threshold. In: The 26th Symposium (2017) Xu, Z., Rodrigues, K., Yu, L., et al.: Log20: fully automated optimal placement of log printing statements under specified overhead threshold. In: The 26th Symposium (2017)
6.
go back to reference Li, H., Chen, T.H., Shang, W., et al.: Studying software logging using topic models. Empirical Softw. Eng. 7, 1–40 (2018)CrossRef Li, H., Chen, T.H., Shang, W., et al.: Studying software logging using topic models. Empirical Softw. Eng. 7, 1–40 (2018)CrossRef
7.
go back to reference Sigelman, H.B., Barroso, L., Burrows, M., et al.: Dapper, a large-scale distributed systems tracing infrastructure (2010) Sigelman, H.B., Barroso, L., Burrows, M., et al.: Dapper, a large-scale distributed systems tracing infrastructure (2010)
8.
go back to reference Hauswirth, M., Chilimbi, T.M.: Low-overhead memory leak detection using adaptive statistical profiling. ACM Sigplan Not. 39(11), 156–164 (2004)CrossRef Hauswirth, M., Chilimbi, T.M.: Low-overhead memory leak detection using adaptive statistical profiling. ACM Sigplan Not. 39(11), 156–164 (2004)CrossRef
9.
go back to reference Arnold, M., Ryder, B.: A framework for reducing the cost of instrumented code, vol. 36 (2003) Arnold, M., Ryder, B.: A framework for reducing the cost of instrumented code, vol. 36 (2003)
10.
go back to reference Wei, X., Ling, H., Fox, A., et al.: Detecting large-scale system problems by mining console logs. In: ACM Sigops Symposium on Operating Systems Principles (2009) Wei, X., Ling, H., Fox, A., et al.: Detecting large-scale system problems by mining console logs. In: ACM Sigops Symposium on Operating Systems Principles (2009)
Metadata
Title
A Logging Overhead Optimization Method Based on Anomaly Detection Model
Authors
Yun Wang
Qianhuizhi Zheng
Copyright Year
2021
DOI
https://doi.org/10.1007/978-3-030-70626-5_37

Premium Partner