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!

Splunk Enterprise Security 8.0.2 Availability: On cloud and On-premise!

A few months ago, we released Splunk Enterprise Security 8.0 for our cloud customers. Today, we are excited to ...

Logs to Metrics

Logs and Metrics Logs are generally unstructured text or structured events emitted by applications and written ...

Developer Spotlight with Paul Stout

Welcome to our very first developer spotlight release series where we'll feature some awesome Splunk ...