This repository was archived by the owner on Mar 21, 2020. It is now read-only.
Add support for nested JSON inside message object#18
Open
whirlwin wants to merge 7 commits intobrycied00d:masterfrom
Open
Add support for nested JSON inside message object#18whirlwin wants to merge 7 commits intobrycied00d:masterfrom
whirlwin wants to merge 7 commits intobrycied00d:masterfrom
Conversation
added 5 commits
June 30, 2017 12:22
- Metadata can be passed to Splunk by using the "fields" property
|
Can this be merged? I am using the plugin and splunk rejects the data as invalid json whenever data size > batch_size_limit quoting invalid json. This would really help me. |
* Add support for subsecond timestamps * Release 0.4.0
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
The following code would cause invalid JSON if
messagecontains nested JSON: https://github.com/brycied00d/fluent-plugin-splunk-http-eventcollector/blob/master/lib/fluent/plugin/out_splunk-http-eventcollector.rb#L194This adds opt-in support for the
messageproperty to contain nested JSON.