VCN Flow Logs Configured Correctly but Query Returns No Results
還沒有人認領這個 Issue。
評估
- 難度
- 4/5
- 預估耗時
- 3-5 天
- 新手友好度
- 25/100
- Issue 類型
- 缺陷
- 描述清晰度
- 需要釐清
- 活躍度
- 停滯
- 技術堆疊
- java
- 領域
- cloud, networking
研究方向
從 issue 中所示的 OCI Java SDK 3.54.0 flow-log 設定開始,然後在 OCI CLI 和 Console 中比較相同的設定與查詢。檢查預期的收集時間範圍、查詢語法以及區域行為;完成的標準是找出 null 結果的原因,或記錄已確認的服務限制。
由索引模型根據 Issue 內容生成。
描述
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
- 主要語言
- Java
- 星號
- 243
- 分支
- 171
- 平均合併
- 5 分鐘
- 30 天內合併 PR
- 4
環境準備
- 沒有 Dockerfile 或 Docker Compose 檔案
- 沒有 Pull Request 範本
- 閱讀貢獻指南
從這裡開始
- 先讀完整個 Issue,再讀專案的貢獻指南。
- 在 Issue 下留言說明你要接手 —— 這能避免兩個人做同樣的事。
- Fork 儲存庫,在一個分支上完成修改。
- 送出 Pull Request,並在描述裡引用這個 Issue 編號。
oracle/oci-java-sdk 的其他 Issue
-
NoSuchMethodError in the circuit breaker since 3.103.0 when resilience4j 2.x is on the classpath未關閉
難度 2/5 1-3 小時 新手友好度 76/100
oracle/oci-java-sdk#803 ·
-
SDK
難度 1/5 1 小時以內 新手友好度 20/100
oracle/oci-java-sdk#788 ·
-
Identity Domains
難度 4/5 3-5 天 新手友好度 25/100
oracle/oci-java-sdk#764 · 3 則留言 ·
-
SDK
難度 3/5 1-2 天 新手友好度 48/100
oracle/oci-java-sdk#726 · 1 則留言 ·
-
Object Storage
難度 4/5 3-5 天 新手友好度 25/100
oracle/oci-java-sdk#723 · 1 個 reaction ·
查看 oracle/oci-java-sdk 的全部 Issue
相似的 Issue
-
enhancement infra
難度 2/5 1-3 小時 新手友好度 67/100
維護者通常 1 天內回覆
-
5.0.x backport bug
難度 1/5 1 小時以內 新手友好度 68/100
spring-cloud/spring-cloud-function#1569 ·
維護者通常 1 天內回覆
-
Move the spring-cloud-commons version and BOM import from the bus parent to the stream parent可能已有人在做 @olegz 今天認領。 未關閉task
難度 2/5 1-3 小時 新手友好度 74/100
spring-cloud/spring-cloud-stream#3355 ·
維護者通常 1 天內回覆
-
area:cpan-port area:performance bug
難度 2/5 1-3 小時 新手友好度 72/100
fglock/PerlOnJava#2230 ·
維護者通常 1 天內回覆
-
難度 2/5 1-3 小時 新手友好度 76/100