Comments (13)
Any news regarding this issue?
Someone on logstash 7 not having this problem?
When we tested migration to ELK 7, this is the only issue we encountered and it's currently holding back our update.
from logstash-output-slack.
I've found an alternative to push messages to mattermost. In my case it's enough.
http
{
http_method => "post"
url => "https://mattermost.*/hooks/********"
format => "message"
message => '{"text":"%{@timestamp} %{[beat][hostname]} %{payload}"}'
}
from logstash-output-slack.
same issue with 7.8.0
from logstash-output-slack.
I am not familiar with gem/ruby, but it seems that 'bundle update' is a part of ruby package dependency management. From a little digging, it also looks like logstash has its own version of ruby installed in the same tree. What would be the correct way to bootstrap the ruby/gem/bundle environment so that it will work with the logstash installed versions and allow 'bundle update' to be run? Also, would it be correct to run 'bundle update from the logstash home (/usr/share/logstash for me)?
from logstash-output-slack.
Having the same issue when building Logstash 7.3.1 for Docker :(
from logstash-output-slack.
I have this issue too. Is there any fix?
from logstash-output-slack.
We're facing this problem on logstash 7.3 as well. Any ideas?
from logstash-output-slack.
For me it worked when I removed public_suffix
dependency check for < 1.5.0
.
After some initial testing, the messages are sent to slack, although, I wouldn't consider it a fix.
Clone and edit spec file.
git clone https://github.com/logstash-plugins/logstash-output-slack.git
cd logstash-output-slack/
vim logstash-output-slack.gemspec
Update version (not needed) and remove public_suffix
dependency.
- s.version = '2.1.1'
+ s.version = '7.0.0'
- s.add_runtime_dependency "public_suffix", "< 1.5.0"
+ s.add_runtime_dependency "public_suffix"
Build and install as a plugin.
bundle install
gem build logstash-output-slack.gemspec
cd /usr/share/logstash/
bin/logstash-plugin install \
~/logstash-output-slack/logstash-output-slack-7.0.0.gem
from logstash-output-slack.
Having the same issue when building Logstash 7.3.1 for Docker :(
Same problem. Have you fixed it?
from logstash-output-slack.
Still having this issue with 7.4.2
from logstash-output-slack.
Also having this issue with 7.4.2
from logstash-output-slack.
same issue here with 7.6.1
from logstash-output-slack.
Another option to send messages to slack using http output and define post json content using mapping
:
http {
http_method => "post"
url => "${SLACK_WEBHOOK}"
format => "json"
mapping => {
channel => "#channel"
text => "%{level_name} %{channel}: %{message}"
blocks => [
{
type => "section"
text => {
type => "mrkdwn"
text => "*%{level_name}, %{channel}*: %{message}"
}
}
]
attachments => [
{
title => "Kibana"
title_link => "https://kibana/something"
color => "#ddd"
}
]
}
}```
from logstash-output-slack.
Related Issues (11)
- Slack output breaks when there are linebreaks in the attachments' fields HOT 1
- Logstash stopped processing because of an error: (SystemExit) exit HOT 2
- Any plans to support newer versions?
- Is this project essentially dead?
- Unable to install in **Logstash 7.8.0**
- Logstash 8.10.0-1 HOT 4
- Unable to insert new lines in format field for message formatting HOT 2
- Logstash 5.0 support HOT 6
- Attachment fields do not have replaced event variables HOT 3
- After installing plugin, Logstash cannot be viewed from Kibana
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from logstash-output-slack.