Update Query Config
Update query config
Logs Query Config
Show optional properties
{
"dateRange": {},
"name": "string",
"queryText": [
{}
]
}
"{\n \"name\" : \"LI Config Name\",\n \"description\" : \"LI Config Description\",\n \"queryFilters\" : {\n \"logQueryFiltersOperator\" : \"AND\",\n \"partitions\" : [ ],\n \"logQueryFilterConditions\" : [ {\n \"conditionField\" : \"485a194b-63e7-4fb1-9686-8a930989799d\",\n \"conditionValues\" : [ \"31c9b841-f966-4d78-aca1-410530e48c40\", \"9185662b-b4ab-4d09-935f-154dba463704\" ],\n \"queryFilterConditionOperatorType\" : \"CONTAINS\"\n }, {\n \"conditionField\" : \"485a194b-63e7-4fb1-9686-8a930989799d\",\n \"conditionValues\" : [ \"31c9b841-f966-4d78-aca1-410530e48c40\", \"9185662b-b4ab-4d09-935f-154dba463704\" ],\n \"queryFilterConditionOperatorType\" : \"CONTAINS\"\n } ]\n },\n \"queryText\" : [ \"text-1\", \"text-2\" ],\n \"dateRange\" : {\n \"fixedRange\" : \"LAST_7_DAYS\"\n }\n}"
Logs query date range. Either both startTime and endTime should be null with a non-null fixedRange, or both startTime and endTime should be non-null with startTime less than endTime and fixedRange null.
Description of Query Configuration.
Identifier of Query Configuration.
Last modified time of Query Configuration.
Username of the last user who modified it.
Name of Query Configuration.
Log query filters.
Texts for Query Configuration.
Query config is updated successfully
"{\n \"id\" : \"09225bd3-6f56-4ea2-8bc3-a91a3b295b39\",\n \"name\" : \"LI Config Name\",\n \"description\" : \"LI Config Description\",\n \"queryFilters\" : {\n \"logQueryFiltersOperator\" : \"AND\",\n \"partitions\" : [ ],\n \"logQueryFilterConditions\" : [ {\n \"conditionField\" : \"485a194b-63e7-4fb1-9686-8a930989799d\",\n \"conditionValues\" : [ \"31c9b841-f966-4d78-aca1-410530e48c40\", \"9185662b-b4ab-4d09-935f-154dba463704\" ],\n \"queryFilterConditionOperatorType\" : \"CONTAINS\"\n }, {\n \"conditionField\" : \"485a194b-63e7-4fb1-9686-8a930989799d\",\n \"conditionValues\" : [ \"31c9b841-f966-4d78-aca1-410530e48c40\", \"9185662b-b4ab-4d09-935f-154dba463704\" ],\n \"queryFilterConditionOperatorType\" : \"CONTAINS\"\n } ]\n },\n \"queryText\" : [ \"text-1\", \"text-2\" ],\n \"dateRange\" : {\n \"fixedRange\" : \"LAST_7_DAYS\"\n },\n \"lastModifiedTime\" : 1753340214470,\n \"modifiedBy\" : \"admin\"\n}"
Logs query date range. Either both startTime and endTime should be null with a non-null fixedRange, or both startTime and endTime should be non-null with startTime less than endTime and fixedRange null.
Description of Query Configuration.
Identifier of Query Configuration.
Last modified time of Query Configuration.
Username of the last user who modified it.
Name of Query Configuration.
Log query filters.
Texts for Query Configuration.
curl -X PUT -H 'Authorization: <value>' -H 'Content-Type: application/json' -d '{"dateRange":"object","name":"string","queryText":["string"]}' https://{api_host}/suite-api/api/logs/queryconfigs