Currently is not possible to add additional ENV variables to be exported to ES.

      Proposal

      Add custom fields to ES docs using the logstash plugin.

      def myFields = [:]
       myFields['env_a'] = 1
       myFields['env_b'] = 2
      
      logstashSend failBuild: false, maxLines: 200,customData: myFields
      

          [JENKINS-65192] Write custom data to ES as additional fields

            Unassigned Unassigned
            et1985 jet
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated: