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

jsonformat: Only set the 'linecount' if already present #19

Closed
lowell80 opened this issue Nov 27, 2018 · 0 comments
Closed

jsonformat: Only set the 'linecount' if already present #19

lowell80 opened this issue Nov 27, 2018 · 0 comments
Assignees
Labels
bug Something isn't working good first issue Good for newcomers
Milestone

Comments

@lowell80
Copy link
Member

Don't update/set the linecount when updating _raw unless the field is already contains a numeric value. If not, don't create it. (Avoid creating the

For example, if you have the search:

index=* b635172e-2cd9-45b7-adc8-4efb14d21901 | table _time _raw sourcetype source | jsonformat

We should haven't to explicitly then re-remove the lincount field. In other words, it makes sense to keep it when it's present, but otherwise don't get in the way.

@lowell80 lowell80 added bug Something isn't working good first issue Good for newcomers labels Nov 27, 2018
@lowell80 lowell80 added this to the Release 2.0 milestone Nov 27, 2018
@lowell80 lowell80 self-assigned this Nov 27, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working good first issue Good for newcomers
Projects
None yet
Development

No branches or pull requests

1 participant