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.LogSearches has been deprecated in favor of volcengine.tls.getLogSearches
Use this data source to query detailed information of tls log searches
Example Usage
import * as pulumi from "@pulumi/pulumi";
import * as volcengine from "@pulumi/volcengine";
const default = volcengine.tls.getLogSearches({
endTime: 1768450896000,
limit: 10,
query: "*",
startTime: 1768448896000,
topicId: "3c57a110-399a-43b3-bc3c-5d60e065239a",
});
import pulumi
import pulumi_volcengine as volcengine
default = volcengine.tls.get_log_searches(end_time=1768450896000,
limit=10,
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.GetLogSearches(ctx, &tls.GetLogSearchesArgs{
EndTime: 1768450896000,
Limit: pulumi.IntRef(10),
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.GetLogSearches.Invoke(new()
{
EndTime = 1768450896000,
Limit = 10,
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.GetLogSearchesArgs;
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.getLogSearches(GetLogSearchesArgs.builder()
.endTime(1768450896000)
.limit(10)
.query("*")
.startTime(1768448896000)
.topicId("3c57a110-399a-43b3-bc3c-5d60e065239a")
.build());
}
}
variables:
default:
fn::invoke:
Function: volcengine:tls:getLogSearches
Arguments:
endTime: 1.768450896e+12
limit: 10
query: '*'
startTime: 1.768448896e+12
topicId: 3c57a110-399a-43b3-bc3c-5d60e065239a
Using LogSearches
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 logSearches(args: LogSearchesArgs, opts?: InvokeOptions): Promise<LogSearchesResult>
function logSearchesOutput(args: LogSearchesOutputArgs, opts?: InvokeOptions): Output<LogSearchesResult>def log_searches(accurate_query: Optional[bool] = None,
context: Optional[str] = None,
end_time: Optional[int] = None,
highlight: Optional[bool] = None,
limit: Optional[int] = None,
output_file: Optional[str] = None,
query: Optional[str] = None,
sort: Optional[str] = None,
start_time: Optional[int] = None,
topic_id: Optional[str] = None,
opts: Optional[InvokeOptions] = None) -> LogSearchesResult
def log_searches_output(accurate_query: Optional[pulumi.Input[bool]] = None,
context: Optional[pulumi.Input[str]] = None,
end_time: Optional[pulumi.Input[int]] = None,
highlight: Optional[pulumi.Input[bool]] = None,
limit: Optional[pulumi.Input[int]] = None,
output_file: Optional[pulumi.Input[str]] = None,
query: Optional[pulumi.Input[str]] = None,
sort: Optional[pulumi.Input[str]] = None,
start_time: Optional[pulumi.Input[int]] = None,
topic_id: Optional[pulumi.Input[str]] = None,
opts: Optional[InvokeOptions] = None) -> Output[LogSearchesResult]func LogSearches(ctx *Context, args *LogSearchesArgs, opts ...InvokeOption) (*LogSearchesResult, error)
func LogSearchesOutput(ctx *Context, args *LogSearchesOutputArgs, opts ...InvokeOption) LogSearchesResultOutputpublic static class LogSearches
{
public static Task<LogSearchesResult> InvokeAsync(LogSearchesArgs args, InvokeOptions? opts = null)
public static Output<LogSearchesResult> Invoke(LogSearchesInvokeArgs args, InvokeOptions? opts = null)
}public static CompletableFuture<LogSearchesResult> logSearches(LogSearchesArgs args, InvokeOptions options)
public static Output<LogSearchesResult> logSearches(LogSearchesArgs args, InvokeOptions options)
fn::invoke:
function: volcengine:tls:LogSearches
arguments:
# arguments dictionaryThe following arguments are supported:
- End
Time int - The end time of the log.
- Query string
- The query of the log.
- Start
Time int - The start time of the log.
- Topic
Id string - The ID of the topic.
- Accurate
Query bool - Whether to use accurate query.
- Context string
- The context of the log.
- Highlight bool
- Whether to highlight the log.
- Limit int
- The limit of the logs.
- Output
File string - File name where to save data source results.
- Sort string
- The sort of the log.
- End
Time int - The end time of the log.
- Query string
- The query of the log.
- Start
Time int - The start time of the log.
- Topic
Id string - The ID of the topic.
- Accurate
Query bool - Whether to use accurate query.
- Context string
- The context of the log.
- Highlight bool
- Whether to highlight the log.
- Limit int
- The limit of the logs.
- Output
File string - File name where to save data source results.
- Sort string
- The sort of the log.
- end
Time Integer - The end time of the log.
- query String
- The query of the log.
- start
Time Integer - The start time of the log.
- topic
Id String - The ID of the topic.
- accurate
Query Boolean - Whether to use accurate query.
- context String
- The context of the log.
- highlight Boolean
- Whether to highlight the log.
- limit Integer
- The limit of the logs.
- output
File String - File name where to save data source results.
- sort String
- The sort of the log.
- end
Time number - The end time of the log.
- query string
- The query of the log.
- start
Time number - The start time of the log.
- topic
Id string - The ID of the topic.
- accurate
Query boolean - Whether to use accurate query.
- context string
- The context of the log.
- highlight boolean
- Whether to highlight the log.
- limit number
- The limit of the logs.
- output
File string - File name where to save data source results.
- sort string
- The sort of the log.
- end_
time int - The end time of the log.
- query str
- The query of the log.
- start_
time int - The start time of the log.
- topic_
id str - The ID of the topic.
- accurate_
query bool - Whether to use accurate query.
- context str
- The context of the log.
- highlight bool
- Whether to highlight the log.
- limit int
- The limit of the logs.
- output_
file str - File name where to save data source results.
- sort str
- The sort of the log.
- end
Time Number - The end time of the log.
- query String
- The query of the log.
- start
Time Number - The start time of the log.
- topic
Id String - The ID of the topic.
- accurate
Query Boolean - Whether to use accurate query.
- context String
- The context of the log.
- highlight Boolean
- Whether to highlight the log.
- limit Number
- The limit of the logs.
- output
File String - File name where to save data source results.
- sort String
- The sort of the log.
LogSearches Result
The following output properties are available:
- End
Time int - Id string
- The provider-assigned unique ID for this managed resource.
- Logs
List<Log
Searches Log> - The list of the logs.
- Query string
- Start
Time int - Topic
Id string - Total
Count int - The total count of the logs.
- Accurate
Query bool - Context string
- The context of the log.
- Highlight bool
- The highlight of the query.
- Limit int
- The limit of the logs.
- Output
File string - Sort string
- End
Time int - Id string
- The provider-assigned unique ID for this managed resource.
- Logs
[]Log
Searches Log - The list of the logs.
- Query string
- Start
Time int - Topic
Id string - Total
Count int - The total count of the logs.
- Accurate
Query bool - Context string
- The context of the log.
- Highlight bool
- The highlight of the query.
- Limit int
- The limit of the logs.
- Output
File string - Sort string
- end
Time Integer - id String
- The provider-assigned unique ID for this managed resource.
- logs
List<Log
Searches Log> - The list of the logs.
- query String
- start
Time Integer - topic
Id String - total
Count Integer - The total count of the logs.
- accurate
Query Boolean - context String
- The context of the log.
- highlight Boolean
- The highlight of the query.
- limit Integer
- The limit of the logs.
- output
File String - sort String
- end
Time number - id string
- The provider-assigned unique ID for this managed resource.
- logs
Log
Searches Log[] - The list of the logs.
- query string
- start
Time number - topic
Id string - total
Count number - The total count of the logs.
- accurate
Query boolean - context string
- The context of the log.
- highlight boolean
- The highlight of the query.
- limit number
- The limit of the logs.
- output
File string - sort string
- end_
time int - id str
- The provider-assigned unique ID for this managed resource.
- logs
Sequence[Log
Searches Log] - The list of the logs.
- query str
- start_
time int - topic_
id str - total_
count int - The total count of the logs.
- accurate_
query bool - context str
- The context of the log.
- highlight bool
- The highlight of the query.
- limit int
- The limit of the logs.
- output_
file str - sort str
- end
Time Number - id String
- The provider-assigned unique ID for this managed resource.
- logs List<Property Map>
- The list of the logs.
- query String
- start
Time Number - topic
Id String - total
Count Number - The total count of the logs.
- accurate
Query Boolean - context String
- The context of the log.
- highlight Boolean
- The highlight of the query.
- limit Number
- The limit of the logs.
- output
File String - sort String
Supporting Types
LogSearchesLog
- Analysis bool
- Whether the result is analysis.
- Analysis
Result Dictionary<string, object> - The analysis result of the query.
- Context string
- The context of the log.
- Elapsed
Millisecond int - The elapsed time of the query.
- Highlights
List<Log
Searches Log Highlight> - Whether to highlight the log.
- Hit
Count int - The count of the logs.
- Limit int
- The limit of the logs.
- List
Over bool - Whether the list is over.
- Logs
List<Log
Searches Log Log> - The list of the logs.
- Result
Status string - The status of the query.
- Analysis bool
- Whether the result is analysis.
- Analysis
Result map[string]interface{} - The analysis result of the query.
- Context string
- The context of the log.
- Elapsed
Millisecond int - The elapsed time of the query.
- Highlights
[]Log
Searches Log Highlight - Whether to highlight the log.
- Hit
Count int - The count of the logs.
- Limit int
- The limit of the logs.
- List
Over bool - Whether the list is over.
- Logs
[]Log
Searches Log Log - The list of the logs.
- Result
Status string - The status of the query.
- analysis Boolean
- Whether the result is analysis.
- analysis
Result Map<String,Object> - The analysis result of the query.
- context String
- The context of the log.
- elapsed
Millisecond Integer - The elapsed time of the query.
- highlights
List<Log
Searches Log Highlight> - Whether to highlight the log.
- hit
Count Integer - The count of the logs.
- limit Integer
- The limit of the logs.
- list
Over Boolean - Whether the list is over.
- logs
List<Log
Searches Log Log> - The list of the logs.
- result
Status String - The status of the query.
- analysis boolean
- Whether the result is analysis.
- analysis
Result {[key: string]: any} - The analysis result of the query.
- context string
- The context of the log.
- elapsed
Millisecond number - The elapsed time of the query.
- highlights
Log
Searches Log Highlight[] - Whether to highlight the log.
- hit
Count number - The count of the logs.
- limit number
- The limit of the logs.
- list
Over boolean - Whether the list is over.
- logs
Log
Searches Log Log[] - The list of the logs.
- result
Status string - The status of the query.
- analysis bool
- Whether the result is analysis.
- analysis_
result Mapping[str, Any] - The analysis result of the query.
- context str
- The context of the log.
- elapsed_
millisecond int - The elapsed time of the query.
- highlights
Sequence[Log
Searches Log Highlight] - Whether to highlight the log.
- hit_
count int - The count of the logs.
- limit int
- The limit of the logs.
- list_
over bool - Whether the list is over.
- logs
Sequence[Log
Searches Log Log] - The list of the logs.
- result_
status str - The status of the query.
- analysis Boolean
- Whether the result is analysis.
- analysis
Result Map<Any> - The analysis result of the query.
- context String
- The context of the log.
- elapsed
Millisecond Number - The elapsed time of the query.
- highlights List<Property Map>
- Whether to highlight the log.
- hit
Count Number - The count of the logs.
- limit Number
- The limit of the logs.
- list
Over Boolean - Whether the list is over.
- logs List<Property Map>
- The list of the logs.
- result
Status String - The status of the query.
LogSearchesLogHighlight
LogSearchesLogLog
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
