Closed henryhormaza closed 2 years ago
@henryhormaza try limiting the date format to three digits after the decimal point.
@henryhormaza try limiting the date format to three digits after the decimal point.
No, already tried, but I get the same results
I tried even with all fields calculated and got the same error loggingsearch_client.search_logs( search_logs_details=oci.loggingsearch.models.SearchLogsDetails( time_start=datetime.datetime.now(datetime.timezone.utc).astimezone() - datetime.timedelta(minutes=66), time_end=datetime.datetime.now(datetime.timezone.utc).astimezone() - datetime.timedelta(minutes=1), search_query="search \"ocid1.compartment.oc1..aaaaaaaa7ueohzih5yhxfzdo3z5wsvzcu5dulsbm44ze26544adap5ekozsq\"", is_return_field_info=False), limit=20 )
Hi @mgutierr22abr and @henryhormaza - I talked to @petro-boychuk today, we think this issue is now resolved. There was a limitation in the Logging Search service in terms of the datetime precision supported, but that precision has now been expanded to support the full RFC3339Nano spec.
I'm going to close this issue, but if you are still experiencing the problem, please feel free to reopen
Hi, I'm getting an error when trying to access to a log search: this is the syntax that I'm usign according to the example in the documentation:
https://docs.oracle.com/en-us/iaas/tools/python-sdk-examples/2.35.1/loggingsearch/search_logs.py.html
For some reason it keeps telling that the parameters are incorrect, is it a bug? or just an outdated documentation ?