Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Unsupported dashboard widget type "Live" in terraform #1468

Closed
aggarwal-payal opened this issue Jun 17, 2022 · 2 comments
Closed

Unsupported dashboard widget type "Live" in terraform #1468

aggarwal-payal opened this issue Jun 17, 2022 · 2 comments

Comments

@aggarwal-payal
Copy link

Hi there,

I need to create a "Live stream" widget in dashboard through terraform but this widget type is not supported by terraform.

image

Terraform Version

Terraform v1.2.2
on windows_386
provider registry.terraform.io/datadog/datadog v3.12.0

Affected Resource(s)

List the resources as a list

  • datadog_dashboard (Resource)

Expected Behavior

Support for "Live" list and stream widget type to have logs grouped by patterns.

Actual Behavior

Unsupported in terraform, no such widget type is available.

Widget .json

{
"id": xxxxxxx,
"definition": {
"title": "Top Log Patterns",
"title_size": "16",
"title_align": "left",
"requests": [
{
"query": {
"query_string": "",
"data_source": "logs_pattern_stream",
"group_by": [
{
"facet": "service"
}
],
"indexes": []
},
"response_format": "event_list",
"columns": [
{
"field": "status_line",
"width": "auto"
},
{
"field": "matches",
"width": "auto"
},
{
"field": "volume",
"width": "auto"
},
{
"field": "service",
"width": "auto"
},
{
"field": "message",
"width": "auto"
}
]
}
],
"type": "list_stream"
},
"layout": {
"x": 0,
"y": 0,
"width": 12,
"height": 4
}
}

@mazamachi
Copy link

I want logs_pattern_stream widget too!
It's very useful for finding frequently occurring errors in dashboard.

@skarimo
Copy link
Member

skarimo commented Aug 16, 2022

Support for list_stream widget were added by: #1470

@mazamachi your request will be closed by: DataDog/datadog-api-client-go#1633

@skarimo skarimo closed this as completed Aug 16, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants