---
title: Vibes Create Raw Event
slug: homologacao-atmosphere/vibes-create-raw-event
description: Learn how to use the "vibes_create_raw_event" function to effortlessly create a raw event. This document outlines the necessary parameters, such as console URL, API key, app key, severity label, host, and check, with an optional description. Discover an e
createdAt: 2021-07-28T17:46:21.000Z
---

## Resumo

- Cria um Raw Event.

## Parâmetros

| **Parâmetro**             | **Tipo** | **Escolhas \| Valor Padrão** | **Comentários**                                           |
| ------------------------- | -------- | ---------------------------- | --------------------------------------------------------- |
| console\_url - *required* | string   |                              | URL da API do Vibes                                       |
| api\_key - *required*     | string   |                              | Chave API para autorizar comunicações entre api e cliente |
| app\_key - *required*     | string   |                              | App Key da integração                                     |
| severity - *required*     | string   |                              | Label da severidade do Raw Event                          |
| host - *required*         | string   |                              | Host que emitirá o Raw Event                              |
| check - *required*        | string   |                              | Check do Raw Event                                        |
| description               | string   |                              | Descrição do Raw Event                                    |

## Exemplos

```yaml
# Criação de um Raw Event
- vibes_create_raw_event:
     console_url: 'console_url'
     api_key: 'api_key'
     severity: 'severity'
     host: srv-website
     check: NGINX Service Running on Port 80
     description: Servidor Web NGINX Indisponível na Porta 80
```

## Valores Retornados

| Chave      | Tipo                 | Retornado quando | Descrição                        |
| ---------- | -------------------- | ---------------- | -------------------------------- |
| raw\_event | list / elements=list | Sucesso          | Informações do Raw Event criado. |

## Subopções da chave de retorno raw\_event

| Chave       | Tipo   | Retornado quando | Descrição                               |
| ----------- | ------ | ---------------- | --------------------------------------- |
| severity    | dict   | Sucesso          | Informações da severidade do Raw Event. |
| host        | string | Sucesso          | Host relacionado ao Raw Event.          |
| check       | string | Sucesso          | Check relacionado ao Raw Event.         |
| description | string | Sucesso          | Descrição do Raw Event.                 |
| integration | dict   | Sucesso          | Informações de integração do Raw Event. |
| duration    | string | Sucesso          | Duração do Raw Event.                   |
| alert\_date | string | Sucesso          | Data de alerta do Raw Event.            |

