VCN Flow Logs Configured Correctly but Query Returns No Results

Đang mở
#668 0 bình luận 0 reaction 0 người được giao Xem trên GitHub

Chưa có ai nhận issue này.

Đánh giá

Độ khó
4/5
Thời gian dự kiến
3-5 ngày
Mức phù hợp với người mới
25/100
Loại issue
Lỗi
Độ rõ ràng
Cần làm rõ
Mức độ hoạt động
Đình trệ
Công nghệ
java
Lĩnh vực
cloud, networking

Hướng nghiên cứu

Bắt đầu với cấu hình flow-log của OCI Java SDK 3.54.0 được示 trong issue, sau đó so sánh cùng thiết lập và các truy vấn tương tự trong OCI CLI và Console. Kiểm tra khoảng thời gian thu thập dự kiến, cú pháp truy vấn và hành vi theo khu vực; được xem là hoàn tất khi xác định được nguyên nhân của các kết quả null hoặc ghi lại hạn chế đã được xác nhận của dịch vụ.

Do mô hình lập chỉ mục viết ra từ nội dung của issue.

Mô tả

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

Ngôn ngữ chính
Java
Star
243
Fork
171
Merge trung bình
5 phút
Pull request đã merge (30 ngày)
4

Chuẩn bị môi trường

Bắt đầu từ đâu

  1. Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
  2. Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
  3. Fork repository và làm thay đổi trên một nhánh.
  4. Mở pull request có tham chiếu số hiệu của issue.

Issue khác của oracle/oci-java-sdk

Tất cả issue của oracle/oci-java-sdk

Issue tương tự

Thêm issue về Java

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.