Uploaded image for project: 'Jenkins'
  1. Jenkins
  2. JENKINS-64960

Selecting "Enable Globally" caused all jobs to send individual lines to Logstash

    • Icon: Improvement Improvement
    • Resolution: Unresolved
    • Icon: Critical Critical
    • logstash-plugin
    • None

      Im currently using the Logstash 2.4.0 plugin.
      I have a combination of Freestyle and pipeline jobs.

      I had a single job that had the logstash set in Post Build, not job property.

      In the afternoon, I check the "Enable Globally" option.

      By the next morning there was more than 14,000 hits added to logstash. By examining the similar ones I noticed that each contained only a single console line

          [JENKINS-64960] Selecting "Enable Globally" caused all jobs to send individual lines to Logstash

          I believe this is WAD, "Enable Globally" will send the lines one by one.

          If you want to add options for whole build sending PRs are welcome.

          CC mwinter69

          Jakub Bochenski added a comment - I believe this is WAD, "Enable Globally" will send the lines one by one. If you want to add options for whole build sending PRs are welcome. CC mwinter69

          Tylee Gooderham added a comment - - edited

          Hi Jakub...
          I gathered from the online help that it was a single log ship:
          "Checking will make all non pipeline builds forward their log to the above indexer."

           In our case, we have just under 1k of jobs, so enabled this bombarded our server with mountains of data.
          Not sure I'm savvy enough to build onto this for a PR at this time.
          This does mean however I'll have to script in the adding of the single log shipment into our jobs.

          Tylee Gooderham added a comment - - edited Hi Jakub... I gathered from the online help that it was a single log ship: "Checking will make all non pipeline builds forward their log to the above indexer."  In our case, we have just under 1k of jobs, so enabled this bombarded our server with mountains of data. Not sure I'm savvy enough to build onto this for a PR at this time. This does mean however I'll have to script in the adding of the single log shipment into our jobs.

          > This does mean however I'll have to script in the adding of the single log shipment into our jobs.

          I suggest you look into job-dsl for old style jobs or the code sharing solutions for pipelines

          Jakub Bochenski added a comment - > This does mean however I'll have to script in the adding of the single log shipment into our jobs. I suggest you look into job-dsl for old style jobs or the code sharing solutions for pipelines

            Unassigned Unassigned
            tgooderham Tylee Gooderham
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated: