Getting Data In

Yet another question related to tab delimited input files.

feltsb
New Member

I would like to import a tab delimited text file, where the first line of the file contains field names instead of field values.

Tags (1)
0 Karma

kristian_kolb
Ultra Champion

Have you looked at the props.conf settings for CSV/TSV files? These include, but are not limited to;

[your_sourcetype]
SHOULD_LINEMERGE = false
INDEXED_EXTRACTIONS = TSV
HEADER_FIELD_LINE_NUMBER = 1
FIELD_QUOTE = "
TIMESTAMP_FIELDS = your_timestamp_field(s)

Read more in the props.conf spec file.
http://docs.splunk.com/Documentation/Splunk/6.0.2/Admin/Propsconf

Hope this helps,

K

0 Karma

feltsb
New Member

6.0.2, Mac OS X (splunk-6.0.2-196940-darwin-64 running on 10.9.2)

0 Karma

somesoni2
Revered Legend

what splunk version?

0 Karma
Got questions? Get answers!

Join the Splunk Community Slack to learn, troubleshoot, and make connections with fellow Splunk practitioners in real time!

Meet up IRL or virtually!

Join Splunk User Groups to connect and learn in-person by region or remotely by topic or industry.

Get Updates on the Splunk Community!

[Puzzles] Solve, Learn, Repeat: Character substitutions with Regular Expressions

This challenge was first posted on Slack #puzzles channelFor BORE at .conf23, we had a puzzle question which ...

Splunk Community Badges!

  Hey everyone! Ready to earn some serious bragging rights in the community? Along with our existing badges ...

[Puzzles] Solve, Learn, Repeat: Matching cron expressions

This puzzle (first published here) is based on matching timestamps to cron expressions.All the timestamps ...