Skip to main content

ErrorsApplication

Resource ErrorsApplication in pulumi-logtail.
11 min read

Resource ErrorsApplication in pulumi-logtail.

Pulumi type: logtail:index/errorsApplication:ErrorsApplication.

name is the Pulumi resource name. Nested object fields are documented under that object. They are not arguments of this resource.

Example#

Only required arguments are set. A string in angle brackets stands in for that argument. Any other value is an option or example written in the SDK description.

Arguments#

PropertyTypeRequiredDescription
applicationGroupIdnumbernoID of the application group this application belongs to. Set to 0 to remove from a group.
codeMappingSourceRootstringnoSource code root path that replaces the stack trace root prefix. Used to map container or build paths to the corresponding repository paths for git blame.
codeMappingStackRootstringnoStack trace root path prefix to match. When a stack trace file starts with this prefix, it will be replaced with the source code root to map to the correct repository path.
correlateWithSourceIdnumbernoID of an existing source to correlate errors from this application with, for log and trace correlation. Cannot be changed after the application is created.
customBucketErrorsApplicationCustomBucket (input)noOptional custom S3-compatible bucket configuration for the application. Can only be set when creating the application and cannot be added, changed, or removed afterwards - recreate the application to use a different bucket. Better Stack validates the credentials by writing and reading a test object in the bucket during creation.
dataRegionstringnoData region or private cluster name to create the application in. Permitted values for most plans are: 'usWest', 'germany', 'singapore'. This value can only be set at creation time and cannot be changed afterwards. The API returns the specific cluster name, which may differ from the value you provide (for example, 'germany' may read back as 'eu-nbg-2').\ When importing an existing application, leave 'dataRegion' unset in your configuration - Terraform reads it from the API. Pinning it to an identifier that differs from the stored cluster name produces a spurious 'dataRegion' cannot be changed after application is created' error.
errorsRetentionnumbernoError data retention period in days. Default retention is 90 days.
githubRepositoryNamestringnoFull name of a GitHub repository (e.g. owner/repo) to connect to this application for source links, git blame, and AI-assisted fixes. The repository must already be connected to your team's GitHub integration. Set to an empty string to disconnect. Mutually exclusive with gitlabRepositoryName.
gitlabRepositoryNamestringnoFull name of a GitLab repository (e.g. group/project) to connect to this application for source links, git blame, and AI-assisted fixes. The repository must already be connected to your team's GitLab integration. Set to an empty string to disconnect. Mutually exclusive with githubRepositoryName.
ingestingPausedbooleannoThis property allows you to temporarily pause data ingesting for this application.
namestringnoApplication name. Must be unique within your team.
platformstringyesThe platform type for the application. This helps configure appropriate SDKs and integrations. You can't update this value later. Valid values are: - aiohttpErrors - androidErrors - angularErrors - asgiErrors - aspDotNetCoreErrors - aspDotNetErrors - astroErrors - awsLambdaDotNetErrors - awsLambdaNodeErrors - awsLambdaPythonErrors - azureFunctionsNodeErrors - bottleErrors - bunErrors - celeryErrors - chaliceErrors - cliErrors - cloudflarePagesErrors - connectErrors - dartErrors - denoErrors - djangoErrors - dotNetErrors - dotNetHttpErrors - dotNetMauiErrors - echoErrors - electronErrors - elixirErrors - emberErrors - expressErrors - falconErrors - fastapiErrors - fasthttpErrors - fastifyErrors - fiberErrors - flaskErrors - flutterErrors - gatsbyErrors - ginErrors - goErrors - godotErrors - googleCloudFunctionDotNetErrors - googleCloudFunctionNodeErrors - googleCloudFunctionPythonErrors - hapiErrors - iosErrors - irisErrors - javaErrors - javascriptErrors - koaErrors - kotlinErrors - laravelErrors - log4jErrors - logbackErrors - macosErrors - minidumpErrors - nativeErrors - negroniErrors - nestJsErrors - nextJsErrors - nodeErrors - nuxtErrors - phpErrors - powershellErrors - pyramidErrors - pythonErrors - qtErrors - quartErrors - rackMiddlewareErrors - railsErrors - reactErrors - reactNativeErrors - reactRouterFrameworkErrors - remixErrors - rqErrors - rubyErrors - rustErrors - sanicErrors - serverlessPythonErrors - solidErrors - solidstartErrors - springBootErrors - springErrors - starletteErrors - svelteErrors - sveltekitErrors - symfonyErrors - tanstackStartReactErrors - tornadoErrors - trytonErrors - unityErrors - unrealEngineErrors - vueErrors - windowsFormsErrors - wpfErrors - wsgiErrors
teamNamestringnoUsed to specify the team the resource should be created in when using global tokens. You can't update this value later.
vrlTransformationExceptionsstringnoVRL transformation applied to exceptions on Better Stack's servers during ingestion. This is what controls how exceptions are grouped into errors. Leave unset to keep the grouping unmanaged - the attribute reads back the effective program, including the default grouping for the application's platform. Set to an empty string to remove the grouping program entirely (exceptions stop being grouped by it - this is rarely what you want; to return to the default grouping, use the application's Exception grouping editor). Read more about customizing exception grouping.
vrlTransformationLogsstringnoVRL transformation applied to logs on Better Stack's servers during ingestion. Leave unset to keep the transformation unmanaged; set to an empty string to remove it. Read more about VRL transformations.
vrlTransformationReplaysstringnoVRL transformation applied to session replays on Better Stack's servers during ingestion. Leave unset to keep the transformation unmanaged; set to an empty string to remove it. Read more about VRL transformations.
vrlTransformationSpansstringnoVRL transformation applied to traces (spans) on Better Stack's servers during ingestion. Leave unset to keep the transformation unmanaged; set to an empty string to remove it. Read more about VRL transformations.
vrlTransformationWebEventsstringnoVRL transformation applied to web events (page views and web vitals) on Better Stack's servers during ingestion. Leave unset to keep the transformation unmanaged; set to an empty string to remove it. Read more about VRL transformations.

Outputs#

Computed outputs are produced by the provider. They are not constructor arguments.

PropertyTypeComputedDescription
applicationGroupIdnumbernoID of the application group this application belongs to. Set to 0 to remove from a group.
codeMappingSourceRootstringnoSource code root path that replaces the stack trace root prefix. Used to map container or build paths to the corresponding repository paths for git blame.
codeMappingStackRootstringnoStack trace root path prefix to match. When a stack trace file starts with this prefix, it will be replaced with the source code root to map to the correct repository path.
correlateWithSourceIdnumbernoID of an existing source to correlate errors from this application with, for log and trace correlation. Cannot be changed after the application is created.
createdAtstringyesThe time when this application was created.
customBucketErrorsApplicationCustomBucket (output)noOptional custom S3-compatible bucket configuration for the application. Can only be set when creating the application and cannot be added, changed, or removed afterwards - recreate the application to use a different bucket. Better Stack validates the credentials by writing and reading a test object in the bucket during creation.
dataRegionstringnoData region or private cluster name to create the application in. Permitted values for most plans are: 'usWest', 'germany', 'singapore'. This value can only be set at creation time and cannot be changed afterwards. The API returns the specific cluster name, which may differ from the value you provide (for example, 'germany' may read back as 'eu-nbg-2').\ When importing an existing application, leave 'dataRegion' unset in your configuration - Terraform reads it from the API. Pinning it to an identifier that differs from the stored cluster name produces a spurious 'dataRegion' cannot be changed after application is created' error.
errorsRetentionnumbernoError data retention period in days. Default retention is 90 days.
githubRepositoryNamestringnoFull name of a GitHub repository (e.g. owner/repo) to connect to this application for source links, git blame, and AI-assisted fixes. The repository must already be connected to your team's GitHub integration. Set to an empty string to disconnect. Mutually exclusive with gitlabRepositoryName.
gitlabRepositoryNamestringnoFull name of a GitLab repository (e.g. group/project) to connect to this application for source links, git blame, and AI-assisted fixes. The repository must already be connected to your team's GitLab integration. Set to an empty string to disconnect. Mutually exclusive with githubRepositoryName.
ingestingHoststringyesThe host where the errors should be sent. See documentation for your specific platform for details.
ingestingPausedbooleannoThis property allows you to temporarily pause data ingesting for this application.
jsTagTokenstringyesThe public JavaScript tag token embedded in the browser snippet for RUM and browser-side error tracking. Distinct from token, which is used for server-side data ingestion.
namestringnoApplication name. Must be unique within your team.
platformstringnoThe platform type for the application. This helps configure appropriate SDKs and integrations. You can't update this value later. Valid values are: - aiohttpErrors - androidErrors - angularErrors - asgiErrors - aspDotNetCoreErrors - aspDotNetErrors - astroErrors - awsLambdaDotNetErrors - awsLambdaNodeErrors - awsLambdaPythonErrors - azureFunctionsNodeErrors - bottleErrors - bunErrors - celeryErrors - chaliceErrors - cliErrors - cloudflarePagesErrors - connectErrors - dartErrors - denoErrors - djangoErrors - dotNetErrors - dotNetHttpErrors - dotNetMauiErrors - echoErrors - electronErrors - elixirErrors - emberErrors - expressErrors - falconErrors - fastapiErrors - fasthttpErrors - fastifyErrors - fiberErrors - flaskErrors - flutterErrors - gatsbyErrors - ginErrors - goErrors - godotErrors - googleCloudFunctionDotNetErrors - googleCloudFunctionNodeErrors - googleCloudFunctionPythonErrors - hapiErrors - iosErrors - irisErrors - javaErrors - javascriptErrors - koaErrors - kotlinErrors - laravelErrors - log4jErrors - logbackErrors - macosErrors - minidumpErrors - nativeErrors - negroniErrors - nestJsErrors - nextJsErrors - nodeErrors - nuxtErrors - phpErrors - powershellErrors - pyramidErrors - pythonErrors - qtErrors - quartErrors - rackMiddlewareErrors - railsErrors - reactErrors - reactNativeErrors - reactRouterFrameworkErrors - remixErrors - rqErrors - rubyErrors - rustErrors - sanicErrors - serverlessPythonErrors - solidErrors - solidstartErrors - springBootErrors - springErrors - starletteErrors - svelteErrors - sveltekitErrors - symfonyErrors - tanstackStartReactErrors - tornadoErrors - trytonErrors - unityErrors - unrealEngineErrors - vueErrors - windowsFormsErrors - wpfErrors - wsgiErrors
tableNamestringyesThe table name generated for this application.
teamIdstringyesThe team ID for this resource.
teamNamestringnoUsed to specify the team the resource should be created in when using global tokens. You can't update this value later.
tokenstringyesThe token of this application. This token is used to identify and route the data you will send to Better Stack.
updatedAtstringyesThe time when this application was updated.
vrlTransformationExceptionsstringnoVRL transformation applied to exceptions on Better Stack's servers during ingestion. This is what controls how exceptions are grouped into errors. Leave unset to keep the grouping unmanaged - the attribute reads back the effective program, including the default grouping for the application's platform. Set to an empty string to remove the grouping program entirely (exceptions stop being grouped by it - this is rarely what you want; to return to the default grouping, use the application's Exception grouping editor). Read more about customizing exception grouping.
vrlTransformationLogsstringnoVRL transformation applied to logs on Better Stack's servers during ingestion. Leave unset to keep the transformation unmanaged; set to an empty string to remove it. Read more about VRL transformations.
vrlTransformationReplaysstringnoVRL transformation applied to session replays on Better Stack's servers during ingestion. Leave unset to keep the transformation unmanaged; set to an empty string to remove it. Read more about VRL transformations.
vrlTransformationSpansstringnoVRL transformation applied to traces (spans) on Better Stack's servers during ingestion. Leave unset to keep the transformation unmanaged; set to an empty string to remove it. Read more about VRL transformations.
vrlTransformationWebEventsstringnoVRL transformation applied to web events (page views and web vitals) on Better Stack's servers during ingestion. Leave unset to keep the transformation unmanaged; set to an empty string to remove it. Read more about VRL transformations.

ErrorsApplicationCustomBucket (input)#

Input object ErrorsApplicationCustomBucket. Fields below belong to this object, not to the parent.

PropertyTypeRequiredDescription
accessKeyIdstringyesAccess key ID
endpointstringyesBucket endpoint including the bucket name, e.g. https://s3.us-east-1.amazonaws.com/my-bucket or https://my-bucket.s3.us-east-1.amazonaws.com.
keepDataAfterRetentionbooleannoWhether we should keep data in the bucket after the retention period.
namestringnoBucket name derived from endpoint. Deprecated - do not set this attribute.
secretAccessKeystringyesSecret access key

ErrorsApplicationCustomBucket (output)#

Output object ErrorsApplicationCustomBucket. Fields below belong to this object.

PropertyTypeAlways presentDescription
accessKeyIdstringyesAccess key ID
endpointstringyesBucket endpoint including the bucket name, e.g. https://s3.us-east-1.amazonaws.com/my-bucket or https://my-bucket.s3.us-east-1.amazonaws.com.
keepDataAfterRetentionbooleannoWhether we should keep data in the bucket after the retention period.
namestringyesBucket name derived from endpoint. Deprecated - do not set this attribute.
secretAccessKeystringyesSecret access key