Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add option to manually set character limit for backlog items #5

Open
pbrzica opened this issue Dec 17, 2019 · 2 comments
Open

Add option to manually set character limit for backlog items #5

pbrzica opened this issue Dec 17, 2019 · 2 comments

Comments

@pbrzica
Copy link

pbrzica commented Dec 17, 2019

If a backlog item is set as a field it seems the cutoff is at 1988 characters. Is it possible to add an option to manually set a limit at where the field will be cutoff?

Also is it possible to add an option to completely omit the message field and only have the backlog items printed?

If these aren't possible please close the issue. Thank you in advance.

@KongZ
Copy link
Owner

KongZ commented Dec 18, 2019

If a backlog item is set as a field it seems the cutoff is at 1988 characters. Is it possible to add an option to manually set a limit at where the field will be cutoff?

The number of characters showing in Slack is limited by Slack. I think it is not a good idea to send such a long text to Slack. Try uncheck Short Mode. I might allow to send more characters in attachment field. Alternatively, use Graylog pipeline to make field shortener.

Also is it possible to add an option to completely omit the message field and only have the backlog items printed?
If you don't want to send any fields to Slack, you can remove fields name on Backlog Fields. If you don't want any body in Slack, just set Backlog Items to zero. The only notification name will send to Slack.

@pbrzica
Copy link
Author

pbrzica commented Dec 18, 2019

Hi,

Sorry for not being descriptive in the first message, I don't want the message to be any longer but rather to shorten it, but you are right.

Also thank you for the info about not sending body but I have a small problem with that. Sometimes I need to have only specific fields sent as a notification rather than getting the whole message. Let's say the message is very long and I only need two or three fields from the log. So if toggling body is possible it would be of great help.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants