I'm trying to use gogen to replay json logs but I'm having difficulty using fromSample with json. Everytime I run my config I get ERROR Disabling sample 'test', no lines in sample. I get the same output even when I use a json file with just the line from template_test.go: {"_raw":"foo","host":"barhost","index":"fooindex"}. Not sure what fromSample is looking for when in a json file, can you help?
Thanks for your time!