Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Anchor
apikey
apikey
Create an API Key in Datadog for Openpath:

...

  1. Under

...

  1. Organization

...

  1. Settings,

...

  1. click

...

  1. New

...

  1. Key.

Iframe
allowfullscreentrue
srchttps://info.openpath.com/hubfs/images/kustomer-articles/new-key.png

...

width300
frameborderhide
titlenew key
alignmiddle
height112
longdescNew API Key

2. Enter a name for the key, then click Create Key.

Iframe
allowfullscreentrue
srchttps://info.openpath.com/hubfs/images/kustomer-articles/name-key.png

...

width300
frameborderhide
titlename key
alignmiddle
height109
longdescName API Key

3. Click Copy Key and make a note of it somewhere for future use.

Iframe
allowfullscreentrue
srchttps://info.openpath.com/hubfs/images/kustomer-articles/api-key.png

...

width400
frameborderhide
titleSave key
alignmiddle
height165
longdescSave API Key

Refer to Datadog’s instructions for adding API Keys

Create a Pipeline for Openpath

...

  1. Under

...

  1. Pipelines,

...

  1. click

...

  1. Add

...

  1. a

...

  1. new

...

  1. pipeline.

Iframe
allowfullscreentrue
srchttps://info.openpath.com/hubfs/images/kustomer-articles/add-pipeline.png

...

width180
frameborderhide
titleadd pipeline
alignmiddle
height43
longdescAdd New Pipeline

2. Set the name to ‘Openpath’ then click Create.

3. Click Add Processor and define the following:

A. Select Grok Parser for the processor type.

B. Name the processor Openpath.JSON

C. In the Define parsing rules field, paste the following:

autoFilledRule1 \[\{\"ddsource\"\:\s+\"%{data:source}\",\"hostname\"\:\s+\"%{word:hostname}\",\"status\"\:\s+\"%{word:status}\",\"event_type\"\:\s+\"%{data:event}\",\"message\"\:\s+\"%{data::json}\"\}\]

...

4.

...

Click

...

Create.

Iframe
allowfullscreentrue
srchttps://info.openpath.com/hubfs/images/kustomer-articles/grok-parser.png

...

width700
frameborderhide
titlegrok parser
alignmiddle
height499
longdescGrok Parser


4. Click Add Processor again and define the following:

A. Select Status Remapper for the processor type.
B. Name the processor openpath.status
C. In the status attribute field, enter status
D. Click Create.

Iframe
allowfullscreentrue
srchttps://info.openpath.com/hubfs/images/kustomer-articles/status-remapper.png

...

width500
frameborderhide
titlestatus remapper
alignmiddle
height167
longdescStatus Remapper

Refer to Datadog’s instructions for adding a Pipeline

Configure the integration in Openpath

Create rules using the Rules Engine:
  1. Go to https://control.openpath.com/login and log in. To access the European Control Center, please go to https://control.eu.openpath.com/login

  2. Go to Configurations > Rules and click the plus(+) sign in the top right corner to Add a Rule, enter a name and description for the rule, select a Trigger Type, then select an Event

    1. In this example we want the rule to trigger on Entry Unlock events

  3. On the right side of the page, check Use JSON Editor

  4. Paste the following JSON, replacing DATADOG API KEY HERE with the API key you created earlier, then click Save

...

Once configured, Openpath events will appear in Datadog logs.

...

Iframe
allowfullscreentrue
srchttps://info.openpath.com/hubfs/images/kustomer-articles/datadog-event.png

...

width700
frameborderhide
titleDatadog events
alignmiddle
height332
longdescDatadog Events Log

Click on an event to view more detail.

...

Iframe
scrollingyes
allowfullscreentrue
srchttps://info.openpath.com/hubfs/images/kustomer-articles/event-attributes.png

...

width700
frameborderhide
titleevent attributes
alignmiddle
height743
longdescEvent Attributes