From 41a2749e6704b27b062012cd9312320daf510864 Mon Sep 17 00:00:00 2001 From: Paul Czarkowski Date: Fri, 4 Oct 2013 10:52:45 -0500 Subject: [PATCH] document use case of checking if a field exists --- docs/1.2.1/configuration.md | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/docs/1.2.1/configuration.md b/docs/1.2.1/configuration.md index 9ff6ce7..c283950 100644 --- a/docs/1.2.1/configuration.md +++ b/docs/1.2.1/configuration.md @@ -253,6 +253,14 @@ You can also do multiple expressions in a single condition: } } } + +You can also use boolean expressions to check whether a field exists: + + filter { + if [http_response_code] { + metrics { ... } + } + } ## Further Reading