Getting Data In

Multi-value fields not populating for index

ccollord
Explorer

Hello,
I think i'm doing something wrong, but i've read through all the manuals and can't figure out what it is!

I have an index named "email" that has entries that look like this:
[MAILTO]foo@bar.com [MAILTO]dog@cat.com [MAILFROM]cat@hat.com [SUBJECT]Hi there! ....

In my props.conf file:
[email] <--- this is the name of my index
MAX_TIMESTAMP_LOOKAHEAD = 40
TZ=UTC
REPORT-email = email-mv

In my transforms.conf file:
[email-mv]
REGEX = ([[^\s]+])([^\t]+)
FORMAT = $1$2
MV_ADD = true

I've been trying various things all morning and then doing " index=email | extract reload=T ". Any ideas what i'm missing?
Thanks!
~Chris

0 Karma
1 Solution

Stephen_Sorkin
Splunk Employee
Splunk Employee

Two problems.

  1. props.conf must be in terms of sourcetype, source or host, not index.
  2. The format here should be $1::$2.

View solution in original post

0 Karma

ccollord
Explorer

Thank you! "email" was also my sourcetype name so i was okay there but the change to the FORMAT fixed it!

0 Karma

Stephen_Sorkin
Splunk Employee
Splunk Employee

Two problems.

  1. props.conf must be in terms of sourcetype, source or host, not index.
  2. The format here should be $1::$2.
0 Karma
Get Updates on the Splunk Community!

Prove Your Splunk Prowess at .conf25—No Prereqs Required!

Your Next Big Security Credential: No Prerequisites Needed We know you’ve got the skills, and now, earning the ...

Splunk Observability Cloud's AI Assistant in Action Series: Observability as Code

This is the sixth post in the Splunk Observability Cloud’s AI Assistant in Action series that digs into how to ...

Splunk Answers Content Calendar, July Edition I

Hello Community! Welcome to another month of Community Content Calendar series! For the month of July, we will ...