<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: Splunk doesn't index csv at all in Splunk Enterprise</title>
    <link>https://community.splunk.com/t5/Splunk-Enterprise/Splunk-doesn-t-index-csv-at-all/m-p/602274#M12888</link>
    <description>&lt;P&gt;Solved. by myself&amp;nbsp;&lt;/P&gt;&lt;P&gt;I've to set TIME_PREFIX in props.conf to instruct that the timestamp is the second field and not the first.&lt;/P&gt;&lt;P&gt;It's nice to note that the problem there is now that I've some object that has the ID similiar to a UNIX TIMESTAMP.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Closed&lt;/P&gt;</description>
    <pubDate>Fri, 17 Jun 2022 17:44:21 GMT</pubDate>
    <dc:creator>fabrizioalleva</dc:creator>
    <dc:date>2022-06-17T17:44:21Z</dc:date>
    <item>
      <title>Splunk doesn't index csv at all</title>
      <link>https://community.splunk.com/t5/Splunk-Enterprise/Splunk-doesn-t-index-csv-at-all/m-p/602252#M12884</link>
      <description>&lt;P&gt;Hi all,&lt;/P&gt;&lt;P&gt;I'm working on a deploy with Universal Forwader, Heavy Forwarder and Indexer Cluster and Search Cluster.&lt;/P&gt;&lt;P&gt;The problem is this:&lt;/P&gt;&lt;P&gt;I'm indexing data from different csv since long time. For the first time yesterday I realized that not all the raw of my csv files are indexed at all.&amp;nbsp;&lt;/P&gt;&lt;P&gt;For example:&lt;/P&gt;&lt;P&gt;In a csv I count 24k rows and when I perform a stats count on the index I see only 16/17k rows.&lt;/P&gt;&lt;P&gt;Each file rotates every minutes.&amp;nbsp;&lt;/P&gt;&lt;P&gt;In the log there's anything that leads to an error.&lt;/P&gt;&lt;P&gt;In the UNIVERSAL FORWARDE I've this in &lt;STRONG&gt;inputs.conf&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;[batch:///var/opt/OV/shared/perfSpi/datafiles/metric/final/F5_ResurcesGroup*]&lt;BR /&gt;disabled = 0&lt;BR /&gt;index = f5_metrics&lt;BR /&gt;sourcetype = f5_metrics&lt;BR /&gt;initCrcLength = 100000&lt;BR /&gt;move_policy = sinkhole&lt;/P&gt;&lt;P&gt;In the HEAVY FORWARDER:&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;props.conf&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;[f5_metrics]&lt;BR /&gt;INDEXED_EXTRACTIONS = CSV&lt;BR /&gt;HEADER_FIELD_LINE_NUMBER=1&lt;BR /&gt;HEADER_FIELD_DELIMITER =,&lt;BR /&gt;FIELD_DELIMITER=,&lt;BR /&gt;HEADER_FIELD_LINE_NUMBER = 0&lt;BR /&gt;SEDCMD-dropheader = s/^"Node.+//g&lt;BR /&gt;SEDCMD-select_fields = s/([^,]*),([^,]*),([^,]*),([^,]*),([^,]*),([^,]*),([^,]*),([^,]*),([^,]*),([^,]*),([^,]*),([^,]*),([^,]*),([^,]*),([^,]*),([^,]*),([^,]*),([^,]*)/\1,\2,\4,\5,\9,\17,\18/g&lt;BR /&gt;#SEDCMD-select_fields = s/([^,]*),([^,]*),([^,]*),([^,]*),([^,]*),([^,]*),([^,]*),([^,]*),([^,]*),([^,]*),([^,]*),([^,]*),([^,]*),([^,]*),([^,]*),([^,]*),([^,]*),([^,]*)/\1,\4,\5,\9,\17,\18/g&lt;BR /&gt;TRANSFORMS-f5_fields_name_extract=f5_fields_name_extract&lt;/P&gt;&lt;P&gt;and in the &lt;STRONG&gt;transform.conf&lt;/STRONG&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;[f5_fields_name_extract]&lt;BR /&gt;REGEX=([^,]*),([^,]*),([^,]*),([^,]*),([^,]*),([^,]*),([^,]*)&lt;BR /&gt;FORMAT=NodeID::$1 TimeStamp::$2 period_length::$3 ltmVirtualServStatClientCurConns::$4 ltmVirtualServStatVsUsageRatio1m::$5 DisplayAttribute::$6 PollingInterval::$7&lt;BR /&gt;#FORMAT=NodeID::$1 period_length::$2 ltmVirtualServStatClientCurConns::$3 ltmVirtualServStatVsUsageRatio1m::$4 DisplayAttribute::$5 PollingInterval::$6&lt;BR /&gt;WRITE_META = true&lt;/P&gt;&lt;P&gt;Any suggestion ?&lt;/P&gt;&lt;P&gt;Thanks Fabrizio&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 17 Jun 2022 14:25:43 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Enterprise/Splunk-doesn-t-index-csv-at-all/m-p/602252#M12884</guid>
      <dc:creator>fabrizioalleva</dc:creator>
      <dc:date>2022-06-17T14:25:43Z</dc:date>
    </item>
    <item>
      <title>Re: Splunk doesn't index csv at all</title>
      <link>https://community.splunk.com/t5/Splunk-Enterprise/Splunk-doesn-t-index-csv-at-all/m-p/602274#M12888</link>
      <description>&lt;P&gt;Solved. by myself&amp;nbsp;&lt;/P&gt;&lt;P&gt;I've to set TIME_PREFIX in props.conf to instruct that the timestamp is the second field and not the first.&lt;/P&gt;&lt;P&gt;It's nice to note that the problem there is now that I've some object that has the ID similiar to a UNIX TIMESTAMP.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Closed&lt;/P&gt;</description>
      <pubDate>Fri, 17 Jun 2022 17:44:21 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Enterprise/Splunk-doesn-t-index-csv-at-all/m-p/602274#M12888</guid>
      <dc:creator>fabrizioalleva</dc:creator>
      <dc:date>2022-06-17T17:44:21Z</dc:date>
    </item>
  </channel>
</rss>

