mirror of https://github.com/zulip/zulip.git
webhooks/papertrail: Update docs to conform to style guide.
This commit is contained in:
parent
58e70ec858
commit
980218aea2
Binary file not shown.
Before Width: | Height: | Size: 54 KiB |
Binary file not shown.
Before Width: | Height: | Size: 234 KiB After Width: | Height: | Size: 24 KiB |
Binary file not shown.
Before Width: | Height: | Size: 372 KiB |
Binary file not shown.
Before Width: | Height: | Size: 24 KiB |
|
@ -1,27 +1,18 @@
|
|||
Zulip supports integration with Papertrail as a
|
||||
[Webhook](http://www.perforce.com/perforce/doc.current/manuals/p4sag/chapter.scripting.html)
|
||||
that fires upon finding a certain log. To do this:
|
||||
Get Zulip notifications for your Papertrail logs!
|
||||
|
||||
{!create-stream.md!}
|
||||
1. {!create-stream.md!}
|
||||
|
||||
{!create-bot-construct-url.md!}
|
||||
1. {!create-bot-construct-url-indented.md!}
|
||||
|
||||
Next, log into your Papertrail Account and browse through
|
||||
your logs. Search for logs you want to get alerts for and press
|
||||
**Save Search** to open up a modal window, then fill out the
|
||||
details and press the **Save & Setup an Alert** button.
|
||||
1. On your Papertrail Dashboard, search for the logs you'd like
|
||||
to set up alerts for, and click on **Save Search**. Provide a
|
||||
name for the search, and click **Save & Setup an Alert**.
|
||||
Under **Create an alert**, click on **Webhook**.
|
||||
|
||||
![](/static/images/integrations/papertrail/000.png)
|
||||
|
||||
![](/static/images/integrations/papertrail/001.png)
|
||||
|
||||
Go to the **Create an alert** section, press the **Webhooks**
|
||||
link and place the URL created above into the **Webhook URL**
|
||||
section. Be sure to set the frequency to either minute, hour or
|
||||
day.
|
||||
|
||||
![](/static/images/integrations/papertrail/002.png)
|
||||
1. Select options under **Alert Conditions** as appropriate.
|
||||
Set **URL** to the URL constructed above, and click
|
||||
**Create Alert**.
|
||||
|
||||
{!congrats.md!}
|
||||
|
||||
![](/static/images/integrations/papertrail/003.png)
|
||||
![](/static/images/integrations/papertrail/001.png)
|
||||
|
|
Loading…
Reference in New Issue