Skip to content
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
[citrix_adc] Enable request tracer
  • Loading branch information
bhapas committed May 11, 2023
commit 60efa4df5e26cc73e6567a9fe3a442dd5120ddcb
5 changes: 5 additions & 0 deletions packages/citrix_adc/changelog.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,9 @@
# newer versions go on top
- version: "0.6.0"
changes:
- description: Add a new flag to enable request tracing
type: enhancement
link: https://github.com/elastic/integrations/pull/6160
- version: "0.5.2"
changes:
- description: Fix all mapping of type float to double
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@ vars:
hostname: http://{{Hostname}}:{{Port}}
username: nsroot
password: nsroot
enable_request_tracer: true
data_stream:
vars:
preserve_original_event: true
Original file line number Diff line number Diff line change
@@ -1,5 +1,8 @@
config_version: 2
interval: {{period}}
{{#if enable_request_tracer}}
request.tracer.filename: "../../logs/httpjson/http-request-trace-*.ndjson"
{{/if}}
{{#if username}}
{{#if password}}
auth.basic.user: {{username}}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@ vars:
hostname: http://{{Hostname}}:{{Port}}
username: nsroot
password: nsroot
enable_request_tracer: true
data_stream:
vars:
preserve_original_event: true
Original file line number Diff line number Diff line change
@@ -1,5 +1,8 @@
config_version: 2
interval: {{period}}
{{#if enable_request_tracer}}
request.tracer.filename: "../../logs/httpjson/http-request-trace-*.ndjson"
{{/if}}
{{#if username}}
{{#if password}}
auth.basic.user: {{username}}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@ input: httpjson
service: citrix_adc
vars:
hostname: http://{{Hostname}}:{{Port}}
enable_request_tracer: true
data_stream:
vars:
preserve_original_event: true
Original file line number Diff line number Diff line change
@@ -1,5 +1,8 @@
config_version: 2
interval: {{period}}
{{#if enable_request_tracer}}
request.tracer.filename: "../../logs/httpjson/http-request-trace-*.ndjson"
{{/if}}
{{#if username}}
{{#if password}}
auth.basic.user: {{username}}
Expand Down
11 changes: 9 additions & 2 deletions packages/citrix_adc/manifest.yml
Original file line number Diff line number Diff line change
@@ -1,14 +1,14 @@
format_version: 2.0.0
name: citrix_adc
title: Citrix ADC
version: 0.5.2
version: 0.6.0
description: This Elastic integration collects metrics from Citrix ADC product.
type: integration
categories:
- observability
- network
conditions:
kibana.version: ^8.4.0
kibana.version: ^8.7.1
elastic.subscription: basic
icons:
- src: /img/citrix_adc-logo.svg
Expand Down Expand Up @@ -57,6 +57,13 @@ policy_templates:
show_user: true
required: true
default: http://localhost:9080
- name: enable_request_tracer
type: bool
title: Enable request tracing
multi: false
required: false
show_user: false
description: The request tracer logs requests and responses to the agent's local file-system for debugging configurations. Enabling this request tracing compromises security and should only be used for debugging. See [documentation](https://www.elastic.co/guide/en/beats/filebeat/current/filebeat-input-httpjson.html#_request_tracer_filename) for details.
- name: username
type: text
title: Username
Expand Down