Repository navigation
okta: fill okta.request.ip_chain.* as a flattened object #3326
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Changes from 1 commit
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -329,6 +329,29 @@ processors: | |
| target_field: okta.security_context.isp | ||
| ignore_missing: true | ||
| ignore_failure: true | ||
| - rename: | ||
| field: json.request.ipChain | ||
| target_field: okta.request.ip_chain | ||
| ignore_missing: true | ||
| ignore_failure: true | ||
| - foreach: | ||
| field: okta.request.ip_chain | ||
| processor: | ||
| rename: | ||
| field: _ingest._value.geographicalContext | ||
| target_field: _ingest._value.geographical_context | ||
|
Comment on lines
+341
to
+342
Contributor
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Are renaming fields breaking changes ? Could it break custom dashboards / searches ?
Contributor
Author
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. It would be if the data had got into documents previously, but because of the old parsing these have not previously been available. |
||
| ignore_missing: true | ||
| ignore_failure: true | ||
| ignore_missing: true | ||
| - foreach: | ||
| field: okta.request.ip_chain | ||
| processor: | ||
| rename: | ||
| field: _ingest._value.geographical_context.postalCode | ||
| target_field: _ingest._value.geographical_context.postal_code | ||
| ignore_missing: true | ||
| ignore_failure: true | ||
| ignore_missing: true | ||
| - convert: | ||
| field: okta.client.user_agent.raw_user_agent | ||
| target_field: user_agent.original | ||
|
|
||
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -227,7 +227,7 @@ | |
| type: group | ||
| fields: | ||
| - name: ip_chain | ||
| type: group | ||
| type: flattened | ||
| fields: | ||
| - name: ip | ||
| type: ip | ||
|
|
||
Uh oh!
There was an error while loading. Please reload this page.