Skip to content

Commit

Permalink
Fix coralogix_data_set location in coralogix_enrichment (#293)
Browse files Browse the repository at this point in the history
  • Loading branch information
alexkruc authored Nov 27, 2024
1 parent ad7b25f commit a10e7da
Show file tree
Hide file tree
Showing 17 changed files with 66 additions and 66 deletions.
2 changes: 1 addition & 1 deletion docs/data-sources/action.md
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,6 @@ data "coralogix_action" imported_action {
- `is_hidden` (Boolean) Determines weather the action will be shown at the action menu.
- `is_private` (Boolean) Determines weather the action will be shared with the entire team. Can be set to false only by admin.
- `name` (String) Action name.
- `source_type` (String) By selecting the data type, you can make sure that the action will be displayed only in the relevant context. Can be one of ["Log" "DataMap"]
- `source_type` (String) By selecting the data type, you can make sure that the action will be displayed only in the relevant context. Can be one of ["DataMap" "Log"]
- `subsystems` (Set of String) Applies the action for specific subsystems.
- `url` (String) URL for the external tool.
2 changes: 1 addition & 1 deletion docs/data-sources/alert.md
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ description: |-
- `payload_filters` (Set of String) A list of log fields out of the log example which will be included with the alert notification.
- `ratio` (List of Object) Alert based on the ratio between queries. (see [below for nested schema](#nestedatt--ratio))
- `scheduling` (List of Object) Limit the triggering of this alert to specific time frames. Active always by default. (see [below for nested schema](#nestedatt--scheduling))
- `severity` (String) Determines the alert's severity. Can be one of ["Info" "Warning" "Critical" "Error" "Low"]
- `severity` (String) Determines the alert's severity. Can be one of ["Warning" "Critical" "Error" "Low" "Info"]
- `standard` (List of Object) Alert based on number of log occurrences. (see [below for nested schema](#nestedatt--standard))
- `time_relative` (List of Object) Alert based on ratio between timeframes. (see [below for nested schema](#nestedatt--time_relative))
- `tracing` (List of Object) Alert based on tracing latency. (see [below for nested schema](#nestedatt--tracing))
Expand Down
36 changes: 18 additions & 18 deletions docs/data-sources/dashboard.md
Original file line number Diff line number Diff line change
Expand Up @@ -463,7 +463,7 @@ Read-Only:
- `scale_type` (String)
- `sort_by` (String) The field to sort by. Can be one of unspecified, value, name.
- `stack_definition` (Attributes) (see [below for nested schema](#nestedatt--layout--sections--rows--widgets--definition--bar_chart--stack_definition))
- `unit` (String) The unit of the chart. Can be one of usd, unspecified, gbytes, gibytes, euro, kbytes, mbytes, euro_cents, usd_cents, milliseconds, bytes_iec, kibytes, mibytes, microseconds, seconds, bytes.
- `unit` (String) The unit of the chart. Can be one of unspecified, mbytes, gibytes, usd_cents, gbytes, bytes_iec, kibytes, usd, microseconds, milliseconds, seconds, euro_cents, bytes, kbytes, mibytes, euro.
- `xaxis` (Attributes) (see [below for nested schema](#nestedatt--layout--sections--rows--widgets--definition--bar_chart--xaxis))

<a id="nestedatt--layout--sections--rows--widgets--definition--bar_chart--query"></a>
Expand Down Expand Up @@ -697,7 +697,7 @@ Read-Only:

Read-Only:

- `aggregation_type` (String) The type of the aggregation. When the aggregation type is `metrics`, can be one of ["percentile_99" "percentile_95" "percentile_50" "unspecified" "min" "max" "avg" "sum"]. When the aggregation type is `dimension`, can be one of ["unspecified" "unique_count" "error_count"].
- `aggregation_type` (String) The type of the aggregation. When the aggregation type is `metrics`, can be one of ["min" "max" "avg" "sum" "percentile_99" "percentile_95" "percentile_50" "unspecified"]. When the aggregation type is `dimension`, can be one of ["unspecified" "unique_count" "error_count"].
- `field` (String) The field to aggregate on. When the aggregation type is `metrics`, can be one of ["unspecified" "duration"]. When the aggregation type is `dimension`, can be one of ["unspecified" "trace_id"].
- `type` (String) Can be one of ["metric" "dimension"]

Expand Down Expand Up @@ -787,7 +787,7 @@ Read-Only:
Read-Only:

- `columns` (Attributes List) (see [below for nested schema](#nestedatt--layout--sections--rows--widgets--definition--data_table--columns))
- `data_mode_type` (String) The data mode type. Can be one of ["archive" "unspecified"].
- `data_mode_type` (String) The data mode type. Can be one of ["unspecified" "archive"].
- `order_by` (Attributes) (see [below for nested schema](#nestedatt--layout--sections--rows--widgets--definition--data_table--order_by))
- `query` (Attributes) (see [below for nested schema](#nestedatt--layout--sections--rows--widgets--definition--data_table--query))
- `results_per_page` (Number) The number of results to display per page.
Expand All @@ -808,7 +808,7 @@ Read-Only:
Read-Only:

- `field` (String)
- `order_direction` (String) The order direction. Can be one of ["asc" "desc"].
- `order_direction` (String) The order direction. Can be one of ["desc" "asc"].


<a id="nestedatt--layout--sections--rows--widgets--definition--data_table--query"></a>
Expand Down Expand Up @@ -1089,7 +1089,7 @@ Read-Only:

Read-Only:

- `aggregation_type` (String) The type of the aggregation. When the aggregation type is `metrics`, can be one of ["percentile_99" "percentile_95" "percentile_50" "unspecified" "min" "max" "avg" "sum"]. When the aggregation type is `dimension`, can be one of ["unspecified" "unique_count" "error_count"].
- `aggregation_type` (String) The type of the aggregation. When the aggregation type is `metrics`, can be one of ["min" "max" "avg" "sum" "percentile_99" "percentile_95" "percentile_50" "unspecified"]. When the aggregation type is `dimension`, can be one of ["unspecified" "unique_count" "error_count"].
- `field` (String) The field to aggregate on. When the aggregation type is `metrics`, can be one of ["unspecified" "duration"]. When the aggregation type is `dimension`, can be one of ["unspecified" "trace_id"].
- `type` (String) Can be one of ["metric" "dimension"]

Expand All @@ -1113,15 +1113,15 @@ Read-Only:

Read-Only:

- `data_mode_type` (String) The data mode type. Can be one of ["archive" "unspecified"].
- `data_mode_type` (String) The data mode type. Can be one of ["unspecified" "archive"].
- `max` (Number)
- `min` (Number)
- `query` (Attributes) (see [below for nested schema](#nestedatt--layout--sections--rows--widgets--definition--gauge--query))
- `show_inner_arc` (Boolean)
- `show_outer_arc` (Boolean)
- `threshold_by` (String) The threshold by. Can be one of ["unspecified" "value" "background"].
- `threshold_by` (String) The threshold by. Can be one of ["value" "background" "unspecified"].
- `thresholds` (Attributes List) (see [below for nested schema](#nestedatt--layout--sections--rows--widgets--definition--gauge--thresholds))
- `unit` (String) The unit of the gauge. Can be one of ["usd_cents" "none" "milliseconds" "bytes" "gbytes" "bytes_iec" "kibytes" "gibytes" "mbytes" "mibytes" "euro" "percent" "microseconds" "seconds" "kbytes" "euro_cents" "usd"].
- `unit` (String) The unit of the gauge. Can be one of ["usd" "milliseconds" "mbytes" "bytes_iec" "mibytes" "none" "kbytes" "seconds" "gbytes" "kibytes" "euro" "euro_cents" "usd_cents" "percent" "microseconds" "bytes" "gibytes"].

<a id="nestedatt--layout--sections--rows--widgets--definition--gauge--query"></a>
### Nested Schema for `layout.sections.rows.widgets.definition.gauge.query`
Expand Down Expand Up @@ -1289,7 +1289,7 @@ Read-Only:

Read-Only:

- `aggregation` (String) The type of aggregation. Can be one of ["sum" "unspecified" "last" "min" "max" "avg"].
- `aggregation` (String) The type of aggregation. Can be one of ["unspecified" "last" "min" "max" "avg" "sum"].
- `filters` (Attributes List) (see [below for nested schema](#nestedatt--layout--sections--rows--widgets--definition--gauge--query--metrics--filters))
- `promql_query` (String)

Expand Down Expand Up @@ -1354,7 +1354,7 @@ Read-Only:

Read-Only:

- `aggregation_type` (String) The type of the aggregation. When the aggregation type is `metrics`, can be one of ["percentile_99" "percentile_95" "percentile_50" "unspecified" "min" "max" "avg" "sum"]. When the aggregation type is `dimension`, can be one of ["unspecified" "unique_count" "error_count"].
- `aggregation_type` (String) The type of the aggregation. When the aggregation type is `metrics`, can be one of ["min" "max" "avg" "sum" "percentile_99" "percentile_95" "percentile_50" "unspecified"]. When the aggregation type is `dimension`, can be one of ["unspecified" "unique_count" "error_count"].
- `field` (String) The field to aggregate on. When the aggregation type is `metrics`, can be one of ["unspecified" "duration"]. When the aggregation type is `dimension`, can be one of ["unspecified" "trace_id"].
- `type` (String) Can be one of ["metric" "dimension"]

Expand Down Expand Up @@ -1386,7 +1386,7 @@ Read-Only:
- `scale_type` (String)
- `sort_by` (String)
- `stack_definition` (Attributes) (see [below for nested schema](#nestedatt--layout--sections--rows--widgets--definition--horizontal_bar_chart--stack_definition))
- `unit` (String) The unit of the chart. Can be one of usd, unspecified, gbytes, gibytes, euro, kbytes, mbytes, euro_cents, usd_cents, milliseconds, bytes_iec, kibytes, mibytes, microseconds, seconds, bytes.
- `unit` (String) The unit of the chart. Can be one of unspecified, mbytes, gibytes, usd_cents, gbytes, bytes_iec, kibytes, usd, microseconds, milliseconds, seconds, euro_cents, bytes, kbytes, mibytes, euro.
- `y_axis_view_by` (String)

<a id="nestedatt--layout--sections--rows--widgets--definition--horizontal_bar_chart--query"></a>
Expand Down Expand Up @@ -1524,7 +1524,7 @@ Read-Only:

Read-Only:

- `aggregation_type` (String) The type of the aggregation. When the aggregation type is `metrics`, can be one of ["percentile_99" "percentile_95" "percentile_50" "unspecified" "min" "max" "avg" "sum"]. When the aggregation type is `dimension`, can be one of ["unspecified" "unique_count" "error_count"].
- `aggregation_type` (String) The type of the aggregation. When the aggregation type is `metrics`, can be one of ["min" "max" "avg" "sum" "percentile_99" "percentile_95" "percentile_50" "unspecified"]. When the aggregation type is `dimension`, can be one of ["unspecified" "unique_count" "error_count"].
- `field` (String) The field to aggregate on. When the aggregation type is `metrics`, can be one of ["unspecified" "duration"]. When the aggregation type is `dimension`, can be one of ["unspecified" "trace_id"].
- `type` (String) Can be one of ["metric" "dimension"]

Expand Down Expand Up @@ -1600,7 +1600,7 @@ Read-Only:

Read-Only:

- `columns` (List of String) The columns to display in the legend. Valid values are: unspecified, min, max, sum, avg, last.
- `columns` (List of String) The columns to display in the legend. Valid values are: avg, last, unspecified, min, max, sum.
- `group_by_query` (Boolean)
- `is_visible` (Boolean) Whether to display the legend. False by default.
- `placement` (String) The placement of the legend. Valid values are: auto, bottom, side, hidden, unspecified.
Expand All @@ -1621,7 +1621,7 @@ Read-Only:
- `scale_type` (String) The scale type. Valid values are: unspecified, linear, logarithmic.
- `series_count_limit` (Number)
- `series_name_template` (String)
- `unit` (String) The unit. Valid values are: usd, unspecified, gbytes, gibytes, euro, kbytes, mbytes, euro_cents, usd_cents, milliseconds, bytes_iec, kibytes, mibytes, microseconds, seconds, bytes.
- `unit` (String) The unit. Valid values are: unspecified, mbytes, gibytes, usd_cents, gbytes, bytes_iec, kibytes, usd, microseconds, milliseconds, seconds, euro_cents, bytes, kbytes, mibytes, euro.

<a id="nestedatt--layout--sections--rows--widgets--definition--line_chart--query_definitions--query"></a>
### Nested Schema for `layout.sections.rows.widgets.definition.line_chart.query_definitions.query`
Expand Down Expand Up @@ -1734,7 +1734,7 @@ Read-Only:

Read-Only:

- `aggregation_type` (String) The type of the aggregation. When the aggregation type is `metrics`, can be one of ["percentile_99" "percentile_95" "percentile_50" "unspecified" "min" "max" "avg" "sum"]. When the aggregation type is `dimension`, can be one of ["unspecified" "unique_count" "error_count"].
- `aggregation_type` (String) The type of the aggregation. When the aggregation type is `metrics`, can be one of ["min" "max" "avg" "sum" "percentile_99" "percentile_95" "percentile_50" "unspecified"]. When the aggregation type is `dimension`, can be one of ["unspecified" "unique_count" "error_count"].
- `field` (String) The field to aggregate on. When the aggregation type is `metrics`, can be one of ["unspecified" "duration"]. When the aggregation type is `dimension`, can be one of ["unspecified" "trace_id"].
- `type` (String) Can be one of ["metric" "dimension"]

Expand Down Expand Up @@ -1793,7 +1793,7 @@ Read-Only:
Read-Only:

- `show_labels` (Boolean)
- `type` (String) The tooltip type. Valid values are: single, unspecified, all.
- `type` (String) The tooltip type. Valid values are: unspecified, all, single.



Expand Down Expand Up @@ -2065,7 +2065,7 @@ Read-Only:

Read-Only:

- `aggregation_type` (String) The type of the aggregation. When the aggregation type is `metrics`, can be one of ["percentile_99" "percentile_95" "percentile_50" "unspecified" "min" "max" "avg" "sum"]. When the aggregation type is `dimension`, can be one of ["unspecified" "unique_count" "error_count"].
- `aggregation_type` (String) The type of the aggregation. When the aggregation type is `metrics`, can be one of ["min" "max" "avg" "sum" "percentile_99" "percentile_95" "percentile_50" "unspecified"]. When the aggregation type is `dimension`, can be one of ["unspecified" "unique_count" "error_count"].
- `field` (String) The field to aggregate on. When the aggregation type is `metrics`, can be one of ["unspecified" "duration"]. When the aggregation type is `dimension`, can be one of ["unspecified" "trace_id"].
- `type` (String) Can be one of ["metric" "dimension"]

Expand Down Expand Up @@ -2182,7 +2182,7 @@ Read-Only:

- `selected_values` (List of String)
- `source` (Attributes) (see [below for nested schema](#nestedatt--variables--definition--multi_select--source))
- `values_order_direction` (String) The order direction of the values. Can be one of `asc`, `desc`.
- `values_order_direction` (String) The order direction of the values. Can be one of `desc`, `asc`.

<a id="nestedatt--variables--definition--multi_select--source"></a>
### Nested Schema for `variables.definition.multi_select.source`
Expand Down
2 changes: 1 addition & 1 deletion docs/data-sources/rules_group.md
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ data "coralogix_rules_group" "imported_rules_group_example" {
- `name` (String) Rule-group name
- `order` (Number) Determines the index of the rule-group between the other rule-groups. By default, will be added last. (1 based indexing).
- `rule_subgroups` (List of Object) List of rule-subgroups. Every rule-subgroup is list of rules with 'or' (||) operation between. (see [below for nested schema](#nestedatt--rule_subgroups))
- `severities` (Set of String) Rules will execute on logs that match the following severities. Can be one of ["Verbose" "Info" "Warning" "Error" "Critical" "Debug"]
- `severities` (Set of String) Rules will execute on logs that match the following severities. Can be one of ["Debug" "Verbose" "Info" "Warning" "Error" "Critical"]
- `subsystems` (Set of String) Rules will execute on logs that match the following subsystems.

<a id="nestedatt--rule_subgroups"></a>
Expand Down
6 changes: 3 additions & 3 deletions docs/data-sources/slo.md
Original file line number Diff line number Diff line change
Expand Up @@ -24,20 +24,20 @@ Coralogix SLO.
- `description` (String) Optional SLO description.
- `filters` (Attributes Set) (see [below for nested schema](#nestedatt--filters))
- `name` (String) SLO name.
- `period` (String) Period. This is the period of the SLO. Valid values are: ["14_days" "30_days" "unspecified" "7_days"]
- `period` (String) Period. This is the period of the SLO. Valid values are: ["unspecified" "7_days" "14_days" "30_days"]
- `remaining_error_budget_percentage` (Number)
- `service_name` (String) Service name. This is the name of the service that the SLO is associated with.
- `status` (String)
- `target_percentage` (Number) Target percentage. This is the target percentage of the SLO.
- `threshold_microseconds` (Number) Threshold in microseconds. Required when `type` is `latency`.
- `threshold_symbol_type` (String) Threshold symbol type. Required when `type` is `latency`. Valid values are: ["greater_or_equal" "less" "less_or_equal" "equal" "greater"]
- `threshold_symbol_type` (String) Threshold symbol type. Required when `type` is `latency`. Valid values are: ["greater" "greater_or_equal" "less" "less_or_equal" "equal"]
- `type` (String) Type. This is the type of the SLO. Valid values are: "error", "latency".

<a id="nestedatt--filters"></a>
### Nested Schema for `filters`

Read-Only:

- `compare_type` (String) Compare type. This is the compare type of the SLO. Valid values are: ["includes" "unspecified" "is" "starts_with" "ends_with"]
- `compare_type` (String) Compare type. This is the compare type of the SLO. Valid values are: ["starts_with" "ends_with" "includes" "unspecified" "is"]
- `field` (String)
- `field_values` (Set of String)
2 changes: 1 addition & 1 deletion docs/data-sources/tco_policies_logs.md
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ Read-Only:
- `name` (String) tco-policy name.
- `order` (Number) The policy's order between the other policies.
- `priority` (String) The policy priority. Can be one of ["block" "high" "low" "medium"].
- `severities` (Set of String) The severities to apply the policy on. Can be few of ["critical" "debug" "verbose" "info" "warning" "error"].
- `severities` (Set of String) The severities to apply the policy on. Can be few of ["debug" "verbose" "info" "warning" "error" "critical"].
- `subsystems` (Attributes) The subsystems to apply the policy on. Applies the policy on all the subsystems by default. (see [below for nested schema](#nestedatt--policies--subsystems))

<a id="nestedatt--policies--applications"></a>
Expand Down
2 changes: 1 addition & 1 deletion docs/data-sources/webhook.md
Original file line number Diff line number Diff line change
Expand Up @@ -155,4 +155,4 @@ Read-Only:
Read-Only:

- `active` (Boolean) Determines if the attachment is active. Default is true.
- `type` (String) Slack attachment type. can be one of: metric_snapshot, logs, empty
- `type` (String) Slack attachment type. can be one of: logs, empty, metric_snapshot
2 changes: 1 addition & 1 deletion docs/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -35,4 +35,4 @@ provider "coralogix" {

- `api_key` (String, Sensitive) A key for using coralogix APIs (Auto Generated), appropriate for the defined environment. environment variable 'CORALOGIX_API_KEY' can be defined instead.
- `domain` (String) The Coralogix domain. Conflict With 'env'. environment variable 'CORALOGIX_DOMAIN' can be defined instead.
- `env` (String) The Coralogix API environment. can be one of ["APAC1" "EUROPE2" "US2" "APAC2" "AP2" "USA1" "USA2" "APAC3" "AP3" "EUROPE1" "EU1" "AP1" "EU2" "US1"]. environment variable 'CORALOGIX_ENV' can be defined instead.
- `env` (String) The Coralogix API environment. can be one of ["USA2" "US2" "AP2" "APAC3" "EUROPE1" "EU1" "EU2" "US1" "APAC1" "AP1" "EUROPE2" "APAC2" "AP3" "USA1"]. environment variable 'CORALOGIX_ENV' can be defined instead.
2 changes: 1 addition & 1 deletion docs/resources/action.md
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ resource "coralogix_action" action {
### Required

- `name` (String) Action name.
- `source_type` (String) By selecting the data type, you can make sure that the action will be displayed only in the relevant context. Can be one of ["Log" "DataMap"]
- `source_type` (String) By selecting the data type, you can make sure that the action will be displayed only in the relevant context. Can be one of ["DataMap" "Log"]
- `url` (String) URL for the external tool.

### Optional
Expand Down
Loading

0 comments on commit a10e7da

Please sign in to comment.