VCN Flow Logs Configured Correctly but Query Returns No Results

オープン
#668 コメント 0 件 リアクション 0 件 担当者 0 名 GitHub で見る

まだ誰も着手していません。

評価

難易度
4/5
見積もり時間
3〜5日
初心者へのやさしさ
25/100
issue の種類
バグ
明瞭さ
説明が足りない
活発さ
停滞
技術スタック
java
領域
cloud, networking

調査の方向性

Issue に示されている OCI Java SDK 3.54.0 の flow-log 構成から始め、同じ設定とクエリを OCI CLI と Console でも比較します。想定される収集期間、クエリ構文、リージョンごとの動作を確認します。null 結果の原因を特定するか、確認されたサービスの制限を文書化できれば完了です。

索引モデルが issue の本文から書いたものです。

説明

Logging Analytics

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分
マージ済み PR(30日)
4

環境構築

はじめの一歩

  1. issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
  2. 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
  3. リポジトリをフォークし、ブランチを切って変更します。
  4. issue 番号を参照したプルリクエストを送ります。

oracle/oci-java-sdk のほかの issue

oracle/oci-java-sdk の issue をすべて見る

似ている issue

Java の issue をもっと見る

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。