In my config file I have a very long list of these drops:
if ([EventType]=="CachedRateDataStore"){
drop { }
}
if ([EventType]=="ChronoStats"){
drop { }
etc
I have also got a number of filters
( "PriceRequestProcessor" in [message]) or
( "PfPriceRequestRejectExecutor" in [message])
{
kv {
etc
I just realised that my "drop" list is growing long. In fact I'm not interested in any other fields except the ones I'm filtering with kv.
How do I drop just about everything and only apply filters the 2 fields up here. That stops me from having to explicitly drop spcecific fields. If the items aren't PriceRequestProcessor or PfPriceRequestRejectExecutor, then drop them all.