Getting Data In

Not all CSV fields getting extracted

a212830
Champion

Hi,

i have a csv feed with about 700 fields, and it looks like splunk is only auto-detecting about 100 one them. What's very strange is it seems to stop extracting them in the middle, but then the ones at the end get extracted.

For example, at the beginning, I have a number of fields - pkt_drop_percent, wire_mbits_per_sec.realtime, alerts_per_second... and then usr[0], idle[0], sys[0]... all the way up to usr[71], idle[71],sys[71]. It creates usr/idle/sys 0-24, but then skips from 25-71. But, then all the fields after usr[71],idle[71],sys[71] do get created. So, it's skipping from 25-71. Anyone ever run into this?

Here are my props settings from the HFW:

[sensor_info]
PREAMBLE_REGEX = ^#####################.*
ANNOTATE_PUNCT=false
MAX_TIMESTAMP_LOOKAHEAD = 35
SHOULD_LINEMERGE = false
LINE_BREAKER = ([\r\n]+)
TIME_PREFIX=^
HEADER_FIELD_LINE_NUMBER = 2
FIELD_DELIMITER = ,

Finally, are these considered INDEXED_EXTRACTIONS?

0 Karma
1 Solution

a212830
Champion

Never mind. Create a transforms on the SH and mapped them that way.

View solution in original post

a212830
Champion

Never mind. Create a transforms on the SH and mapped them that way.

Get Updates on the Splunk Community!

Introducing the 2024 SplunkTrust!

Hello, Splunk Community! We are beyond thrilled to announce our newest group of SplunkTrust members!  The ...

Introducing the 2024 Splunk MVPs!

We are excited to announce the 2024 cohort of the Splunk MVP program. Splunk MVPs are passionate members of ...

Splunk Custom Visualizations App End of Life

The Splunk Custom Visualizations apps End of Life for SimpleXML will reach end of support on Dec 21, 2024, ...