ibm.LogsView
Explore with Pulumi AI
Create, update, and delete logs_views with this resource.
Example Usage
import * as pulumi from "@pulumi/pulumi";
import * as ibm from "@pulumi/ibm";
const logsViewInstance = new ibm.LogsView("logsViewInstance", {
instanceId: ibm_resource_instance.logs_instance.guid,
region: ibm_resource_instance.logs_instance.location,
filters: {
filters: [
{
name: "applicationName",
selectedValues: {
demo: true,
},
},
{
name: "subsystemName",
selectedValues: {
demo: true,
},
},
{
name: "operationName",
selectedValues: {
demo: true,
},
},
{
name: "serviceName",
selectedValues: {
demo: true,
},
},
{
name: "severity",
selectedValues: {
demo: true,
},
},
],
},
searchQuery: {
query: "logs",
},
timeSelection: {
customSelection: {
fromTime: "2024-01-25T11:31:43.152Z",
toTime: "2024-01-25T11:37:13.238Z",
},
},
});
import pulumi
import pulumi_ibm as ibm
logs_view_instance = ibm.LogsView("logsViewInstance",
instance_id=ibm_resource_instance["logs_instance"]["guid"],
region=ibm_resource_instance["logs_instance"]["location"],
filters={
"filters": [
{
"name": "applicationName",
"selected_values": {
"demo": True,
},
},
{
"name": "subsystemName",
"selected_values": {
"demo": True,
},
},
{
"name": "operationName",
"selected_values": {
"demo": True,
},
},
{
"name": "serviceName",
"selected_values": {
"demo": True,
},
},
{
"name": "severity",
"selected_values": {
"demo": True,
},
},
],
},
search_query={
"query": "logs",
},
time_selection={
"custom_selection": {
"from_time": "2024-01-25T11:31:43.152Z",
"to_time": "2024-01-25T11:37:13.238Z",
},
})
package main
import (
"github.com/pulumi/pulumi-terraform-provider/sdks/go/ibm/ibm"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
_, err := ibm.NewLogsView(ctx, "logsViewInstance", &ibm.LogsViewArgs{
InstanceId: pulumi.Any(ibm_resource_instance.Logs_instance.Guid),
Region: pulumi.Any(ibm_resource_instance.Logs_instance.Location),
Filters: &ibm.LogsViewFiltersArgs{
Filters: ibm.LogsViewFiltersFilterArray{
&ibm.LogsViewFiltersFilterArgs{
Name: pulumi.String("applicationName"),
SelectedValues: pulumi.BoolMap{
"demo": pulumi.Bool(true),
},
},
&ibm.LogsViewFiltersFilterArgs{
Name: pulumi.String("subsystemName"),
SelectedValues: pulumi.BoolMap{
"demo": pulumi.Bool(true),
},
},
&ibm.LogsViewFiltersFilterArgs{
Name: pulumi.String("operationName"),
SelectedValues: pulumi.BoolMap{
"demo": pulumi.Bool(true),
},
},
&ibm.LogsViewFiltersFilterArgs{
Name: pulumi.String("serviceName"),
SelectedValues: pulumi.BoolMap{
"demo": pulumi.Bool(true),
},
},
&ibm.LogsViewFiltersFilterArgs{
Name: pulumi.String("severity"),
SelectedValues: pulumi.BoolMap{
"demo": pulumi.Bool(true),
},
},
},
},
SearchQuery: &ibm.LogsViewSearchQueryArgs{
Query: pulumi.String("logs"),
},
TimeSelection: &ibm.LogsViewTimeSelectionArgs{
CustomSelection: &ibm.LogsViewTimeSelectionCustomSelectionArgs{
FromTime: pulumi.String("2024-01-25T11:31:43.152Z"),
ToTime: pulumi.String("2024-01-25T11:37:13.238Z"),
},
},
})
if err != nil {
return err
}
return nil
})
}
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using Ibm = Pulumi.Ibm;
return await Deployment.RunAsync(() =>
{
var logsViewInstance = new Ibm.LogsView("logsViewInstance", new()
{
InstanceId = ibm_resource_instance.Logs_instance.Guid,
Region = ibm_resource_instance.Logs_instance.Location,
Filters = new Ibm.Inputs.LogsViewFiltersArgs
{
Filters = new[]
{
new Ibm.Inputs.LogsViewFiltersFilterArgs
{
Name = "applicationName",
SelectedValues =
{
{ "demo", true },
},
},
new Ibm.Inputs.LogsViewFiltersFilterArgs
{
Name = "subsystemName",
SelectedValues =
{
{ "demo", true },
},
},
new Ibm.Inputs.LogsViewFiltersFilterArgs
{
Name = "operationName",
SelectedValues =
{
{ "demo", true },
},
},
new Ibm.Inputs.LogsViewFiltersFilterArgs
{
Name = "serviceName",
SelectedValues =
{
{ "demo", true },
},
},
new Ibm.Inputs.LogsViewFiltersFilterArgs
{
Name = "severity",
SelectedValues =
{
{ "demo", true },
},
},
},
},
SearchQuery = new Ibm.Inputs.LogsViewSearchQueryArgs
{
Query = "logs",
},
TimeSelection = new Ibm.Inputs.LogsViewTimeSelectionArgs
{
CustomSelection = new Ibm.Inputs.LogsViewTimeSelectionCustomSelectionArgs
{
FromTime = "2024-01-25T11:31:43.152Z",
ToTime = "2024-01-25T11:37:13.238Z",
},
},
});
});
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.ibm.LogsView;
import com.pulumi.ibm.LogsViewArgs;
import com.pulumi.ibm.inputs.LogsViewFiltersArgs;
import com.pulumi.ibm.inputs.LogsViewSearchQueryArgs;
import com.pulumi.ibm.inputs.LogsViewTimeSelectionArgs;
import com.pulumi.ibm.inputs.LogsViewTimeSelectionCustomSelectionArgs;
import java.util.List;
import java.util.ArrayList;
import java.util.Map;
import java.io.File;
import java.nio.file.Files;
import java.nio.file.Paths;
public class App {
public static void main(String[] args) {
Pulumi.run(App::stack);
}
public static void stack(Context ctx) {
var logsViewInstance = new LogsView("logsViewInstance", LogsViewArgs.builder()
.instanceId(ibm_resource_instance.logs_instance().guid())
.region(ibm_resource_instance.logs_instance().location())
.filters(LogsViewFiltersArgs.builder()
.filters(
LogsViewFiltersFilterArgs.builder()
.name("applicationName")
.selectedValues(Map.of("demo", true))
.build(),
LogsViewFiltersFilterArgs.builder()
.name("subsystemName")
.selectedValues(Map.of("demo", true))
.build(),
LogsViewFiltersFilterArgs.builder()
.name("operationName")
.selectedValues(Map.of("demo", true))
.build(),
LogsViewFiltersFilterArgs.builder()
.name("serviceName")
.selectedValues(Map.of("demo", true))
.build(),
LogsViewFiltersFilterArgs.builder()
.name("severity")
.selectedValues(Map.of("demo", true))
.build())
.build())
.searchQuery(LogsViewSearchQueryArgs.builder()
.query("logs")
.build())
.timeSelection(LogsViewTimeSelectionArgs.builder()
.customSelection(LogsViewTimeSelectionCustomSelectionArgs.builder()
.fromTime("2024-01-25T11:31:43.152Z")
.toTime("2024-01-25T11:37:13.238Z")
.build())
.build())
.build());
}
}
resources:
logsViewInstance:
type: ibm:LogsView
properties:
instanceId: ${ibm_resource_instance.logs_instance.guid}
region: ${ibm_resource_instance.logs_instance.location}
filters:
filters:
- name: applicationName
selectedValues:
demo: true
- name: subsystemName
selectedValues:
demo: true
- name: operationName
selectedValues:
demo: true
- name: serviceName
selectedValues:
demo: true
- name: severity
selectedValues:
demo: true
searchQuery:
query: logs
timeSelection:
customSelection:
fromTime: 2024-01-25T11:31:43.152Z
toTime: 2024-01-25T11:37:13.238Z
Create LogsView Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new LogsView(name: string, args: LogsViewArgs, opts?: CustomResourceOptions);
@overload
def LogsView(resource_name: str,
args: LogsViewArgs,
opts: Optional[ResourceOptions] = None)
@overload
def LogsView(resource_name: str,
opts: Optional[ResourceOptions] = None,
instance_id: Optional[str] = None,
time_selection: Optional[LogsViewTimeSelectionArgs] = None,
endpoint_type: Optional[str] = None,
filters: Optional[LogsViewFiltersArgs] = None,
folder_id: Optional[str] = None,
logs_view_id: Optional[str] = None,
name: Optional[str] = None,
region: Optional[str] = None,
search_query: Optional[LogsViewSearchQueryArgs] = None)
func NewLogsView(ctx *Context, name string, args LogsViewArgs, opts ...ResourceOption) (*LogsView, error)
public LogsView(string name, LogsViewArgs args, CustomResourceOptions? opts = null)
public LogsView(String name, LogsViewArgs args)
public LogsView(String name, LogsViewArgs args, CustomResourceOptions options)
type: ibm:LogsView
properties: # The arguments to resource properties.
options: # Bag of options to control resource's behavior.
Parameters
- name string
- The unique name of the resource.
- args LogsViewArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- resource_name str
- The unique name of the resource.
- args LogsViewArgs
- The arguments to resource properties.
- opts ResourceOptions
- Bag of options to control resource's behavior.
- ctx Context
- Context object for the current deployment.
- name string
- The unique name of the resource.
- args LogsViewArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args LogsViewArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args LogsViewArgs
- The arguments to resource properties.
- options CustomResourceOptions
- Bag of options to control resource's behavior.
Constructor example
The following reference example uses placeholder values for all input properties.
var logsViewResource = new Ibm.LogsView("logsViewResource", new()
{
InstanceId = "string",
TimeSelection = new Ibm.Inputs.LogsViewTimeSelectionArgs
{
CustomSelection = new Ibm.Inputs.LogsViewTimeSelectionCustomSelectionArgs
{
FromTime = "string",
ToTime = "string",
},
QuickSelection = new Ibm.Inputs.LogsViewTimeSelectionQuickSelectionArgs
{
Caption = "string",
Seconds = 0,
},
},
EndpointType = "string",
Filters = new Ibm.Inputs.LogsViewFiltersArgs
{
Filters = new[]
{
new Ibm.Inputs.LogsViewFiltersFilterArgs
{
Name = "string",
SelectedValues =
{
{ "string", false },
},
},
},
},
FolderId = "string",
LogsViewId = "string",
Name = "string",
Region = "string",
SearchQuery = new Ibm.Inputs.LogsViewSearchQueryArgs
{
Query = "string",
},
});
example, err := ibm.NewLogsView(ctx, "logsViewResource", &ibm.LogsViewArgs{
InstanceId: pulumi.String("string"),
TimeSelection: &ibm.LogsViewTimeSelectionArgs{
CustomSelection: &ibm.LogsViewTimeSelectionCustomSelectionArgs{
FromTime: pulumi.String("string"),
ToTime: pulumi.String("string"),
},
QuickSelection: &ibm.LogsViewTimeSelectionQuickSelectionArgs{
Caption: pulumi.String("string"),
Seconds: pulumi.Float64(0),
},
},
EndpointType: pulumi.String("string"),
Filters: &ibm.LogsViewFiltersArgs{
Filters: ibm.LogsViewFiltersFilterArray{
&ibm.LogsViewFiltersFilterArgs{
Name: pulumi.String("string"),
SelectedValues: pulumi.BoolMap{
"string": pulumi.Bool(false),
},
},
},
},
FolderId: pulumi.String("string"),
LogsViewId: pulumi.String("string"),
Name: pulumi.String("string"),
Region: pulumi.String("string"),
SearchQuery: &ibm.LogsViewSearchQueryArgs{
Query: pulumi.String("string"),
},
})
var logsViewResource = new LogsView("logsViewResource", LogsViewArgs.builder()
.instanceId("string")
.timeSelection(LogsViewTimeSelectionArgs.builder()
.customSelection(LogsViewTimeSelectionCustomSelectionArgs.builder()
.fromTime("string")
.toTime("string")
.build())
.quickSelection(LogsViewTimeSelectionQuickSelectionArgs.builder()
.caption("string")
.seconds(0)
.build())
.build())
.endpointType("string")
.filters(LogsViewFiltersArgs.builder()
.filters(LogsViewFiltersFilterArgs.builder()
.name("string")
.selectedValues(Map.of("string", false))
.build())
.build())
.folderId("string")
.logsViewId("string")
.name("string")
.region("string")
.searchQuery(LogsViewSearchQueryArgs.builder()
.query("string")
.build())
.build());
logs_view_resource = ibm.LogsView("logsViewResource",
instance_id="string",
time_selection={
"custom_selection": {
"from_time": "string",
"to_time": "string",
},
"quick_selection": {
"caption": "string",
"seconds": 0,
},
},
endpoint_type="string",
filters={
"filters": [{
"name": "string",
"selected_values": {
"string": False,
},
}],
},
folder_id="string",
logs_view_id="string",
name="string",
region="string",
search_query={
"query": "string",
})
const logsViewResource = new ibm.LogsView("logsViewResource", {
instanceId: "string",
timeSelection: {
customSelection: {
fromTime: "string",
toTime: "string",
},
quickSelection: {
caption: "string",
seconds: 0,
},
},
endpointType: "string",
filters: {
filters: [{
name: "string",
selectedValues: {
string: false,
},
}],
},
folderId: "string",
logsViewId: "string",
name: "string",
region: "string",
searchQuery: {
query: "string",
},
});
type: ibm:LogsView
properties:
endpointType: string
filters:
filters:
- name: string
selectedValues:
string: false
folderId: string
instanceId: string
logsViewId: string
name: string
region: string
searchQuery:
query: string
timeSelection:
customSelection:
fromTime: string
toTime: string
quickSelection:
caption: string
seconds: 0
LogsView Resource Properties
To learn more about resource properties and how to use them, see Inputs and Outputs in the Architecture and Concepts docs.
Inputs
In Python, inputs that are objects can be passed either as argument classes or as dictionary literals.
The LogsView resource accepts the following input properties:
- Instance
Id string - Cloud Logs Instance GUID.
- Time
Selection LogsView Time Selection - View time selection. Nested schema for time_selection:
- Endpoint
Type string - Cloud Logs Instance Endpoint type. Allowed values
public
andprivate
. - Filters
Logs
View Filters - View selected filters. Nested schema for filters:
- Folder
Id string - View folder ID.
- Constraints: The maximum length is
36
characters. The minimum length is36
characters. The value must match regular expression/^[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}$/
.
- Constraints: The maximum length is
- Logs
View stringId - The unique identifier of the logs_view resource.
- Name string
- View name.
- Constraints: The maximum length is
4096
characters. The minimum length is1
character. The value must match regular expression^[\\p{L}\\p{N}\\p{P}\\p{Z}\\p{S}\\p{M}]+$
.
- Constraints: The maximum length is
- Region string
- Cloud Logs Instance Region.
- Search
Query LogsView Search Query - View search query. Nested schema for search_query:
- Instance
Id string - Cloud Logs Instance GUID.
- Time
Selection LogsView Time Selection Args - View time selection. Nested schema for time_selection:
- Endpoint
Type string - Cloud Logs Instance Endpoint type. Allowed values
public
andprivate
. - Filters
Logs
View Filters Args - View selected filters. Nested schema for filters:
- Folder
Id string - View folder ID.
- Constraints: The maximum length is
36
characters. The minimum length is36
characters. The value must match regular expression/^[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}$/
.
- Constraints: The maximum length is
- Logs
View stringId - The unique identifier of the logs_view resource.
- Name string
- View name.
- Constraints: The maximum length is
4096
characters. The minimum length is1
character. The value must match regular expression^[\\p{L}\\p{N}\\p{P}\\p{Z}\\p{S}\\p{M}]+$
.
- Constraints: The maximum length is
- Region string
- Cloud Logs Instance Region.
- Search
Query LogsView Search Query Args - View search query. Nested schema for search_query:
- instance
Id String - Cloud Logs Instance GUID.
- time
Selection LogsView Time Selection - View time selection. Nested schema for time_selection:
- endpoint
Type String - Cloud Logs Instance Endpoint type. Allowed values
public
andprivate
. - filters
Logs
View Filters - View selected filters. Nested schema for filters:
- folder
Id String - View folder ID.
- Constraints: The maximum length is
36
characters. The minimum length is36
characters. The value must match regular expression/^[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}$/
.
- Constraints: The maximum length is
- logs
View StringId - The unique identifier of the logs_view resource.
- name String
- View name.
- Constraints: The maximum length is
4096
characters. The minimum length is1
character. The value must match regular expression^[\\p{L}\\p{N}\\p{P}\\p{Z}\\p{S}\\p{M}]+$
.
- Constraints: The maximum length is
- region String
- Cloud Logs Instance Region.
- search
Query LogsView Search Query - View search query. Nested schema for search_query:
- instance
Id string - Cloud Logs Instance GUID.
- time
Selection LogsView Time Selection - View time selection. Nested schema for time_selection:
- endpoint
Type string - Cloud Logs Instance Endpoint type. Allowed values
public
andprivate
. - filters
Logs
View Filters - View selected filters. Nested schema for filters:
- folder
Id string - View folder ID.
- Constraints: The maximum length is
36
characters. The minimum length is36
characters. The value must match regular expression/^[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}$/
.
- Constraints: The maximum length is
- logs
View stringId - The unique identifier of the logs_view resource.
- name string
- View name.
- Constraints: The maximum length is
4096
characters. The minimum length is1
character. The value must match regular expression^[\\p{L}\\p{N}\\p{P}\\p{Z}\\p{S}\\p{M}]+$
.
- Constraints: The maximum length is
- region string
- Cloud Logs Instance Region.
- search
Query LogsView Search Query - View search query. Nested schema for search_query:
- instance_
id str - Cloud Logs Instance GUID.
- time_
selection LogsView Time Selection Args - View time selection. Nested schema for time_selection:
- endpoint_
type str - Cloud Logs Instance Endpoint type. Allowed values
public
andprivate
. - filters
Logs
View Filters Args - View selected filters. Nested schema for filters:
- folder_
id str - View folder ID.
- Constraints: The maximum length is
36
characters. The minimum length is36
characters. The value must match regular expression/^[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}$/
.
- Constraints: The maximum length is
- logs_
view_ strid - The unique identifier of the logs_view resource.
- name str
- View name.
- Constraints: The maximum length is
4096
characters. The minimum length is1
character. The value must match regular expression^[\\p{L}\\p{N}\\p{P}\\p{Z}\\p{S}\\p{M}]+$
.
- Constraints: The maximum length is
- region str
- Cloud Logs Instance Region.
- search_
query LogsView Search Query Args - View search query. Nested schema for search_query:
- instance
Id String - Cloud Logs Instance GUID.
- time
Selection Property Map - View time selection. Nested schema for time_selection:
- endpoint
Type String - Cloud Logs Instance Endpoint type. Allowed values
public
andprivate
. - filters Property Map
- View selected filters. Nested schema for filters:
- folder
Id String - View folder ID.
- Constraints: The maximum length is
36
characters. The minimum length is36
characters. The value must match regular expression/^[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}$/
.
- Constraints: The maximum length is
- logs
View StringId - The unique identifier of the logs_view resource.
- name String
- View name.
- Constraints: The maximum length is
4096
characters. The minimum length is1
character. The value must match regular expression^[\\p{L}\\p{N}\\p{P}\\p{Z}\\p{S}\\p{M}]+$
.
- Constraints: The maximum length is
- region String
- Cloud Logs Instance Region.
- search
Query Property Map - View search query. Nested schema for search_query:
Outputs
All input properties are implicitly available as output properties. Additionally, the LogsView resource produces the following output properties:
Look up Existing LogsView Resource
Get an existing LogsView resource’s state with the given name, ID, and optional extra properties used to qualify the lookup.
public static get(name: string, id: Input<ID>, state?: LogsViewState, opts?: CustomResourceOptions): LogsView
@staticmethod
def get(resource_name: str,
id: str,
opts: Optional[ResourceOptions] = None,
endpoint_type: Optional[str] = None,
filters: Optional[LogsViewFiltersArgs] = None,
folder_id: Optional[str] = None,
instance_id: Optional[str] = None,
logs_view_id: Optional[str] = None,
name: Optional[str] = None,
region: Optional[str] = None,
search_query: Optional[LogsViewSearchQueryArgs] = None,
time_selection: Optional[LogsViewTimeSelectionArgs] = None,
view_id: Optional[str] = None) -> LogsView
func GetLogsView(ctx *Context, name string, id IDInput, state *LogsViewState, opts ...ResourceOption) (*LogsView, error)
public static LogsView Get(string name, Input<string> id, LogsViewState? state, CustomResourceOptions? opts = null)
public static LogsView get(String name, Output<String> id, LogsViewState state, CustomResourceOptions options)
resources: _: type: ibm:LogsView get: id: ${id}
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- resource_name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- Endpoint
Type string - Cloud Logs Instance Endpoint type. Allowed values
public
andprivate
. - Filters
Logs
View Filters - View selected filters. Nested schema for filters:
- Folder
Id string - View folder ID.
- Constraints: The maximum length is
36
characters. The minimum length is36
characters. The value must match regular expression/^[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}$/
.
- Constraints: The maximum length is
- Instance
Id string - Cloud Logs Instance GUID.
- Logs
View stringId - The unique identifier of the logs_view resource.
- Name string
- View name.
- Constraints: The maximum length is
4096
characters. The minimum length is1
character. The value must match regular expression^[\\p{L}\\p{N}\\p{P}\\p{Z}\\p{S}\\p{M}]+$
.
- Constraints: The maximum length is
- Region string
- Cloud Logs Instance Region.
- Search
Query LogsView Search Query - View search query. Nested schema for search_query:
- Time
Selection LogsView Time Selection - View time selection. Nested schema for time_selection:
- View
Id string - The unique identifier of the logs_view.
- Endpoint
Type string - Cloud Logs Instance Endpoint type. Allowed values
public
andprivate
. - Filters
Logs
View Filters Args - View selected filters. Nested schema for filters:
- Folder
Id string - View folder ID.
- Constraints: The maximum length is
36
characters. The minimum length is36
characters. The value must match regular expression/^[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}$/
.
- Constraints: The maximum length is
- Instance
Id string - Cloud Logs Instance GUID.
- Logs
View stringId - The unique identifier of the logs_view resource.
- Name string
- View name.
- Constraints: The maximum length is
4096
characters. The minimum length is1
character. The value must match regular expression^[\\p{L}\\p{N}\\p{P}\\p{Z}\\p{S}\\p{M}]+$
.
- Constraints: The maximum length is
- Region string
- Cloud Logs Instance Region.
- Search
Query LogsView Search Query Args - View search query. Nested schema for search_query:
- Time
Selection LogsView Time Selection Args - View time selection. Nested schema for time_selection:
- View
Id string - The unique identifier of the logs_view.
- endpoint
Type String - Cloud Logs Instance Endpoint type. Allowed values
public
andprivate
. - filters
Logs
View Filters - View selected filters. Nested schema for filters:
- folder
Id String - View folder ID.
- Constraints: The maximum length is
36
characters. The minimum length is36
characters. The value must match regular expression/^[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}$/
.
- Constraints: The maximum length is
- instance
Id String - Cloud Logs Instance GUID.
- logs
View StringId - The unique identifier of the logs_view resource.
- name String
- View name.
- Constraints: The maximum length is
4096
characters. The minimum length is1
character. The value must match regular expression^[\\p{L}\\p{N}\\p{P}\\p{Z}\\p{S}\\p{M}]+$
.
- Constraints: The maximum length is
- region String
- Cloud Logs Instance Region.
- search
Query LogsView Search Query - View search query. Nested schema for search_query:
- time
Selection LogsView Time Selection - View time selection. Nested schema for time_selection:
- view
Id String - The unique identifier of the logs_view.
- endpoint
Type string - Cloud Logs Instance Endpoint type. Allowed values
public
andprivate
. - filters
Logs
View Filters - View selected filters. Nested schema for filters:
- folder
Id string - View folder ID.
- Constraints: The maximum length is
36
characters. The minimum length is36
characters. The value must match regular expression/^[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}$/
.
- Constraints: The maximum length is
- instance
Id string - Cloud Logs Instance GUID.
- logs
View stringId - The unique identifier of the logs_view resource.
- name string
- View name.
- Constraints: The maximum length is
4096
characters. The minimum length is1
character. The value must match regular expression^[\\p{L}\\p{N}\\p{P}\\p{Z}\\p{S}\\p{M}]+$
.
- Constraints: The maximum length is
- region string
- Cloud Logs Instance Region.
- search
Query LogsView Search Query - View search query. Nested schema for search_query:
- time
Selection LogsView Time Selection - View time selection. Nested schema for time_selection:
- view
Id string - The unique identifier of the logs_view.
- endpoint_
type str - Cloud Logs Instance Endpoint type. Allowed values
public
andprivate
. - filters
Logs
View Filters Args - View selected filters. Nested schema for filters:
- folder_
id str - View folder ID.
- Constraints: The maximum length is
36
characters. The minimum length is36
characters. The value must match regular expression/^[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}$/
.
- Constraints: The maximum length is
- instance_
id str - Cloud Logs Instance GUID.
- logs_
view_ strid - The unique identifier of the logs_view resource.
- name str
- View name.
- Constraints: The maximum length is
4096
characters. The minimum length is1
character. The value must match regular expression^[\\p{L}\\p{N}\\p{P}\\p{Z}\\p{S}\\p{M}]+$
.
- Constraints: The maximum length is
- region str
- Cloud Logs Instance Region.
- search_
query LogsView Search Query Args - View search query. Nested schema for search_query:
- time_
selection LogsView Time Selection Args - View time selection. Nested schema for time_selection:
- view_
id str - The unique identifier of the logs_view.
- endpoint
Type String - Cloud Logs Instance Endpoint type. Allowed values
public
andprivate
. - filters Property Map
- View selected filters. Nested schema for filters:
- folder
Id String - View folder ID.
- Constraints: The maximum length is
36
characters. The minimum length is36
characters. The value must match regular expression/^[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}$/
.
- Constraints: The maximum length is
- instance
Id String - Cloud Logs Instance GUID.
- logs
View StringId - The unique identifier of the logs_view resource.
- name String
- View name.
- Constraints: The maximum length is
4096
characters. The minimum length is1
character. The value must match regular expression^[\\p{L}\\p{N}\\p{P}\\p{Z}\\p{S}\\p{M}]+$
.
- Constraints: The maximum length is
- region String
- Cloud Logs Instance Region.
- search
Query Property Map - View search query. Nested schema for search_query:
- time
Selection Property Map - View time selection. Nested schema for time_selection:
- view
Id String - The unique identifier of the logs_view.
Supporting Types
LogsViewFilters, LogsViewFiltersArgs
- Filters
List<Logs
View Filters Filter> - Selected filters.
- Constraints: The maximum length is
4096
items. The minimum length is1
item. Nested schema for filters:
- Constraints: The maximum length is
- Filters
[]Logs
View Filters Filter - Selected filters.
- Constraints: The maximum length is
4096
items. The minimum length is1
item. Nested schema for filters:
- Constraints: The maximum length is
- filters
List<Logs
View Filters Filter> - Selected filters.
- Constraints: The maximum length is
4096
items. The minimum length is1
item. Nested schema for filters:
- Constraints: The maximum length is
- filters
Logs
View Filters Filter[] - Selected filters.
- Constraints: The maximum length is
4096
items. The minimum length is1
item. Nested schema for filters:
- Constraints: The maximum length is
- filters
Sequence[Logs
View Filters Filter] - Selected filters.
- Constraints: The maximum length is
4096
items. The minimum length is1
item. Nested schema for filters:
- Constraints: The maximum length is
- filters List<Property Map>
- Selected filters.
- Constraints: The maximum length is
4096
items. The minimum length is1
item. Nested schema for filters:
- Constraints: The maximum length is
LogsViewFiltersFilter, LogsViewFiltersFilterArgs
- Name string
- Filter name.
- Constraints: The maximum length is
4096
characters. The minimum length is1
character. The value must match regular expression^[\\p{L}\\p{N}\\p{P}\\p{Z}\\p{S}\\p{M}]+$
.
- Constraints: The maximum length is
- Selected
Values Dictionary<string, bool> - Filter selected values.
- Name string
- Filter name.
- Constraints: The maximum length is
4096
characters. The minimum length is1
character. The value must match regular expression^[\\p{L}\\p{N}\\p{P}\\p{Z}\\p{S}\\p{M}]+$
.
- Constraints: The maximum length is
- Selected
Values map[string]bool - Filter selected values.
- name String
- Filter name.
- Constraints: The maximum length is
4096
characters. The minimum length is1
character. The value must match regular expression^[\\p{L}\\p{N}\\p{P}\\p{Z}\\p{S}\\p{M}]+$
.
- Constraints: The maximum length is
- selected
Values Map<String,Boolean> - Filter selected values.
- name string
- Filter name.
- Constraints: The maximum length is
4096
characters. The minimum length is1
character. The value must match regular expression^[\\p{L}\\p{N}\\p{P}\\p{Z}\\p{S}\\p{M}]+$
.
- Constraints: The maximum length is
- selected
Values {[key: string]: boolean} - Filter selected values.
- name str
- Filter name.
- Constraints: The maximum length is
4096
characters. The minimum length is1
character. The value must match regular expression^[\\p{L}\\p{N}\\p{P}\\p{Z}\\p{S}\\p{M}]+$
.
- Constraints: The maximum length is
- selected_
values Mapping[str, bool] - Filter selected values.
- name String
- Filter name.
- Constraints: The maximum length is
4096
characters. The minimum length is1
character. The value must match regular expression^[\\p{L}\\p{N}\\p{P}\\p{Z}\\p{S}\\p{M}]+$
.
- Constraints: The maximum length is
- selected
Values Map<Boolean> - Filter selected values.
LogsViewSearchQuery, LogsViewSearchQueryArgs
- Query string
- View search query.
- Constraints: The maximum length is
4096
characters. The minimum length is1
character. The value must match regular expression^[\\p{L}\\p{N}\\p{P}\\p{Z}\\p{S}\\p{M}]+$
.
- Constraints: The maximum length is
- Query string
- View search query.
- Constraints: The maximum length is
4096
characters. The minimum length is1
character. The value must match regular expression^[\\p{L}\\p{N}\\p{P}\\p{Z}\\p{S}\\p{M}]+$
.
- Constraints: The maximum length is
- query String
- View search query.
- Constraints: The maximum length is
4096
characters. The minimum length is1
character. The value must match regular expression^[\\p{L}\\p{N}\\p{P}\\p{Z}\\p{S}\\p{M}]+$
.
- Constraints: The maximum length is
- query string
- View search query.
- Constraints: The maximum length is
4096
characters. The minimum length is1
character. The value must match regular expression^[\\p{L}\\p{N}\\p{P}\\p{Z}\\p{S}\\p{M}]+$
.
- Constraints: The maximum length is
- query str
- View search query.
- Constraints: The maximum length is
4096
characters. The minimum length is1
character. The value must match regular expression^[\\p{L}\\p{N}\\p{P}\\p{Z}\\p{S}\\p{M}]+$
.
- Constraints: The maximum length is
- query String
- View search query.
- Constraints: The maximum length is
4096
characters. The minimum length is1
character. The value must match regular expression^[\\p{L}\\p{N}\\p{P}\\p{Z}\\p{S}\\p{M}]+$
.
- Constraints: The maximum length is
LogsViewTimeSelection, LogsViewTimeSelectionArgs
- Custom
Selection LogsView Time Selection Custom Selection - Custom time selection. Nested schema for custom_selection:
- Quick
Selection LogsView Time Selection Quick Selection - Quick time selection. Nested schema for quick_selection:
- Custom
Selection LogsView Time Selection Custom Selection - Custom time selection. Nested schema for custom_selection:
- Quick
Selection LogsView Time Selection Quick Selection - Quick time selection. Nested schema for quick_selection:
- custom
Selection LogsView Time Selection Custom Selection - Custom time selection. Nested schema for custom_selection:
- quick
Selection LogsView Time Selection Quick Selection - Quick time selection. Nested schema for quick_selection:
- custom
Selection LogsView Time Selection Custom Selection - Custom time selection. Nested schema for custom_selection:
- quick
Selection LogsView Time Selection Quick Selection - Quick time selection. Nested schema for quick_selection:
- custom_
selection LogsView Time Selection Custom Selection - Custom time selection. Nested schema for custom_selection:
- quick_
selection LogsView Time Selection Quick Selection - Quick time selection. Nested schema for quick_selection:
- custom
Selection Property Map - Custom time selection. Nested schema for custom_selection:
- quick
Selection Property Map - Quick time selection. Nested schema for quick_selection:
LogsViewTimeSelectionCustomSelection, LogsViewTimeSelectionCustomSelectionArgs
LogsViewTimeSelectionQuickSelection, LogsViewTimeSelectionQuickSelectionArgs
- Caption string
- Quick time selection caption.
- Constraints: The maximum length is
4096
characters. The minimum length is1
character. The value must match regular expression^[\\p{L}\\p{N}\\p{P}\\p{Z}\\p{S}\\p{M}]+$
.
- Constraints: The maximum length is
- Seconds double
- Quick time selection amount of seconds.
- Constraints: The maximum value is
4294967295
. The minimum value is0
.
- Constraints: The maximum value is
- Caption string
- Quick time selection caption.
- Constraints: The maximum length is
4096
characters. The minimum length is1
character. The value must match regular expression^[\\p{L}\\p{N}\\p{P}\\p{Z}\\p{S}\\p{M}]+$
.
- Constraints: The maximum length is
- Seconds float64
- Quick time selection amount of seconds.
- Constraints: The maximum value is
4294967295
. The minimum value is0
.
- Constraints: The maximum value is
- caption String
- Quick time selection caption.
- Constraints: The maximum length is
4096
characters. The minimum length is1
character. The value must match regular expression^[\\p{L}\\p{N}\\p{P}\\p{Z}\\p{S}\\p{M}]+$
.
- Constraints: The maximum length is
- seconds Double
- Quick time selection amount of seconds.
- Constraints: The maximum value is
4294967295
. The minimum value is0
.
- Constraints: The maximum value is
- caption string
- Quick time selection caption.
- Constraints: The maximum length is
4096
characters. The minimum length is1
character. The value must match regular expression^[\\p{L}\\p{N}\\p{P}\\p{Z}\\p{S}\\p{M}]+$
.
- Constraints: The maximum length is
- seconds number
- Quick time selection amount of seconds.
- Constraints: The maximum value is
4294967295
. The minimum value is0
.
- Constraints: The maximum value is
- caption str
- Quick time selection caption.
- Constraints: The maximum length is
4096
characters. The minimum length is1
character. The value must match regular expression^[\\p{L}\\p{N}\\p{P}\\p{Z}\\p{S}\\p{M}]+$
.
- Constraints: The maximum length is
- seconds float
- Quick time selection amount of seconds.
- Constraints: The maximum value is
4294967295
. The minimum value is0
.
- Constraints: The maximum value is
- caption String
- Quick time selection caption.
- Constraints: The maximum length is
4096
characters. The minimum length is1
character. The value must match regular expression^[\\p{L}\\p{N}\\p{P}\\p{Z}\\p{S}\\p{M}]+$
.
- Constraints: The maximum length is
- seconds Number
- Quick time selection amount of seconds.
- Constraints: The maximum value is
4294967295
. The minimum value is0
.
- Constraints: The maximum value is
Import
You can import the ibm_logs_view
resource by using id
. id
combination of region
, instance_id
and view_id
.
Syntax
```sh $ pulumi import ibm:index/logsView:LogsView logs_view < region >/< instance_id >/< view_id >; ```
Example
$ pulumi import ibm:index/logsView:LogsView logs_view eu-gb/3dc02998-0b50-4ea8-b68a-4779d716fa1f/52
To learn more about importing existing cloud resources, see Importing resources.
Package Details
- Repository
- ibm ibm-cloud/terraform-provider-ibm
- License
- Notes
- This Pulumi package is based on the
ibm
Terraform Provider.