<?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 Index CSV Missing Columns in Splunk Search</title>
    <link>https://community.splunk.com/t5/Splunk-Search/Index-CSV-Missing-Columns/m-p/517434#M145502</link>
    <description>&lt;P&gt;I have an interesting problem that I am not sure how to solve.&amp;nbsp; I have a CSV that I am monitoring.&amp;nbsp; The CSV has approximately 232 column headings given its a big data source.&amp;nbsp; The data is being pulled in but there are some columns that are not being indexed for some reason.&amp;nbsp; For example a missing column heading is say "comp_ip".&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;SPL search in both smart or verbose mode, doesn't show the field "comp_ip".&amp;nbsp; If I then write SPL as follows&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;&lt;LI-CODE lang="markup"&gt;index=foo sourcetype=csv | dedup comp_ip | table comp_ip&lt;/LI-CODE&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;&lt;P&gt;then SPLUNK happily shows me a table with all the values.&amp;nbsp; If I run my search in verbose mode and then look back at "events" I can see my field in the interesting fields.&amp;nbsp; However if I then revert back to normal search (i.e. index=foo sourcetype=csv) then my interesting fields no longer show this field.&amp;nbsp; I have also checked to make sure that there are no more "interesting fields" that have not been selected.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;If I manually take the CSV file and do a manual "Add Data" and apply the sourcetype, I can see the column "comp_ip" with the relevant data.&amp;nbsp;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I am at a loss..&lt;/P&gt;</description>
    <pubDate>Wed, 02 Sep 2020 09:03:28 GMT</pubDate>
    <dc:creator>willadams</dc:creator>
    <dc:date>2020-09-02T09:03:28Z</dc:date>
    <item>
      <title>Index CSV Missing Columns</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Index-CSV-Missing-Columns/m-p/517434#M145502</link>
      <description>&lt;P&gt;I have an interesting problem that I am not sure how to solve.&amp;nbsp; I have a CSV that I am monitoring.&amp;nbsp; The CSV has approximately 232 column headings given its a big data source.&amp;nbsp; The data is being pulled in but there are some columns that are not being indexed for some reason.&amp;nbsp; For example a missing column heading is say "comp_ip".&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;SPL search in both smart or verbose mode, doesn't show the field "comp_ip".&amp;nbsp; If I then write SPL as follows&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;&lt;LI-CODE lang="markup"&gt;index=foo sourcetype=csv | dedup comp_ip | table comp_ip&lt;/LI-CODE&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;&lt;P&gt;then SPLUNK happily shows me a table with all the values.&amp;nbsp; If I run my search in verbose mode and then look back at "events" I can see my field in the interesting fields.&amp;nbsp; However if I then revert back to normal search (i.e. index=foo sourcetype=csv) then my interesting fields no longer show this field.&amp;nbsp; I have also checked to make sure that there are no more "interesting fields" that have not been selected.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;If I manually take the CSV file and do a manual "Add Data" and apply the sourcetype, I can see the column "comp_ip" with the relevant data.&amp;nbsp;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I am at a loss..&lt;/P&gt;</description>
      <pubDate>Wed, 02 Sep 2020 09:03:28 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Index-CSV-Missing-Columns/m-p/517434#M145502</guid>
      <dc:creator>willadams</dc:creator>
      <dc:date>2020-09-02T09:03:28Z</dc:date>
    </item>
    <item>
      <title>Re: Index CSV Missing Columns</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Index-CSV-Missing-Columns/m-p/517437#M145503</link>
      <description>&lt;P&gt;you can create header using props.conf and transforms.conf&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;props.conf

[sourcetype]
EXTRACT-fields = big_data_fields_extraction

transforms.conf

[big_data_fields_extraction]
DELIMS = ","
FIELDS = "field1","field2","fiel1254"&lt;/LI-CODE&gt;&lt;P&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 02 Sep 2020 09:10:32 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Index-CSV-Missing-Columns/m-p/517437#M145503</guid>
      <dc:creator>thambisetty</dc:creator>
      <dc:date>2020-09-02T09:10:32Z</dc:date>
    </item>
    <item>
      <title>Re: Index CSV Missing Columns</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Index-CSV-Missing-Columns/m-p/517461#M145508</link>
      <description>&lt;P&gt;My data is already delim'd with "," and thats proven by the manual upload of the csv.&amp;nbsp;&amp;nbsp;&lt;SPAN&gt;This would do additional extractions to capture those specific fields but not allow for changes to the fields over time (which is likely to happen).&amp;nbsp; How can this be done without having to props it for specific fields and be more "dynamic".&amp;nbsp; What's causing it in the first instance.&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 02 Sep 2020 14:38:26 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Index-CSV-Missing-Columns/m-p/517461#M145508</guid>
      <dc:creator>willadams</dc:creator>
      <dc:date>2020-09-02T14:38:26Z</dc:date>
    </item>
    <item>
      <title>Re: Index CSV Missing Columns</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Index-CSV-Missing-Columns/m-p/518318#M145761</link>
      <description>&lt;P&gt;Spoke with SPLUNK support and the problem was resolved by changing the limits.conf configuration for [kv] within SPLUNK Enterprise.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Created under system\local the file limits.conf and added the following stanza to it and restarted SPLUNK.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;[kv]
limit = 235&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 08 Sep 2020 01:59:25 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Index-CSV-Missing-Columns/m-p/518318#M145761</guid>
      <dc:creator>willadams</dc:creator>
      <dc:date>2020-09-08T01:59:25Z</dc:date>
    </item>
  </channel>
</rss>

