summaryrefslogtreecommitdiff
path: root/internal/mapr/logformat/parser.go
diff options
context:
space:
mode:
authorPaul Buetow <pbuetow@mimecast.com>2020-03-07 16:55:49 +0000
committerPaul Buetow <pbuetow@mimecast.com>2020-03-07 16:55:49 +0000
commitfef20a8473a55858b6e753d420ec9232dbcb7671 (patch)
tree9a95ec19c04b087e84e9db37f4bc9b2b7f7a1d49 /internal/mapr/logformat/parser.go
parent427e5c14454804c28bd6fa2205bb4121f52c1fbd (diff)
add support to run mapreduce queries on generic log lines, e.g. count all log lines containing a certain string, such as "ERROR"
Diffstat (limited to 'internal/mapr/logformat/parser.go')
-rw-r--r--internal/mapr/logformat/parser.go3
1 files changed, 2 insertions, 1 deletions
diff --git a/internal/mapr/logformat/parser.go b/internal/mapr/logformat/parser.go
index 09c706b..4671191 100644
--- a/internal/mapr/logformat/parser.go
+++ b/internal/mapr/logformat/parser.go
@@ -3,10 +3,11 @@ package logformat
import (
"errors"
"fmt"
- "github.com/mimecast/dtail/internal/io/logger"
"os"
"reflect"
"strings"
+
+ "github.com/mimecast/dtail/internal/io/logger"
)
// Parser is used to parse the mapreduce information from the server log files.