Skip to content

Commit

Permalink
Exempt the associated_assets Field from Traffic Accounting (#15892)
Browse files Browse the repository at this point in the history
* Exempt the added associated_assets field from traffic accounting

* Trigger Build
  • Loading branch information
ryan-carroll-graylog authored Jul 11, 2023
1 parent e2d1feb commit 76ff7ab
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -39,4 +39,6 @@ public class GraylogSchemaFields {
public static final String FIELD_ILLUMINATE_GIM_TAGS = "gim_tags";
public static final String FIELD_ILLUMINATE_GIM_VERSION = "gim_version";

public static final String FIELD_ASSOCIATED_ASSETS = "associated_assets";

}
Original file line number Diff line number Diff line change
Expand Up @@ -76,6 +76,7 @@
import static org.graylog.schema.GraylogSchemaFields.FIELD_ILLUMINATE_GIM_TAGS;
import static org.graylog.schema.GraylogSchemaFields.FIELD_ILLUMINATE_GIM_VERSION;
import static org.graylog.schema.GraylogSchemaFields.FIELD_ILLUMINATE_TAGS;
import static org.graylog.schema.GraylogSchemaFields.FIELD_ASSOCIATED_ASSETS;
import static org.graylog2.plugin.Tools.buildElasticSearchTimeFormat;
import static org.joda.time.DateTimeZone.UTC;

Expand Down Expand Up @@ -228,7 +229,8 @@ public class Message implements Messages, Indexable {
FIELD_ILLUMINATE_GIM_EVENT_TYPE,
FIELD_ILLUMINATE_GIM_EVENT_TYPE_CODE,
FIELD_ILLUMINATE_GIM_TAGS,
FIELD_ILLUMINATE_GIM_VERSION
FIELD_ILLUMINATE_GIM_VERSION,
FIELD_ASSOCIATED_ASSETS
);

private static final ImmutableSet<String> CORE_MESSAGE_FIELDS = ImmutableSet.of(
Expand Down

0 comments on commit 76ff7ab

Please sign in to comment.