Hi,
I would like to import my slack messages into logstash, we can't use the IRC and so was looking at outgoing webhooks.
- How do i configure logstash http server
- What do i put in the logstash config file to be able to receive the slack messages.
Hi,
I would like to import my slack messages into logstash, we can't use the IRC and so was looking at outgoing webhooks.
Logstash's websocket input doesn't support server mode but maybe the regular http input works for this purpose? Something like
input {
http {
port => 8080 # or whatever port you'd like to use
}
}
should get you started.
tried it, and i put the webhook url in the slack config has http://localhost:8080
set the channel and ran logstash -f where file name is the config as per teh template above... nothing happened.
Um, isn't Slack cloud-only? If yes, http://localhost:8080 obviously won't work.
This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.
© 2020. All Rights Reserved - Elasticsearch
Apache, Apache Lucene, Apache Hadoop, Hadoop, HDFS and the yellow elephant logo are trademarks of the Apache Software Foundation in the United States and/or other countries.