[JIRA] (JENKINS-55621) how can logstash plugin send multiple line once time to es with block usage?

7 views
Skip to first unread message

slide.o.mix@gmail.com (JIRA)

unread,
Jan 16, 2019, 9:01:02 AM1/16/19
to jenkinsc...@googlegroups.com
Alex Earl moved an issue
 
Jenkins / Bug JENKINS-55621
how can logstash plugin send multiple line once time to es with block usage?
Change By: Alex Earl
Project: Plugin Hosting Requests Jenkins
Key: HOSTING JENKINS - 696 55621
Issue Type: Task Bug
Workflow: HOSTING: Simple Issue Tracking Workflow JNJira + In-Review
Status: To Do Open
Component/s: logstash-plugin
Component/s: New Plugin Hosting Request
Priority: Minor
Add Comment Add Comment
 
This message was sent by Atlassian Jira (v7.11.2#711002-sha1:fdc329d)

slide.o.mix@gmail.com (JIRA)

unread,
Jan 16, 2019, 9:01:02 AM1/16/19
to jenkinsc...@googlegroups.com
Alex Earl commented on Bug JENKINS-55621
 
Re: how can logstash plugin send multiple line once time to es with block usage?

Please add your description back. I'm not sure how you missed the Jenkins project in JIRA.

m_winter@gmx.de (JIRA)

unread,
Jan 16, 2019, 4:22:01 PM1/16/19
to jenkinsc...@googlegroups.com

1525619747@qq.com (JIRA)

unread,
Jan 18, 2019, 3:52:02 AM1/18/19
to jenkinsc...@googlegroups.com

1525619747@qq.com (JIRA)

unread,
Jan 18, 2019, 3:53:10 AM1/18/19
to jenkinsc...@googlegroups.com
litong deng commented on Bug JENKINS-55621
 
Re: how can logstash plugin send multiple line once time to es with block usage?

well i wrote a lot 2days ago but when i reopen today i coulf not found the content, and luckily i got a screenshot that time. Alex Earl. And as for the answer from Markus Winter, I know more about this, thank you!

1525619747@qq.com (JIRA)

unread,
Jan 18, 2019, 3:53:11 AM1/18/19
to jenkinsc...@googlegroups.com

m_winter@gmx.de (JIRA)

unread,
Jan 18, 2019, 12:31:01 PM1/18/19
to jenkinsc...@googlegroups.com
Markus Winter commented on Bug JENKINS-55621
 
Re: how can logstash plugin send multiple line once time to es with block usage?

You can use the with maxLines set to negative value.

logstashSend failBuild: }}{{true, maxLines: -1

This will send the complete log and not just the last lines.{{}}

m_winter@gmx.de (JIRA)

unread,
Jan 18, 2019, 12:31:01 PM1/18/19
to jenkinsc...@googlegroups.com
Markus Winter edited a comment on Bug JENKINS-55621
You can use the logstashSend step with maxLines set to negative value.

{{logstashSend failBuild:
}}{{ true}}{{, maxLines: -1}}


This will send the complete log and not just the last lines.
{{}}

ian.williams1@telus.com (JIRA)

unread,
Sep 15, 2019, 5:10:02 AM9/15/19
to jenkinsc...@googlegroups.com
Ian Williams updated an issue
 
Change By: Ian Williams
See screenshot
This message was sent by Atlassian Jira (v7.13.6#713006-sha1:cc4451f)
Atlassian logo

ian.williams1@telus.com (JIRA)

unread,
Sep 15, 2019, 5:13:03 AM9/15/19
to jenkinsc...@googlegroups.com
Ian Williams updated an issue
See screenshot   for original text ...

well may be I create issure with wrong scope but ¡ really cannot found how to report a problem with logstash plugin, ¡ redirect into this from the logstash plugin repo in github, its much appreciate for your reading this questiong.


when I use logstash plugin with block like this:


{{ timestamps{timestamps{ logstash{ script{}}
{{ sh ‘mvn clean compile’ sh “mvn org.jacoco:jacoco-maven-plugin:prepare-agent test Dmaven.test.failure.ignore=trueN)}}

{{ } }} }}

that is, mvn compile and mvn test may generate much much more lines of logs, perhaps l000k+ lines of logs, and ¡ known that logstash plubin with block will send each line to es as a doc, and in this time my api will gateway timeout when read it out from the es. so how can logstash plugin write multiple lines to logs to es once time. than a doc ¡n es can have multiple lines such as loo and can reduce the total counts for entire logs.


thanks a lot for any response! best wishes

ian.williams1@telus.com (JIRA)

unread,
Sep 15, 2019, 5:14:01 AM9/15/19
to jenkinsc...@googlegroups.com
Ian Williams commented on Bug JENKINS-55621
 
Re: how can logstash plugin send multiple line once time to es with block usage?

Converted image to text for you, but don't believe this is the right place for support.

This is a bug tracker, not a support forum — consider using a more appropriate place, like the users' mailing list: https://jenkins.io/mailing-lists/ or Stackoverflow(Jenkins)

If this is an internal support issue, then this is the wrong forum.

Consider setting the issue to Closed and posting in another forum

Reply all
Reply to author
Forward
0 new messages