# Can i send message from logstash to pagerduty by http output plugin

**URL:** <https://discuss.elastic.co/t/can-i-send-message-from-logstash-to-pagerduty-by-http-output-plugin/326129>\
**Category:** Logstash\
**Created:** [February 22, 2023, 6:23am UTC](https://discuss.elastic.co/t/can-i-send-message-from-logstash-to-pagerduty-by-http-output-plugin/326129 "2023-02-22T06:23:29Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![YasuhiroOkumura](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/yasuhirookumura/32/116682_2.png) [@YasuhiroOkumura](https://discuss.elastic.co/u/YasuhiroOkumura)\
**Post date:** [February 22, 2023, 6:23am UTC](https://discuss.elastic.co/t/can-i-send-message-from-logstash-to-pagerduty-by-http-output-plugin/326129/1 "2023-02-22T06:23:29Z")

</div>

Are there any having sample code using http output plugin of logstash to send message to pagerduty. Can I see the code.

---

<div class="post-metadata">

**Author:** ![Wave](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/wave/32/117242_2.png) [@Wave](https://discuss.elastic.co/u/Wave)\
**Post date:** [March 10, 2023, 3:22pm UTC](https://discuss.elastic.co/t/can-i-send-message-from-logstash-to-pagerduty-by-http-output-plugin/326129/2 "2023-03-10T15:22:25Z")

</div>

Hi @YasuhiroOkumura,  
It might be possible, but a more typical way is to ingest the data into elastic and then have an alert or [watcher](https://www.elastic.co/guide/en/kibana/current/watcher-ui.html) send a message to pager duty.

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/elastic/original/3X/1/a/1ac57faf039f6b580b3f104ef42a2a89e41014de.png) [@system](https://discuss.elastic.co/u/system)\
**Post date:** [April 7, 2023, 3:23pm UTC](https://discuss.elastic.co/t/can-i-send-message-from-logstash-to-pagerduty-by-http-output-plugin/326129/3 "2023-04-07T15:23:15Z")

</div>

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.
