Logstash简介 Logstash是具有实时流水线功能的开源数据收集引擎。Logstash可以动态统一来自不同来源的数据,并将数据标准化到选择的目标位置。清除所有数据并使其民主化,以用于各种高级下游分析和可视化用例。 虽然Logstash最初推动了日志收集方面的创新,但其功能远远超出了该用例。任 ...
分类:
其他好文 时间:
2020-06-30 00:51:56
阅读次数:
90
Question Theory An Example // Expression.java import java.util.HashMap; public abstract class Expression { public abstract int interpreter(HashMap<Str ...
分类:
其他好文 时间:
2020-06-29 18:29:08
阅读次数:
56
Wildcard Matching (H) 题目 Given an input string (s) and a pattern (p), implement wildcard pattern matching with support for '?' and '*'. '?' Matches an ...
分类:
其他好文 时间:
2020-06-29 09:44:44
阅读次数:
51
1.概述 logstash是一个日志转化系统,用户通过定义一个input,filter,和一个output配置来完成日志的收集和存储工作。 2.数据类型 bool debug => true bytes my_bytes => "113" # 113 bytes string host => "ho ...
分类:
其他好文 时间:
2020-06-29 00:27:33
阅读次数:
65
菜瓜:今天听到个名词“父子容器”,百度了一下,感觉概念有点空洞,这是什么核武器? 水稻:你说的是SpringMvc和Spring吧,其实只是一个概念而已,用来将两个容器做隔离,起到解耦的作用,其中子容器可以拿到父容器的bean,父容器拿不到子容器的。但是SpringBoot出来之后这个概念基本就被淡 ...
分类:
编程语言 时间:
2020-06-29 00:09:41
阅读次数:
73
名称: 命令模式(Command Pattern) 问题: The Command pattern encapsulates a request in an object, which enables you to store the command, pass the command to a m ...
分类:
其他好文 时间:
2020-06-28 22:12:34
阅读次数:
80
名称: 策略模式(Strategy Pattern) 问题: The intent of the Strategy Pattern is to define a family of algorithms, encapsulate each algorithm, and make them inter ...
分类:
其他好文 时间:
2020-06-28 20:11:35
阅读次数:
55
问题 Solve // Action.java public abstract class Action { public abstract void getManResult(Man man); public abstract void getWomanResult(Woman woman); } ...
分类:
其他好文 时间:
2020-06-28 18:58:17
阅读次数:
56
策略模式 在策略模式(Strategy Pattern)中,一个类的行为或其算法可以在运行时更改。这种类型的设计模式属于行为型模式。 在策略模式中,我们创建表示各种策略的对象和一个行为随着策略对象改变而改变的 context 对象。策略对象改变 context 对象的执行算法。 介绍 意图:定义一系 ...
分类:
其他好文 时间:
2020-06-28 18:45:49
阅读次数:
49
模板模式 在模板模式(Template Pattern)中,一个抽象类公开定义了执行它的方法的方式/模板。它的子类可以按需要重写方法实现,但调用将以抽象类中定义的方式进行。这种类型的设计模式属于行为型模式。 介绍 意图:定义一个操作中的算法的骨架,而将一些步骤延迟到子类中。模板方法使得子类可以不改变 ...
分类:
其他好文 时间:
2020-06-28 18:35:06
阅读次数:
64