-
Type:
New Feature
-
Resolution: Unresolved
-
Priority:
Minor
-
Component/s: logstash-plugin
-
None
Now, there are hardcoded fields that are kept in JSON payload:
"data":{
"id":"2014-10-13_19-51-29",
"result":"SUCCESS",
"projectName":"my_example_job",
"fullProjectName":"folder/my_example_job",
"displayName":"#1",
.......
....
..
https://github.com/jenkinsci/logstash-plugin/blob/master/src/main/java/jenkins/plugins/logstash/persistence/BuildData.java#L158-L180
Â
I'd like to be able to add custom fields to JSON payload sent to the indexer. It would be very helpfull when JSON paylod is sent to Logstash when some field-filters were set/specified.