Commit graph

7 commits

Author SHA1 Message Date
Nathan Leiby
d1473f894a decode: s/type/decoder_msg_type
type is a really generally name. sometimes, it is used in other
libraries or various output as a valid field name. let's not make it a
reserved keyword that gets overriden by type == Kayvee
2017-08-17 14:36:54 -07:00
Xavi
4b4af77ba2 Merge pull request #9 from Clever/INFRA-2405-new-consumer-interface
Updated syslogparser library and added unit tests
2017-08-16 14:54:27 -07:00
Xavi Ramirez
e2f55b6d98 Updated syslogparser library and added unit tests 2017-08-16 20:58:30 +00:00
Nathan Leiby
1bebeb5aa5 decode: json decodes dimensions as array of interface
Previously, this would result in a log line failing to extracting any
dimensions because

```golang
dimensions.([]string)
```

would fail because

```golang
reflect.TypeOf(dimensions)
```

was `[]interface{}`.
2017-08-15 11:47:01 -07:00
Xavi Ramirez
de04a27799 Return NonKayveeError if log contians invalid or empty json 2017-08-07 19:20:56 +00:00
Xavi Ramirez
266d7d620d Fixed bug in decoder package 2017-08-07 19:20:56 +00:00
Xavi Ramirez
4c67f39c99 Implemented new consumer interface as well as example consumer: 'batchconsumer' 2017-07-18 02:03:15 +00:00