Skip to content

Commit

Permalink
INS-26353 [Offset fix for CouchbaseDB]-remainingfile
Browse files Browse the repository at this point in the history
Signed-off-by: Apurva-Birajdar <[email protected]>
  • Loading branch information
apurva-birajdar committed Jan 10, 2025
1 parent c7a6d1a commit ef50629
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 0 deletions.
7 changes: 7 additions & 0 deletions filter-plugin/logstash-filter-couchbasedb-guardium/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -102,6 +102,13 @@ https://www.elastic.co/guide/en/beats/filebeat/current/directory-layout.html
• You can set any port number except 5044, 5141, and 5000 (as these are currently reserved in Guardium v11.3 and v11.4 ).

• Locate "Processors" in the filebeat.yml file and then add below attribute to get timezone of Server:
For more information, see https://www.elastic.co/guide/en/beats/filebeat/current/add-locale.html
For example:-
processors:
- add_locale: ~


3. To learn how to start FileBeat, see https://www.elastic.co/guide/en/beats/filebeat/current/filebeat-installation-configuration.html#start

#### For details on configuring Filebeat connection over SSL, refer [Configuring Filebeat to push logs to Guardium](https://github.com/IBM/universal-connectors/blob/main/input-plugin/logstash-input-beats/README.md#configuring-filebeat-to-push-logs-to-guardium).
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,8 @@ input {
lines => ['{"clientContextId":"5c5476f0-e46d-4a6a-a19b-982a5fea056f","description":"A N1QL SELECT statement was executed","id":28672,"isAdHoc":true,"metrics":{"elapsedTime":"29.1335ms","executionTime":"29.0167ms","resultCount":3,"resultSize":217,"sortCount":3},"name":"SELECT statement","node":"127.0.0.1:8091","real_userid":{"domain":"builtin","user":"Administrator"},"remote":{"ip":"127.0.0.1","port":40389},"requestId":"f5592288-044f-453b-bbba-dc7d49e4aeb4","statement":"SELECT name,phone FROM `travel-sample` WHERE type=\"hotel\" AND city=\"Manchester\" and directions IS NOT MISSING ORDER BY name LIMIT 10;","status":"success","timestamp":"2021-05-20T14:41:21.444Z","userAgent":"Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/90.0.4430.212 Safari/537.36 (Couchbase Query Workbench (6.6.2-9588-enterprise))"}']
count => 1
type => "Couchbase"
add_field => {"timezone" => "-04:00"}

}
}

Expand Down

0 comments on commit ef50629

Please sign in to comment.