All Apps and Add-ons

Field Extraction

Ravan
Path Finder

How to extract the fields from below sample output .

ONLN|2011-12-03 16:58:13.000|cmfciohqpict006|455|cmfciohqpict006|ppadmin|0|DRTB|proteus|335|system_historytmp||||informix|0|2097682|

Field Details are as below

1.Instant type
2.Date and time
3.Hostname
4.pid
5.dbservername
6.user name
7.errno
8.Event
9.Other

0 Karma

yannK
Splunk Employee
Splunk Employee

define a field extraction in props.conf and transforms.conf for your sourcetype
see http://docs.splunk.com/Documentation/Splunk/latest/Admin/Transformsconf

by example, if your sourcetype is mysourcetype
in .../local/props.conf
[mysourcetype]
TRANSFORMS-extractmyfields=extract_mysourcetype

in .../local/transforms.conf
[extract_mysourcetype]
DELIMS = "|"
FIELDS = "InstantType","DateAndTime", "Hostname, "pid", "dbservername", "user", "name", "errno", "Event", "Other"

Get Updates on the Splunk Community!

Data Management Digest – December 2025

Welcome to the December edition of Data Management Digest! As we continue our journey of data innovation, the ...

Index This | What is broken 80% of the time by February?

December 2025 Edition   Hayyy Splunk Education Enthusiasts and the Eternally Curious!    We’re back with this ...

Unlock Faster Time-to-Value on Edge and Ingest Processor with New SPL2 Pipeline ...

Hello Splunk Community,   We're thrilled to share an exciting update that will help you manage your data more ...