Skip to content

Commit

Permalink
[exporter/opensearch]: Fix SSO schema selection
Browse files Browse the repository at this point in the history
Signed-off-by: João Henri <[email protected]>
  • Loading branch information
jaehnri committed Oct 23, 2023
1 parent e033ebd commit 7a40c15
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions exporter/opensearchexporter/sso_log_exporter.go
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,7 @@ func newLogExporter(cfg *Config, set exporter.CreateSettings) (*logExporter, err
model := &encodeModel{
dedup: cfg.Dedup,
dedot: cfg.Dedot,
sso: cfg.MappingsSettings.Mode == MappingSS4O.String(),
flattenAttributes: cfg.MappingsSettings.Mode == MappingFlattenAttributes.String(),
timestampField: cfg.MappingsSettings.TimestampField,
unixTime: cfg.MappingsSettings.UnixTimestamp,
Expand Down

0 comments on commit 7a40c15

Please sign in to comment.