webhooks/papertrail: Update docs to conform to style guide.

This commit is contained in:
Eeshan Garg 2018-04-19 18:17:54 -02:30 committed by Rishi Gupta
parent 58e70ec858
commit 980218aea2
5 changed files with 11 additions and 20 deletions

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

View File

@ -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)