API Stability |
Short-Term
|
The dynamicConfig() GraphQL query returns the current value for the dynamic configuration.
For more information on configuring all aspects of LogScale, see the Configuration Settings reference section.
Syntax
Below is the syntax for the dynamicConfig() query field:
dynamicConfig(
dynamicConfig: DynamicConfig!
): string!
This query is fairly versatile. Below is an example calling for information on the currentUser, similar to using currentUser() .
query{
dynamicConfig:currentUser {
id
firstName
isOrgRoot
}
}
curl -v -X POST $YOUR_LOGSCALE_URL/graphql \
-H "Authorization: Bearer $TOKEN" \
-H "Content-Type: application/json" \
-d @- << EOF
{"query" : "query{
dynamicConfig:currentUser {
id
firstName
isOrgRoot
}
}"
}
EOF
curl -v -X POST $YOUR_LOGSCALE_URL/graphql \
-H "Authorization: Bearer $TOKEN" \
-H "Content-Type: application/json" \
-d @- << EOF
{"query" : "query{
dynamicConfig:currentUser {
id
firstName
isOrgRoot
}
}"
}
EOF
curl -v -X POST $YOUR_LOGSCALE_URL/graphql ^
-H "Authorization: Bearer $TOKEN" ^
-H "Content-Type: application/json" ^
-d @'{"query" : "query{ ^
dynamicConfig:currentUser { ^
id ^
firstName ^
isOrgRoot ^
} ^
}" ^
} '
curl.exe -X POST
-H "Authorization: Bearer $TOKEN"
-H "Content-Type: application/json"
-d '{"query" : "query{
dynamicConfig:currentUser {
id
firstName
isOrgRoot
}
}"
}'
"$YOUR_LOGSCALE_URL/graphql"
#!/usr/bin/perl
use HTTP::Request;
use LWP;
my $INGEST_TOKEN = "TOKEN";
my $uri = '$YOUR_LOGSCALE_URL/graphql';
my $json = '{"query" : "query{
dynamicConfig:currentUser {
id
firstName
isOrgRoot
}
}"
}';
my $req = HTTP::Request->new("POST", $uri );
$req->header("Authorization" => "Bearer $TOKEN");
$req->header("Content-Type" => "application/json");
$req->content( $json );
my $lwp = LWP::UserAgent->new;
my $result = $lwp->request( $req );
print $result->{"_content"},"\n";
#! /usr/local/bin/python3
import requests
url = '$YOUR_LOGSCALE_URL/graphql'
mydata = r'''{"query" : "query{
dynamicConfig:currentUser {
id
firstName
isOrgRoot
}
}"
}'''
resp = requests.post(url,
data = mydata,
headers = {
"Authorization" : "Bearer $TOKEN",
"Content-Type" : "application/json"
}
)
print(resp.text)
const https = require('https');
const data = JSON.stringify(
{"query" : "query{
dynamicConfig:currentUser {
id
firstName
isOrgRoot
}
}"
}
);
const options = {
hostname: '$YOUR_LOGSCALE_URL/graphql',
path: '/graphql',
port: 443,
method: 'POST',
headers: {
'Content-Type': 'application/json',
'Content-Length': data.length,
Authorization: 'BEARER ' + process.env.TOKEN,
'User-Agent': 'Node',
},
};
const req = https.request(options, (res) => {
let data = '';
console.log(`statusCode: ${res.statusCode}`);
res.on('data', (d) => {
data += d;
});
res.on('end', () => {
console.log(JSON.parse(data).data);
});
});
req.on('error', (error) => {
console.error(error);
});
req.write(data);
req.end();
{
"data": {
"dynamicConfig": {
"id": "jSl8Iz25SLwiEUzXBE6YDetG",
"firstName": "Bob",
"isOrgRoot": true
}
}
}
Per the requested fields in the return datatype, the example above returned the current user's unique identifier, first name and answered the question as to whether they're a root user.
Given Datatypes
For the given datatype, dynamicConfig(), there are several values from which to choose. Below is a list of them along with a description of each:
Table: DynamicConfig
Parameter | Type | Required | Default | Stability | Description |
---|---|---|---|---|---|
Some arguments may be required, as indicated in the Required column. For some fields, this column indicates that a result will always be returned for this column. | |||||
Table last updated: Apr 2, 2025 | |||||
AdHocTablesLimit | boolean | Short-Term | Whether an adhoc tables limit is used. | ||
AggregatorOutputRowLimit | boolean | Short-Term | Whether the aggregator output row is limited. | ||
ArchivingClusterWideDisabled | boolean | Short-Term | Whether archiving is disabled across the cluster. | ||
ArchivingClusterWideEndAt | boolean | Short-Term | Whether there is specified an end date and time for cluster wide archiving. | ||
ArchivingClusterWideRegexForRepoName | boolean | Short-Term | Whether a regex is used for identifying the repository name. | ||
ArchivingClusterWideStartFrom | boolean | Short-Term | Whether there is specified a start date and time for cluster wide archiving. | ||
AstDepthLimit | boolean | Short-Term | Whether there is an abstract syntax tree depth limit. This option will be eliminated in version 1.164 of LogScale. | ||
BlockSignup | boolean | Short-Term | Whether to block sign up. | ||
BucketStorageKeySchemeVersion | boolean | Short-Term | Whether bucket storage key scheme version is used. | ||
BucketStorageUploadInfrequentThresholdDays | boolean | Short-Term | Whether bucket storage upload infrequent threshold days setting is used. | ||
BucketStorageWriteVersion | boolean | Short-Term | Whether bucket storage is a write version. | ||
CorrelateConstellationTickLimit | boolean | Short-Term | Whether a correlated constellation tick limit is used. | ||
CorrelateConstraintLimit | boolean | Short-Term | Whether a correlated constraint limit is used. | ||
CorrelateLinkValuesLimit | boolean | Short-Term | Whether a limit to correlated link values is used. | ||
CorrelateLinkValuesMaxByteSize | boolean | Short-Term | Whether a maximum byte size to correlated link values is used. | ||
CorrelateMinIterations | boolean | Short-Term | Whether correlated minimum iterations are used. | ||
CorrelateNumberOfTimeBuckets | boolean | Short-Term | Whether correlated numer of time buckets are used. | ||
CorrelateQueryEventLimit | boolean | Short-Term | Whether correlated query event limit is used. | ||
CorrelateQueryLimit | boolean | Short-Term | Whether correlated query limit is used. | ||
DebugAuditRequestTrace | boolean | Short-Term | Whether debugging audit request tracing is used. | ||
DelayIngestResponseDueToIngestLagMaxFactor | boolean | Short-Term | Whether to delay ingest response due to ingest lag maximum factor. | ||
DelayIngestResponseDueToIngestLagScale | boolean | Short-Term | Whether to delay ingest response due to ingest lag scale. | ||
DelayIngestResponseDueToIngestLagThreshold | boolean | Short-Term | Whether to delay ingest response due to ingest threshold. | ||
DeleteDuplicatedNameViewsAfterMerging | boolean | Short-Term | Should duplicated name views be deleted after merging. | ||
DisableAnalyticsJob | boolean | Short-Term | Whether to disable analytic jobs. | ||
DisableInconsistencyDetectionJob | boolean | Short-Term | Should inconsistency detection jobs be disabled. | ||
DisableNewRegexEngine | boolean | Short-Term | Whether the new regex engine is disabled. | ||
DisableUserTracking | boolean | Short-Term | Whether to disable user tracking. | ||
DisableViewWithSameNameCleanup | boolean | Short-Term | Whether to disable view with the same name during clean-up. | ||
EnableDemoData | boolean | Short-Term | Whether to enable demo data. | ||
ExternalFunctionRequestResponseEventCountLimit | boolean | Short-Term | Whether external function request response event count limits is used. | ||
ExternalFunctionRequestResponseSizeLimitBytes | boolean | Short-Term | Whether external function request response size limits in bytes is used. | ||
FdrMaxNodesPerFeed | boolean | Short-Term | Whether to use the FDR maximum nodes per feed limit. | ||
FdrS3FileSizeMax | boolean | Short-Term | Whether the maximum Federated S3 file size is used. | ||
FileReplicationFactor | boolean | Short-Term | Whether to file replication factor is allowed. | ||
FlushSegmentsAndGlobalOnShutdown | boolean | Short-Term | Whether to flush segments and global on shutdown. | ||
GracefulShutdownConsideredAliveSeconds | boolean | Short-Term | Whether the seconds during a gracefull shutdown is LogScale considered alive. | ||
GracePeriodBeforeDeletingDeadEphemeralHostsMs | boolean | Short-Term | Whether to a grace period in milliseconds before deleting dead ephemeral hosts is employed. | ||
GraphQlDirectivesAmountLimit | boolean | Short-Term | Whether there is an amount limit to GraphQL directives. | ||
GraphQLSelectionSizeLimit | boolean | Short-Term | Whether to use the GraphQL selection size limit. | ||
GroupDefaultLimit | boolean | Short-Term | Whether to use the group default limit. | ||
GroupMaxLimit | boolean | Short-Term | Whether to use the group max limit. | ||
IngestFeedAwsDownloadMaxObjectSize | boolean | Short-Term | Whether the AWS ingest feed download max object size is set and used. | ||
IngestFeedAwsProcessingDownloadBufferSize | boolean | Short-Term | Whether the AWS ingest feed processing download buffer size is set and used. | ||
IngestFeedAwsProcessingEventBufferSize | boolean | Short-Term | Whether the AWS ingest feed processing event buffer size is set and used. | ||
IngestFeedAwsProcessingEventsPerBatch | boolean | Short-Term | Whether the AWS ingest feed processing event per batch is set and used. | ||
IngestFeedGovernorCycleDuration | boolean | Short-Term | Whether the ingest feed governor cycle duration is set and used. | ||
IngestFeedGovernorGainPerCore | boolean | Short-Term | Whether the ingest feed governor gain per core is set and used. | ||
IngestFeedGovernorIngestDelayHigh | boolean | Short-Term | Whether the ingest feed governor ingest high delay is set and used. | ||
IngestFeedGovernorIngestDelayLow | boolean | Short-Term | Whether the ingest feed governor ingest low delay is set and used. | ||
IngestFeedGovernorRateOverride | boolean | Short-Term | Whether the ingest feed governor rate is overridden. | ||
IngestFeedMaxConcurrentPolls | boolean | Short-Term | Whether the ingest feed maximum of the concurrent polls has been met. | ||
IsAutomaticUpdateCheckingAllowed | boolean | Short-Term | Is automatically updated checking allowed. | ||
JoinDefaultLimit | boolean | Short-Term | Whether the join default limit is set and used | ||
JoinRowLimit | boolean | Short-Term | Whether to limit the number of rows joined. | ||
LiveAdhocTableUpdatePeriodMinimumMs | boolean | Short-Term | Whether the live adhoc table update period minimum is in milliseconds. | ||
LiveQueryMemoryLimit | boolean | Short-Term | Whether to enforce a live query memory limit. | ||
LookupTableSyncAwaitSeconds | boolean | Short-Term | Lookup table synchronization await seconds is used. | ||
MatchFilesMaxHeapFraction | boolean | Short-Term | Whether file matching maximum heap fraction is used. | ||
MaxAccessTokenTTL | boolean | Short-Term | Whether to use the maximum access token expiration. | ||
MaxConcurrentQueriesOnWorker | boolean | Short-Term | The maximum concurrent queries on worker. | ||
MaxCsvFileUploadSizeBytes | boolean | Short-Term | Restrict to the maximum CSV File upload size bytes. | ||
MaxIngestRequestSize | boolean | Short-Term | Is the maximum ingest request size set and used. | ||
MaxJsonFileUploadSizeBytes | boolean | Short-Term | Whether the maximum JSON file upload size in bytes used. | ||
MaxNumberOfOrganizations | boolean | Short-Term | Is the maximum number of organizations set and used. | ||
MaxOpenSegmentsOnWorker | boolean | Short-Term | Whether the maximum open segments on worker is used. | ||
MaxQueryPenaltyCreditForBlockedQueriesFactor | boolean | Short-Term | Is there a maximum query penalty credit for blocked queries. | ||
MaxQueryPollsForWorker | boolean | Short-Term | Whether there is a maximum query polls for worker. | ||
MaxRelocatedDatasourcesInGlobal | boolean | Short-Term | Whether the maximum relocated datasources in is global. | ||
MinimumHumioVersion | boolean | Short-Term | Whether there is a minimum Falcon LogScale version. | ||
MinQueryPermitsFactor | boolean | Short-Term | Whether there is a minimum query permits factor used. | ||
MultiPassDefaultIterationLimit | boolean | Short-Term | Whether there is a multiple pass default iteration limit. | ||
MultiPassMaxIterationLimit | boolean | Short-Term | Whether there is a multiple pass maximum iteration limit. | ||
NumberOfDaysToRemoveStaleOrganizationsAfter | boolean | Short-Term | Is the number of days after which to remove stale organizations set and used. | ||
ParserBacktrackingLimit | boolean | Short-Term | Whether there is a limit on parser backtracking. | ||
ParserThrottlingAllocationFactor | boolean | Short-Term | Whether to use the parser throttling allocation factor. | ||
PruneCommunityLockedOrganizationsAfterHours | boolean | Short-Term | Whether to prune community locked organizations after hours. | ||
PruneMissingTOSAcceptanceOrganizationsAfterHours | boolean | Short-Term | Whether to prune missing terms of service acceptance by organizations after hours. | ||
QueryBacktrackingLimit | boolean | Short-Term | Whether query back tracking has a limit. | ||
QueryBlockMillisOnHighIngestDelay | boolean | Short-Term | Whether query block mill is on high ingest delay. | ||
QueryCoordinatorMaxHeapFraction | boolean | Short-Term | Does the query coordinator use maximum heap fraction. | ||
QueryCoordinatorMemoryLimit | boolean | Short-Term | Whether the query coordinator has a memory limit. | ||
QueryMemoryLimit | boolean | Short-Term | Whether to enforce a query memory limit. | ||
QueryPartitionAutoBalance | boolean | Short-Term | Whether to balance automatically a query partition. | ||
QueryResultRowCountLimit | boolean | Short-Term | Whether to enforce the query result row count limit. | ||
RdnsDefaultLimit | boolean | Short-Term | The RDS default limit. | ||
RdnsMaxLimit | boolean | Short-Term | The RDS maximum limit. | ||
RejectIngestOnParserExceedingFraction | boolean | Short-Term | Whether to reject ingest on parsers exceeding fraction. | ||
ReplaceANSIEscapeCodes | boolean | Short-Term | Whether to replace ANSI escape codes used. | ||
RetentionPreservationEndDt | boolean | Short-Term | Whether there is an end date and time for retention preservation. | ||
RetentionPreservationStartDt | boolean | Short-Term | Whether there is an start date and time for retention preservation. | ||
RetentionPreservationTag | boolean | Short-Term | Whether a retention preservation tag is used. | ||
SampleIntervalForDatasourceRates | boolean | Short-Term | Use a sample interval for datasource rates. | ||
SelfJoinLimit | boolean | Short-Term | Whether to permit a self-join limit. | ||
StateRowLimit | boolean | Short-Term | Whether to enforce a state row limit. | ||
StaticQueryFractionOfCores | boolean | Short-Term | Whether to use the static query fraction of cores. | ||
TableCacheMaxStorageFraction | boolean | Short-Term | Whether the table cache maximum is a storage fraction. | ||
TableCacheMaxStorageFractionForIngestAndHttpOnly | boolean | Short-Term | Whether the table cache maximum is only a storage fraction for ingest and HTTP. | ||
TableCacheMemoryAllowanceFraction | boolean | Short-Term | Whether the table cache memory allowance is a fraction. | ||
TargetMaxRateForDatasource | boolean | Short-Term | Whether to use the target maximum rate for the datasource. | ||
UnauthenticatedGraphQLSelectionSizeLimit | boolean | Short-Term | Whether to use the unauthenticated GraphQL selection size limit. | ||
UndersizedMergingRetentionPercentage | boolean | Short-Term | Use the undersized merging retention percentage. | ||
VerifySegmentInBucketCompletionIntervalDays | boolean | Short-Term | Whether interval days is used to verify segements in bucket completion. | ||
VerifySegmentInBucketHeadOnly | boolean | Short-Term | Whether to verify segments in bucket head only. |