Volcengine v0.0.45 published on Tuesday, Feb 10, 2026 by Volcengine
Volcengine v0.0.45 published on Tuesday, Feb 10, 2026 by Volcengine
Deprecated: volcengine.tls.LogHistograms has been deprecated in favor of volcengine.tls.getLogHistograms
Use this data source to query detailed information of tls log histograms
Example Usage
import * as pulumi from "@pulumi/pulumi";
import * as volcengine from "@pulumi/volcengine";
const default = volcengine.tls.getLogHistograms({
endTime: 1768450896000,
interval: 60000,
query: "*",
startTime: 1768448896000,
topicId: "3c57a110-399a-43b3-bc3c-5d60e065239a",
});
import pulumi
import pulumi_volcengine as volcengine
default = volcengine.tls.get_log_histograms(end_time=1768450896000,
interval=60000,
query="*",
start_time=1768448896000,
topic_id="3c57a110-399a-43b3-bc3c-5d60e065239a")
package main
import (
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
"github.com/volcengine/pulumi-volcengine/sdk/go/volcengine/tls"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
_, err := tls.GetLogHistograms(ctx, &tls.GetLogHistogramsArgs{
EndTime: 1768450896000,
Interval: pulumi.IntRef(60000),
Query: "*",
StartTime: 1768448896000,
TopicId: "3c57a110-399a-43b3-bc3c-5d60e065239a",
}, nil)
if err != nil {
return err
}
return nil
})
}
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using Volcengine = Pulumi.Volcengine;
return await Deployment.RunAsync(() =>
{
var @default = Volcengine.Tls.GetLogHistograms.Invoke(new()
{
EndTime = 1768450896000,
Interval = 60000,
Query = "*",
StartTime = 1768448896000,
TopicId = "3c57a110-399a-43b3-bc3c-5d60e065239a",
});
});
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.volcengine.tls.TlsFunctions;
import com.pulumi.volcengine.tls.inputs.GetLogHistogramsArgs;
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) {
final var default = TlsFunctions.getLogHistograms(GetLogHistogramsArgs.builder()
.endTime(1768450896000)
.interval(60000)
.query("*")
.startTime(1768448896000)
.topicId("3c57a110-399a-43b3-bc3c-5d60e065239a")
.build());
}
}
variables:
default:
fn::invoke:
Function: volcengine:tls:getLogHistograms
Arguments:
endTime: 1.768450896e+12
interval: 60000
query: '*'
startTime: 1.768448896e+12
topicId: 3c57a110-399a-43b3-bc3c-5d60e065239a
Using LogHistograms
Two invocation forms are available. The direct form accepts plain arguments and either blocks until the result value is available, or returns a Promise-wrapped result. The output form accepts Input-wrapped arguments and returns an Output-wrapped result.
function logHistograms(args: LogHistogramsArgs, opts?: InvokeOptions): Promise<LogHistogramsResult>
function logHistogramsOutput(args: LogHistogramsOutputArgs, opts?: InvokeOptions): Output<LogHistogramsResult>def log_histograms(end_time: Optional[int] = None,
interval: Optional[int] = None,
query: Optional[str] = None,
start_time: Optional[int] = None,
topic_id: Optional[str] = None,
opts: Optional[InvokeOptions] = None) -> LogHistogramsResult
def log_histograms_output(end_time: Optional[pulumi.Input[int]] = None,
interval: Optional[pulumi.Input[int]] = None,
query: Optional[pulumi.Input[str]] = None,
start_time: Optional[pulumi.Input[int]] = None,
topic_id: Optional[pulumi.Input[str]] = None,
opts: Optional[InvokeOptions] = None) -> Output[LogHistogramsResult]func LogHistograms(ctx *Context, args *LogHistogramsArgs, opts ...InvokeOption) (*LogHistogramsResult, error)
func LogHistogramsOutput(ctx *Context, args *LogHistogramsOutputArgs, opts ...InvokeOption) LogHistogramsResultOutputpublic static class LogHistograms
{
public static Task<LogHistogramsResult> InvokeAsync(LogHistogramsArgs args, InvokeOptions? opts = null)
public static Output<LogHistogramsResult> Invoke(LogHistogramsInvokeArgs args, InvokeOptions? opts = null)
}public static CompletableFuture<LogHistogramsResult> logHistograms(LogHistogramsArgs args, InvokeOptions options)
public static Output<LogHistogramsResult> logHistograms(LogHistogramsArgs args, InvokeOptions options)
fn::invoke:
function: volcengine:tls:LogHistograms
arguments:
# arguments dictionaryThe following arguments are supported:
- end_
time int - The end time.
- query str
- The query statement.
- start_
time int - The start time.
- topic_
id str - The topic id.
- interval int
- The interval.
LogHistograms Result
The following output properties are available:
- End
Time int - The end time.
- Histogram
Infos List<LogHistograms Histogram Info> - The histogram info.
- Id string
- The provider-assigned unique ID for this managed resource.
- Query string
- Result
Status string - The result status.
- Start
Time int - The start time.
- Topic
Id string - Total
Count int - The total count.
- Interval int
- End
Time int - The end time.
- Histogram
Infos []LogHistograms Histogram Info - The histogram info.
- Id string
- The provider-assigned unique ID for this managed resource.
- Query string
- Result
Status string - The result status.
- Start
Time int - The start time.
- Topic
Id string - Total
Count int - The total count.
- Interval int
- end
Time Integer - The end time.
- histogram
Infos List<LogHistograms Histogram Info> - The histogram info.
- id String
- The provider-assigned unique ID for this managed resource.
- query String
- result
Status String - The result status.
- start
Time Integer - The start time.
- topic
Id String - total
Count Integer - The total count.
- interval Integer
- end
Time number - The end time.
- histogram
Infos LogHistograms Histogram Info[] - The histogram info.
- id string
- The provider-assigned unique ID for this managed resource.
- query string
- result
Status string - The result status.
- start
Time number - The start time.
- topic
Id string - total
Count number - The total count.
- interval number
- end_
time int - The end time.
- histogram_
infos Sequence[LogHistograms Histogram Info] - The histogram info.
- id str
- The provider-assigned unique ID for this managed resource.
- query str
- result_
status str - The result status.
- start_
time int - The start time.
- topic_
id str - total_
count int - The total count.
- interval int
- end
Time Number - The end time.
- histogram
Infos List<Property Map> - The histogram info.
- id String
- The provider-assigned unique ID for this managed resource.
- query String
- result
Status String - The result status.
- start
Time Number - The start time.
- topic
Id String - total
Count Number - The total count.
- interval Number
Supporting Types
LogHistogramsHistogramInfo
- Count int
- The count.
- End
Time int - The end time.
- Result
Status string - The result status.
- Start
Time int - The start time.
- Count int
- The count.
- End
Time int - The end time.
- Result
Status string - The result status.
- Start
Time int - The start time.
- count Integer
- The count.
- end
Time Integer - The end time.
- result
Status String - The result status.
- start
Time Integer - The start time.
- count number
- The count.
- end
Time number - The end time.
- result
Status string - The result status.
- start
Time number - The start time.
- count int
- The count.
- end_
time int - The end time.
- result_
status str - The result status.
- start_
time int - The start time.
- count Number
- The count.
- end
Time Number - The end time.
- result
Status String - The result status.
- start
Time Number - The start time.
Package Details
- Repository
- volcengine volcengine/pulumi-volcengine
- License
- Apache-2.0
- Notes
- This Pulumi package is based on the
volcengineTerraform Provider.
Volcengine v0.0.45 published on Tuesday, Feb 10, 2026 by Volcengine
