<?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: CSV file Indexing issue in Monitoring Splunk</title>
    <link>https://community.splunk.com/t5/Monitoring-Splunk/CSV-file-Indexing-issue/m-p/399172#M6307</link>
    <description>&lt;P&gt;Hi @ richgalloway&lt;/P&gt;

&lt;P&gt;I tried but still not able to index. &lt;/P&gt;</description>
    <pubDate>Mon, 18 Feb 2019 07:43:06 GMT</pubDate>
    <dc:creator>Nadhiyaa</dc:creator>
    <dc:date>2019-02-18T07:43:06Z</dc:date>
    <item>
      <title>CSV file Indexing issue</title>
      <link>https://community.splunk.com/t5/Monitoring-Splunk/CSV-file-Indexing-issue/m-p/399170#M6305</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;

&lt;P&gt;Below is my content of my csv file &lt;/P&gt;

&lt;P&gt;Splunk_Backup_Success_Rate&lt;BR /&gt;
"A table showing the master server, number of backups that were successful and failed, the success rate and total amount processed for each day "&lt;BR /&gt;
Report Time Frame: Previous 24 Hours&lt;BR /&gt;
Period,Node Name,Successful Jobs,Failed Jobs,Total Job Count,Success Rate (%),Size(GB)&lt;BR /&gt;
2019-02-16,dcabak02.dca.com,2278,7,2285,99.69,"8,350.13"&lt;BR /&gt;
2019-02-17,dcabak02.dca.com,948,1,949,99.89,"8,581.66"&lt;BR /&gt;
GRAND SUMMARY,-,3226,8,3234,99.75,"16,931.78"&lt;BR /&gt;
"Report generated on Feb 17, 2019 7:01:39 AM"&lt;/P&gt;

&lt;P&gt;I Want to index only these 3 lines &lt;BR /&gt;
Period,Node Name,Successful Jobs,Failed Jobs,Total Job Count,Success Rate (%),Size(GB)&lt;BR /&gt;
2019-02-16,dcabak02.dca.com,2278,7,2285,99.69,"8,350.13"&lt;BR /&gt;
2019-02-17,dcabak02.dca.com,948,1,949,99.89,"8,581.66"&lt;/P&gt;

&lt;P&gt;Below is my configuration setting &lt;/P&gt;

&lt;P&gt;Transforms.conf&lt;BR /&gt;
[netbackup]&lt;BR /&gt;
DELIMS = ","&lt;BR /&gt;
FIELDS=Period,Node Name,Successful Jobs,Failed Jobs,Total Job Count,Success Rate (%),Size(GB)&lt;/P&gt;

&lt;P&gt;props.conf&lt;/P&gt;

&lt;P&gt;[netbackup]&lt;BR /&gt;
DATETIME_CONFIG = CURRENT&lt;BR /&gt;
FIELD_DELIMITER = ,&lt;BR /&gt;
INDEXED_EXTRACTIONS = csv&lt;BR /&gt;
CHECK_FOR_HEADER = true&lt;BR /&gt;
KV_MODE = none&lt;BR /&gt;
NO_BINARY_CHECK = true&lt;BR /&gt;
SHOULD_LINEMERGE = false&lt;BR /&gt;
disabled = false&lt;BR /&gt;
pulldown_type = true&lt;BR /&gt;
REPORT-netbackup = REPORT-netbackup[netbackup]&lt;BR /&gt;
DATETIME_CONFIG = CURRENT&lt;BR /&gt;
FIELD_DELIMITER = ,&lt;BR /&gt;
INDEXED_EXTRACTIONS = csv&lt;BR /&gt;
CHECK_FOR_HEADER = true&lt;BR /&gt;
KV_MODE = none&lt;BR /&gt;
NO_BINARY_CHECK = true&lt;BR /&gt;
SHOULD_LINEMERGE = false&lt;BR /&gt;
disabled = false&lt;BR /&gt;
pulldown_type = true&lt;BR /&gt;
REPORT-netbackup = REPORT-netbackup&lt;/P&gt;

&lt;P&gt;Somehow my data not being indexed into Splunk. Can anyone please tell me whats wrong with the conf&lt;/P&gt;</description>
      <pubDate>Tue, 29 Sep 2020 23:21:45 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Monitoring-Splunk/CSV-file-Indexing-issue/m-p/399170#M6305</guid>
      <dc:creator>Nadhiyaa</dc:creator>
      <dc:date>2020-09-29T23:21:45Z</dc:date>
    </item>
    <item>
      <title>Re: CSV file Indexing issue</title>
      <link>https://community.splunk.com/t5/Monitoring-Splunk/CSV-file-Indexing-issue/m-p/399171#M6306</link>
      <description>&lt;P&gt;What you have is not a CSV file so trying to treat it like one will fail.  instead, select the lines you want for indexing and the rest to the null queue.&lt;/P&gt;

&lt;P&gt;props.conf:&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;[netbackup]
SHOULD_LINEMERGE = false
TRANSFORMS-netbackup = netbackup, setnull
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;transforms.conf:&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;[netbackup]
REGEX = ^\d\d\d\d-\d\d-\d\d
DEST_KEY = queue
FIELDS=Period,Node Name,Successful Jobs,Failed Jobs,Total Job Count,Success Rate (%),Size(GB)

[setnull]
REGEX = .
DEST_KEY = queue
FORMAT = nullQueue
&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Sun, 17 Feb 2019 21:30:32 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Monitoring-Splunk/CSV-file-Indexing-issue/m-p/399171#M6306</guid>
      <dc:creator>richgalloway</dc:creator>
      <dc:date>2019-02-17T21:30:32Z</dc:date>
    </item>
    <item>
      <title>Re: CSV file Indexing issue</title>
      <link>https://community.splunk.com/t5/Monitoring-Splunk/CSV-file-Indexing-issue/m-p/399172#M6307</link>
      <description>&lt;P&gt;Hi @ richgalloway&lt;/P&gt;

&lt;P&gt;I tried but still not able to index. &lt;/P&gt;</description>
      <pubDate>Mon, 18 Feb 2019 07:43:06 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Monitoring-Splunk/CSV-file-Indexing-issue/m-p/399172#M6307</guid>
      <dc:creator>Nadhiyaa</dc:creator>
      <dc:date>2019-02-18T07:43:06Z</dc:date>
    </item>
    <item>
      <title>Re: CSV file Indexing issue</title>
      <link>https://community.splunk.com/t5/Monitoring-Splunk/CSV-file-Indexing-issue/m-p/399173#M6308</link>
      <description>&lt;P&gt;How are you trying to find the data (what is your search)?&lt;BR /&gt;
Consider renaming the fields to remove spaces and special characters.  You can rename them back at search time.&lt;/P&gt;</description>
      <pubDate>Tue, 19 Feb 2019 18:42:51 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Monitoring-Splunk/CSV-file-Indexing-issue/m-p/399173#M6308</guid>
      <dc:creator>richgalloway</dc:creator>
      <dc:date>2019-02-19T18:42:51Z</dc:date>
    </item>
  </channel>
</rss>

