<?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: headers in csv do not appear as field names in search result in Getting Data In</title>
    <link>https://community.splunk.com/t5/Getting-Data-In/headers-in-csv-do-not-appear-as-field-names-in-search-result/m-p/151556#M30833</link>
    <description>&lt;P&gt;HI MuS,&lt;/P&gt;

&lt;P&gt;The options I can see are:&lt;/P&gt;

&lt;P&gt;All fields &lt;BR /&gt;
coverage: 1% or more&lt;BR /&gt;
coverage: 50% or more&lt;BR /&gt;
coverage: 90% or more&lt;BR /&gt;
coverage: 100%&lt;/P&gt;

&lt;P&gt;And I have already selected "All fields...&lt;/P&gt;</description>
    <pubDate>Tue, 16 Dec 2014 11:42:33 GMT</pubDate>
    <dc:creator>jackiewkc</dc:creator>
    <dc:date>2014-12-16T11:42:33Z</dc:date>
    <item>
      <title>headers in csv do not appear as field names in search result</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/headers-in-csv-do-not-appear-as-field-names-in-search-result/m-p/151552#M30829</link>
      <description>&lt;P&gt;Hi, I have a csv file which contains data like this:&lt;/P&gt;

&lt;P&gt;"region","country","city"&lt;BR /&gt;
"emea","united kingdom","london"&lt;BR /&gt;
"emea","france","paris"&lt;BR /&gt;
"apac","hong kong","hong kong"&lt;BR /&gt;
"amer","usa","new york"&lt;/P&gt;

&lt;P&gt;I believe my inputs.conf and props.conf are correct as I can see the data in splunk when I do a search "sourcetype=props_config". However, I don't see "region", "country" or "city" as the field names on the left in the Splunk GUI.&lt;/P&gt;

&lt;P&gt;my inputs.conf is like:&lt;/P&gt;

&lt;P&gt;[monitor:///data/logs/*/geo.csv]&lt;BR /&gt;
host_segment = 3&lt;BR /&gt;
index = testindex&lt;BR /&gt;
sourcetype = props_config&lt;/P&gt;

&lt;P&gt;my props.conf is like:&lt;/P&gt;

&lt;P&gt;[props_config]&lt;BR /&gt;
FIELD_DELIMITER = ,&lt;BR /&gt;
HEADER_FIELD_DELIMITER = ,&lt;BR /&gt;
FIELD_QUOTE = "&lt;/P&gt;

&lt;P&gt;Any idea what is wrong here? Thanks.&lt;/P&gt;</description>
      <pubDate>Mon, 28 Sep 2020 18:22:56 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/headers-in-csv-do-not-appear-as-field-names-in-search-result/m-p/151552#M30829</guid>
      <dc:creator>jackiewkc</dc:creator>
      <dc:date>2020-09-28T18:22:56Z</dc:date>
    </item>
    <item>
      <title>Re: headers in csv do not appear as field names in search result</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/headers-in-csv-do-not-appear-as-field-names-in-search-result/m-p/151553#M30830</link>
      <description>&lt;P&gt;Hi jackiewkc,&lt;/P&gt;

&lt;P&gt;not all fields are displayed by default in Splunk, see the docs for more details &lt;A href="http://docs.splunk.com/Documentation/Splunk/6.2.0/SearchTutorial/Aboutthesearchtabs#Events"&gt;http://docs.splunk.com/Documentation/Splunk/6.2.0/SearchTutorial/Aboutthesearchtabs#Events&lt;/A&gt;&lt;/P&gt;

&lt;P&gt;To do a quick check for your fields do something like this:&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;your base search here  sourcetype=props_config| table region country city
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;hope this helps ...&lt;/P&gt;

&lt;P&gt;cheers, MuS&lt;/P&gt;</description>
      <pubDate>Tue, 16 Dec 2014 11:04:08 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/headers-in-csv-do-not-appear-as-field-names-in-search-result/m-p/151553#M30830</guid>
      <dc:creator>MuS</dc:creator>
      <dc:date>2014-12-16T11:04:08Z</dc:date>
    </item>
    <item>
      <title>Re: headers in csv do not appear as field names in search result</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/headers-in-csv-do-not-appear-as-field-names-in-search-result/m-p/151554#M30831</link>
      <description>&lt;P&gt;Hi MuS,&lt;/P&gt;

&lt;P&gt;Thanks for the quick reply. I was expecting to see these header fields when I selected "All Fields" but this is not the case.&lt;/P&gt;

&lt;P&gt;I did the table thing you suggested and I can see the correct event counts.&lt;/P&gt;

&lt;P&gt;Any idea how I can get the field names displayed?&lt;/P&gt;

&lt;P&gt;Thanks.&lt;/P&gt;

&lt;P&gt;Jackie&lt;/P&gt;</description>
      <pubDate>Tue, 16 Dec 2014 11:11:41 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/headers-in-csv-do-not-appear-as-field-names-in-search-result/m-p/151554#M30831</guid>
      <dc:creator>jackiewkc</dc:creator>
      <dc:date>2014-12-16T11:11:41Z</dc:date>
    </item>
    <item>
      <title>Re: headers in csv do not appear as field names in search result</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/headers-in-csv-do-not-appear-as-field-names-in-search-result/m-p/151555#M30832</link>
      <description>&lt;P&gt;Although it states all fields, it does not show all fields by default &lt;span class="lia-unicode-emoji" title=":winking_face:"&gt;😉&lt;/span&gt; it only shows all field over a certain hit percentage ... I beleave it is something around 0.1% you can change it in the all fields 'window' &lt;/P&gt;</description>
      <pubDate>Tue, 16 Dec 2014 11:22:33 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/headers-in-csv-do-not-appear-as-field-names-in-search-result/m-p/151555#M30832</guid>
      <dc:creator>MuS</dc:creator>
      <dc:date>2014-12-16T11:22:33Z</dc:date>
    </item>
    <item>
      <title>Re: headers in csv do not appear as field names in search result</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/headers-in-csv-do-not-appear-as-field-names-in-search-result/m-p/151556#M30833</link>
      <description>&lt;P&gt;HI MuS,&lt;/P&gt;

&lt;P&gt;The options I can see are:&lt;/P&gt;

&lt;P&gt;All fields &lt;BR /&gt;
coverage: 1% or more&lt;BR /&gt;
coverage: 50% or more&lt;BR /&gt;
coverage: 90% or more&lt;BR /&gt;
coverage: 100%&lt;/P&gt;

&lt;P&gt;And I have already selected "All fields...&lt;/P&gt;</description>
      <pubDate>Tue, 16 Dec 2014 11:42:33 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/headers-in-csv-do-not-appear-as-field-names-in-search-result/m-p/151556#M30833</guid>
      <dc:creator>jackiewkc</dc:creator>
      <dc:date>2014-12-16T11:42:33Z</dc:date>
    </item>
    <item>
      <title>Re: headers in csv do not appear as field names in search result</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/headers-in-csv-do-not-appear-as-field-names-in-search-result/m-p/151557#M30834</link>
      <description>&lt;P&gt;Did you set any filter for the fields? &lt;/P&gt;</description>
      <pubDate>Tue, 16 Dec 2014 12:20:15 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/headers-in-csv-do-not-appear-as-field-names-in-search-result/m-p/151557#M30834</guid>
      <dc:creator>MuS</dc:creator>
      <dc:date>2014-12-16T12:20:15Z</dc:date>
    </item>
    <item>
      <title>Re: headers in csv do not appear as field names in search result</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/headers-in-csv-do-not-appear-as-field-names-in-search-result/m-p/151558#M30835</link>
      <description>&lt;P&gt;No, I haven't set any filter....&lt;/P&gt;</description>
      <pubDate>Tue, 16 Dec 2014 12:26:01 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/headers-in-csv-do-not-appear-as-field-names-in-search-result/m-p/151558#M30835</guid>
      <dc:creator>jackiewkc</dc:creator>
      <dc:date>2014-12-16T12:26:01Z</dc:date>
    </item>
    <item>
      <title>Re: headers in csv do not appear as field names in search result</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/headers-in-csv-do-not-appear-as-field-names-in-search-result/m-p/151559#M30836</link>
      <description>&lt;P&gt;Only thing I can think of currently is the search mode...are you in &lt;CODE&gt;fast&lt;/CODE&gt;, &lt;CODE&gt;smart&lt;/CODE&gt; or &lt;CODE&gt;verbose&lt;/CODE&gt; mode?&lt;/P&gt;</description>
      <pubDate>Tue, 16 Dec 2014 12:43:51 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/headers-in-csv-do-not-appear-as-field-names-in-search-result/m-p/151559#M30836</guid>
      <dc:creator>MuS</dc:creator>
      <dc:date>2014-12-16T12:43:51Z</dc:date>
    </item>
    <item>
      <title>Re: headers in csv do not appear as field names in search result</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/headers-in-csv-do-not-appear-as-field-names-in-search-result/m-p/151560#M30837</link>
      <description>&lt;P&gt;You are a genius !!! I was running in fast mode. It works after I changed it to smart.&lt;/P&gt;

&lt;P&gt;Thank you so much for your help. I really appreciate it.&lt;/P&gt;</description>
      <pubDate>Tue, 16 Dec 2014 12:45:55 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/headers-in-csv-do-not-appear-as-field-names-in-search-result/m-p/151560#M30837</guid>
      <dc:creator>jackiewkc</dc:creator>
      <dc:date>2014-12-16T12:45:55Z</dc:date>
    </item>
    <item>
      <title>Re: headers in csv do not appear as field names in search result</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/headers-in-csv-do-not-appear-as-field-names-in-search-result/m-p/151561#M30838</link>
      <description>&lt;P&gt;Sweet &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt; You're welcome ...&lt;/P&gt;</description>
      <pubDate>Tue, 16 Dec 2014 12:50:25 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/headers-in-csv-do-not-appear-as-field-names-in-search-result/m-p/151561#M30838</guid>
      <dc:creator>MuS</dc:creator>
      <dc:date>2014-12-16T12:50:25Z</dc:date>
    </item>
  </channel>
</rss>

