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!

Application management with Targeted Application Install for Victoria Experience

  Experience a new era of flexibility in managing your Splunk Cloud Platform apps! With Targeted Application ...

Index This | What goes up and never comes down?

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

Splunkers, Pack Your Bags: Why Cisco Live EMEA is Your Next Big Destination

The Power of Two: Splunk + Cisco at "Ludicrous Scale"   You know Splunk. You know Cisco. But have you seen ...