Getting Data In

Extracting Fields using Regex

EHariharan
Explorer

Hi All,

TIME_PREFIX=
MAX_TIME_LOOKAHEAD=
LINE_BREAKER=

Below are the logs which need to be extracted. Kindly help!

LOGID USERTYPE OPERATORUSER OPERATORTYPE OPERATORNAME OPERATORTIME

6 ma*ge_an userClass deleteUser 2019-06-28 09:50:26
7 System administrator ma
ge_a***n userClass createUser 2019-06-28 09:50:3

Thanks in Advance!

Tags (1)
0 Karma

chinmoya
Communicator

it looks like all your headers are separated by a tab.
I would suggest you not use regex instead use a delimiter based approach with using tab as a delimiter.

0 Karma
Get Updates on the Splunk Community!

Announcing Scheduled Export GA for Dashboard Studio

We're excited to announce the general availability of Scheduled Export for Dashboard Studio. Starting in ...

Extending Observability Content to Splunk Cloud

Watch Now!   In this Extending Observability Content to Splunk Cloud Tech Talk, you'll see how to leverage ...

More Control Over Your Monitoring Costs with Archived Metrics GA in US-AWS!

What if there was a way you could keep all the metrics data you need while saving on storage costs?This is now ...