These are the 2 options I would try
configuration files
rex command in the search bar
The easiest, but also most transient, option is to use rex command inline in your search. For example:
sourcetype="multiline" | rex "CLOSE, loaded in (?<close_pe_rt>\S+)" | rex "FX_CLOSE, loaded in (?<fx_close_pe_rt>\S+)" | rex "XLA_ENV, loaded in (?<xla_env_pe_rt>\S+)" | rex "INTRADAY, loaded in (?<intraday_pe_rt>\S+)" | rex "CPTY_CREDIT, loaded in (?<cpty_credit_pe_rt>\S+)"
Maybe there's a way to do this in one rex invocation, but I tried several things which didn't work.
The other option is to add a few stanzas to props.conf and transforms.conf. For example,
in props.conf:
[multiline]
REPORT-foo = mlFields
in transforms.conf:
[mlFields]
REGEX = CLOSE, loaded in (\S+).* FX_CLOSE, loaded in (\S+).* XLA_ENV, loaded in (\S+).* INTRADAY, loaded in (\S+).* CPTY_CREDIT, loaded in (\S+)
FORMAT = close_pe_rt::$1 fx_close_pe_rt::$2 xla_env_pe_rt::$3 intraday_pe_rt::$4 cpty_credit_pe_rt::$5
You could also try using the Interactive Field Extractor (IFX).
... View more