Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fields issue #4

Closed
cova-fe opened this issue Jun 27, 2014 · 3 comments
Closed

fields issue #4

cova-fe opened this issue Jun 27, 2014 · 3 comments
Assignees
Labels
Milestone

Comments

@cova-fe
Copy link

cova-fe commented Jun 27, 2014

Hi, I'm trying to add more than one field to logs parsed by log-courier, however I'm facing a weird behaviour. Using the configuration from examples, like this:
"fields": { "type": "ftp"}
all works just fine, but if I want to set more than one field and I use this syntax:
"fields": { "type": "ftp", "tags": "system" }
The result is quite messy: type is set to "system", as well as "tags" that is set to "system", basically it seems that the second field value is used also for first field. If I try with three fields, results are even weirder. It can be an error on my side, but I can't figure out how to fix it and no error messages are reported by log-courier.
Thanks
please note: built with go 1.3

@driskell
Copy link
Owner

Hi cova-fe,

This is a regression sorry. I had experienced it before but looks like it crept back in. I've added a test to prevent this happening again.

If you are OK to - please try the develop branch. It has the fix just now.

I'll be pushing develop to stable very soon.

Jason

@cova-fe
Copy link
Author

cova-fe commented Jun 27, 2014

Just tried, it works just fine now. Thanks for the quick fix!

@driskell
Copy link
Owner

No problem!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants