VCN Flow Logs Configured Correctly but Query Returns No Results
Dieses Issue hat noch niemand übernommen.
Bewertung
- Schwierigkeit
- 4/5
- Geschätzter Aufwand
- 3-5 Tage
- Anfängerfreundlichkeit
- 25/100
- Issue-Typ
- Bug
- Klarheit
- Muss geklärt werden
- Aktivitätsstatus
- Veraltet
- Tech-Stack
- java
- Bereich
- cloud, networking
Rechercherichtung
Beginne mit der im Issue gezeigten flow-log-Konfiguration des OCI Java SDK 3.54.0 und vergleiche anschließend dieselbe Einrichtung und dieselben Abfragen in der OCI CLI und der Console. Prüfe den erwarteten Erfassungszeitraum, die Abfragesyntax und das Verhalten in den einzelnen Regionen; als abgeschlossen gilt die Aufgabe, wenn die Ursache der Nullergebnisse identifiziert oder die bestätigte Einschränkung des Dienstes dokumentiert wurde.
Vom Indexierungsmodell aus dem Issue-Text verfasst.
Beschreibung
Environment
oci-java-sdk Version: 3.54.0
Description
I have configured VCN Flow Logs through the Java SDK to monitor network traffic, but queries return null results despite correct configuration.
Steps Taken
Created log groups for each region
Created flow logs for each VCN using the following configuration:
javaCopyOciService source = OciService.builder()
.service("flowlogs")
.resource(vcnId)
.category("vcn")
.build();
Confirmed the log is properly enabled:
CopyLog Name: flow-log-oci-start-pro-vcn
Enabled: true
Log Type: Service
Lifecycle State: Active
Attempted various query formats including:
Copysearch "compartmentId/logGroupId"
search "compartmentId/logGroupId" | where service='flowlogs'
search "compartmentId/logGroupId" | where data.category='vcn'
All queries consistently return null results
Troubleshooting
Verified logs are in "Enabled" state and "Active" lifecycle state
Tried queries with extended time ranges (7-30 days)
Confirmed there is actual network traffic on the VCNs
Used multiple query syntax variations based on Oracle documentation
Used Java SDK, OCI CLI, and Console to attempt log retrieval
Expected Behavior
Queries should return flow log data for the VCNs when network traffic is present.
Actual Behavior
All queries return null results despite logs being correctly configured and enabled.
Possible Causes
Undocumented delay in log collection beyond the expected timeframe
Potential mismatch between log configuration parameters and query syntax
Issues with log indexing or processing on the backend
Possible API/SDK limitations for flow logs in this region
Request
Please advise on:
Expected timeframe for flow logs to begin showing data after configuration
Correct query syntax for retrieving flow logs with the provided configuration
Any additional steps needed to ensure log collection is working properly
Any known issues with flow logs in this region or service
- Vorherrschende Sprache
- Java
- Sterne
- 243
- Forks
- 171
- Ø Merge
- 5 Min.
- Gemergte PRs (30 T.)
- 4
Entwicklungsumgebung
- Kein Dockerfile und keine Docker-Compose-Datei
- Keine Pull-Request-Vorlage
- Beitragsleitfaden lesen
Erste Schritte
- Lesen Sie das ganze Issue und danach den Beitragsleitfaden des Projekts.
- Schreiben Sie ins Issue, dass Sie es übernehmen — das erspart doppelte Arbeit.
- Forken Sie das Repository und arbeiten Sie in einem Branch.
- Öffnen Sie einen Pull Request, der die Issue-Nummer nennt.
Mehr aus oracle/oci-java-sdk
-
NoSuchMethodError in the circuit breaker since 3.103.0 when resilience4j 2.x is on the classpathOffen
Schwierigkeit 2/5 1-3 Stunden Anfängerfreundlichkeit 76/100
oracle/oci-java-sdk#803 ·
-
Potential token refresh timeout issue in Versions 2.91.0, 2.93.0, and 2.95.0 (Fixed in 2.97.0)OffenSDK
Schwierigkeit 1/5 Unter einer Stunde Anfängerfreundlichkeit 20/100
oracle/oci-java-sdk#788 ·
-
Identity Domains
Schwierigkeit 4/5 3-5 Tage Anfängerfreundlichkeit 25/100
oracle/oci-java-sdk#764 · 3 Kommentare ·
-
SDK
Schwierigkeit 3/5 1-2 Tage Anfängerfreundlichkeit 48/100
oracle/oci-java-sdk#726 · 1 Kommentar ·
-
Object Storage
Schwierigkeit 4/5 3-5 Tage Anfängerfreundlichkeit 25/100
oracle/oci-java-sdk#723 · 1 Reaktion ·
Alle Issues in oracle/oci-java-sdk
Ähnliche Issues
-
enhancement infra
Schwierigkeit 2/5 1-3 Stunden Anfängerfreundlichkeit 67/100
Maintainer antworten meist innerhalb von 1 Tag
-
5.0.x backport bug
Schwierigkeit 1/5 Unter einer Stunde Anfängerfreundlichkeit 68/100
spring-cloud/spring-cloud-function#1569 ·
Maintainer antworten meist innerhalb von 1 Tag
-
Move the spring-cloud-commons version and BOM import from the bus parent to the stream parentEvtl. vergeben @olegz hat das heute übernommen. Offentask
Schwierigkeit 2/5 1-3 Stunden Anfängerfreundlichkeit 74/100
spring-cloud/spring-cloud-stream#3355 ·
Maintainer antworten meist innerhalb von 1 Tag
-
area:cpan-port area:performance bug
Schwierigkeit 2/5 1-3 Stunden Anfängerfreundlichkeit 72/100
fglock/PerlOnJava#2230 ·
Maintainer antworten meist innerhalb von 1 Tag
-
Schwierigkeit 2/5 1-3 Stunden Anfängerfreundlichkeit 76/100