在Splunk过滤器中处理特殊字符

时间:2019-04-01 19:32:48

标签: string special-characters splunk splunk-query

已更新 不熟悉新手。我正在设置一个新警报并过滤我已经知道的结果。想要通过组合围绕“错误”的过滤器来简化搜索。关于如何合并它们的任何建议?

print(X)
print(Y)

fig, axes = plt.subplots(1, 3, figsize=(15, 5))
for n_neighbors, ax in zip([1, 3], axes):
    # the fit method returns the object self, so we can instantiate
     # and fit in one line
     clf = KNeighborsClassifier(n_neighbors=n_neighbors, weights='uniform').fit(X, Y)
     mglearn.plots.plot_2d_separator(clf, X, fill=True, eps=0.5, ax=ax, alpha=.4)
     mglearn.discrete_scatter(X[:, 0], X[:, 1], Y, ax=ax)
     ax.set_title("{} neighbor(s)".format(n_neighbors))
     ax.set_xlabel("feature 0")
     ax.set_ylabel("feature 1")
axes[0].legend(loc=3)

0 个答案:

没有答案