<?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: How to define a sourcetype based on a TSV file with a long list of fields? in Getting Data In</title>
    <link>https://community.splunk.com/t5/Getting-Data-In/How-to-define-a-sourcetype-based-on-a-TSV-file-with-a-long-list/m-p/205947#M40670</link>
    <description>&lt;P&gt;Answer your own questions and then click "Accept" on it.&lt;/P&gt;</description>
    <pubDate>Tue, 08 Sep 2015 15:39:41 GMT</pubDate>
    <dc:creator>woodcock</dc:creator>
    <dc:date>2015-09-08T15:39:41Z</dc:date>
    <item>
      <title>How to define a sourcetype based on a TSV file with a long list of fields?</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/How-to-define-a-sourcetype-based-on-a-TSV-file-with-a-long-list/m-p/205940#M40663</link>
      <description>&lt;P&gt;I have datasets in TSV format where there is no header in the file. I tried to use the wizard to import the data, base it on TSV, define the header and set the (long list) of headers. For some reason the custom headers were not accepted. Has someone a sample props.conf for a TSV file with a custom header that works? &lt;span class="lia-unicode-emoji" title=":disappointed_face:"&gt;😞&lt;/span&gt;&lt;/P&gt;

&lt;P&gt;Maybe the header is too long, don't know.&lt;BR /&gt;
Here are the header fields as comma separated list:&lt;BR /&gt;
    accept_language,browser,browser_height,browser_width,c_color,campaign,channel,click_action,click_action_type,click_context,click_context_type,click_sourceid,click_tag,code_ver,color,connection_type,cookies,country,ct_connect_type,curr_factor,curr_rate,currency,cust_hit_time_gmt,cust_visid,daily_visitor,date_time,domain,duplicate_events,duplicate_purchase,duplicated_from,evar1-250,event_list,exclude_hit,first_hit_page_url,first_hit_pagename,first_hit_referrer,first_hit_time_gmt,geo_city,geo_country,geo_dma,geo_region,geo_zip,hier1-5,hier3,hier4,hier5,hit_source,hit_time_gmt,hitid_high,hitid_low,homepage,hourly_visitor,ip,ip2,j_jscript,java_enabled,javascript,language,last_hit_time_gmt,last_purchase_num,last_purchase_time_gmt,mcvisid,mobile* post_mobile*,mobile_id,monthly_visitor,mvvar1-3,namespace,new_visit,os,p_plugins,page_event,page_event_var1,page_event_var2,page_event_var3,page_type,page_url,pagename,paid_search,partner_plugins,persistent_cookie,plugins,post_ page_event,post_ page_type,post_browser_height,post_browser_width,post_campaign,post_channel,post_cookies,post_currency,post_cust_hit_time_gmt,post_cust_visid,post_evar1-75,post_event_list,post_hier1-5,post_java_enabled,post_keywords,post_mvvar1-3,post_page_event_var1,post_page_event_var2,post_page_event_var3,post_page_url,post_pagename,post_pagename_no_url,post_partner_plugins,post_persistent_cookie,post_product_list,post_prop1-75,post_purchaseid,post_referrer,post_search_engine,post_state,post_survey,post_t_time_info,post_tnt,post_tnt_action,post_transactionid,post_visid_high,post_visid_low,post_visid_type,post_zip,prev_page,product_list,product_merchandising,prop1-75,purchaseid,quarterly_visitor,ref_domain,ref_type,referrer,resolution,s_resolution,sampled_hit,search_engine,search_page_num,secondary_hit,service,social*,post_social*,sourceid,state,stats_server,t_time_info,tnt,tnt_action,tnt_post_vista,transactionid,truncated_hit,ua_color,ua_os,ua_pixels,user_agent,user_hash,user_server,userid,username,va_closer_detail,va_closer_id,va_finder_detail,va_finder_id,va_instance_event,va_new_engagement,video*,post_video*,visid_high,visid_low,visid_new,visid_timestamp,visid_type,visit_keywords,visit_num,visit_page_num,visit_referrer,visit_search_engine,visit_start_page_url,visit_start_pagename,visit_start_time_gmt,weekly_visitor,yearly_visitor,zip&lt;/P&gt;</description>
      <pubDate>Tue, 29 Sep 2020 07:10:35 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/How-to-define-a-sourcetype-based-on-a-TSV-file-with-a-long-list/m-p/205940#M40663</guid>
      <dc:creator>dominiquevocat</dc:creator>
      <dc:date>2020-09-29T07:10:35Z</dc:date>
    </item>
    <item>
      <title>Re: How to define a sourcetype based on a TSV file with a long list of fields?</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/How-to-define-a-sourcetype-based-on-a-TSV-file-with-a-long-list/m-p/205941#M40664</link>
      <description>&lt;P&gt;What is in your configuration files right now?&lt;/P&gt;</description>
      <pubDate>Mon, 07 Sep 2015 21:40:02 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/How-to-define-a-sourcetype-based-on-a-TSV-file-with-a-long-list/m-p/205941#M40664</guid>
      <dc:creator>woodcock</dc:creator>
      <dc:date>2015-09-07T21:40:02Z</dc:date>
    </item>
    <item>
      <title>Re: How to define a sourcetype based on a TSV file with a long list of fields?</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/How-to-define-a-sourcetype-based-on-a-TSV-file-with-a-long-list/m-p/205942#M40665</link>
      <description>&lt;PRE&gt;&lt;CODE&gt;[mysourcetype]
FIELD_DELIMITER = tab
FIELD_NAMES = accept_language,browser,browser_height,browser_width,c_color,campaign,channel,click_action,click_action_type,click_context,click_context_type,click_sourceid,click_tag,code_ver,color,connection_type,cookies,country,ct_connect_type,curr_factor,curr_rate,currency,cust_hit_time_gmt,cust_visid,daily_visitor,date_time,domain,duplicate_events,duplicate_purchase,duplicated_from,evar1-250,event_list,exclude_hit,first_hit_page_url,first_hit_pagename,first_hit_referrer,first_hit_time_gmt,geo_city,geo_country,geo_dma,geo_region,geo_zip,hier1-5,hier3,hier4,hier5,hit_source,hit_time_gmt,hitid_high,hitid_low,homepage,hourly_visitor,ip,ip2,j_jscript,java_enabled,javascript,language,last_hit_time_gmt,last_purchase_num,last_purchase_time_gmt,mcvisid,mobile* post_mobile*,mobile_id,monthly_visitor,mvvar1-3,namespace,new_visit,os,p_plugins,page_event,page_event_var1,page_event_var2,page_event_var3,page_type,page_url,pagename,paid_search,partner_plugins,persistent_cookie,plugins,post_ page_event,post_ page_type,post_browser_height,post_browser_width,post_campaign,post_channel,post_cookies,post_currency,post_cust_hit_time_gmt,post_cust_visid,post_evar1-75,post_event_list,post_hier1-5,post_java_enabled,post_keywords,post_mvvar1-3,post_page_event_var1,post_page_event_var2,post_page_event_var3,post_page_url,post_pagename,post_pagename_no_url,post_partner_plugins,post_persistent_cookie,post_product_list,post_prop1-75,post_purchaseid,post_referrer,post_search_engine,post_state,post_survey,post_t_time_info,post_tnt,post_tnt_action,post_transactionid,post_visid_high,post_visid_low,post_visid_type,post_zip,prev_page,product_list,product_merchandising,prop1-75,purchaseid,quarterly_visitor,ref_domain,ref_type,referrer,resolution,s_resolution,sampled_hit,search_engine,search_page_num,secondary_hit,service,social*,post_social*,sourceid,state,stats_server,t_time_info,tnt,tnt_action,tnt_post_vista,transactionid,truncated_hit,ua_color,ua_os,ua_pixels,user_agent,user_hash,user_server,userid,username,va_closer_detail,va_closer_id,va_finder_detail,va_finder_id,va_instance_event,va_new_engagement,video*,post_video*,visid_high,visid_low,visid_new,visid_timestamp,visid_type,visit_keywords,visit_num,visit_page_num,visit_referrer,visit_search_engine,visit_start_page_url,visit_start_pagename,visit_start_time_gmt,weekly_visitor,yearly_visitor,zip
HEADER_FIELD_DELIMITER = tab
INDEXED_EXTRACTIONS = tsv
disabled = false
&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Tue, 08 Sep 2015 08:16:55 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/How-to-define-a-sourcetype-based-on-a-TSV-file-with-a-long-list/m-p/205942#M40665</guid>
      <dc:creator>dominiquevocat</dc:creator>
      <dc:date>2015-09-08T08:16:55Z</dc:date>
    </item>
    <item>
      <title>Re: How to define a sourcetype based on a TSV file with a long list of fields?</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/How-to-define-a-sourcetype-based-on-a-TSV-file-with-a-long-list/m-p/205943#M40666</link>
      <description>&lt;P&gt;Why do you set &lt;CODE&gt;HEADER_FIELD_DELIMITER&lt;/CODE&gt; if there is no header in your file?&lt;/P&gt;</description>
      <pubDate>Tue, 08 Sep 2015 09:43:09 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/How-to-define-a-sourcetype-based-on-a-TSV-file-with-a-long-list/m-p/205943#M40666</guid>
      <dc:creator>MuS</dc:creator>
      <dc:date>2015-09-08T09:43:09Z</dc:date>
    </item>
    <item>
      <title>Re: How to define a sourcetype based on a TSV file with a long list of fields?</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/How-to-define-a-sourcetype-based-on-a-TSV-file-with-a-long-list/m-p/205944#M40667</link>
      <description>&lt;P&gt;hm, the preview and guidance when using the older import wizard seems to fail me, the indexed data looks fine &lt;span class="lia-unicode-emoji" title=":confused_face:"&gt;😕&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 08 Sep 2015 12:31:16 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/How-to-define-a-sourcetype-based-on-a-TSV-file-with-a-long-list/m-p/205944#M40667</guid>
      <dc:creator>dominiquevocat</dc:creator>
      <dc:date>2015-09-08T12:31:16Z</dc:date>
    </item>
    <item>
      <title>Re: How to define a sourcetype based on a TSV file with a long list of fields?</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/How-to-define-a-sourcetype-based-on-a-TSV-file-with-a-long-list/m-p/205945#M40668</link>
      <description>&lt;P&gt;Your configuration files look fine but I would keep only the &lt;CODE&gt;FIELD_NAMES&lt;/CODE&gt; and &lt;CODE&gt;INDEXED_EXTRACTIONS = TSV&lt;/CODE&gt; lines (change &lt;CODE&gt;tsv&lt;/CODE&gt; to &lt;CODE&gt;TSV&lt;/CODE&gt;) and remove everything else.  Then double-check this list:&lt;/P&gt;

&lt;UL&gt;
&lt;LI&gt;The sourcetype matches &lt;CODE&gt;mysourcetype&lt;/CODE&gt; &lt;EM&gt;exactly&lt;/EM&gt; (casing, punctuation, etc.).&lt;/LI&gt;
&lt;LI&gt;The &lt;CODE&gt;props.conf&lt;/CODE&gt; and &lt;CODE&gt;transforms.conf&lt;/CODE&gt; configuration files are deployed to the Indexers or Heavy Forwarders (or Universal Forwarders in some cases, such as &lt;CODE&gt;INDEXED_EXTRACTIONS = TSV&lt;/CODE&gt;).&lt;/LI&gt;
&lt;LI&gt;The &lt;CODE&gt;inputs.conf&lt;/CODE&gt; configuration file is deployed to the Forwarder.&lt;/LI&gt;
&lt;LI&gt;You must restart/bounce all Splunk instances on the servers where you deploy these files.&lt;/LI&gt;
&lt;LI&gt;There are no configuration errors during restart (watch the response text during startup on one server of each type).&lt;/LI&gt;
&lt;LI&gt;You are verifying proper current function by looking at NEW data (post-deploy/post-bounce), not previously indexed data (which is immutable).&lt;/LI&gt;
&lt;/UL&gt;</description>
      <pubDate>Tue, 08 Sep 2015 14:24:11 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/How-to-define-a-sourcetype-based-on-a-TSV-file-with-a-long-list/m-p/205945#M40668</guid>
      <dc:creator>woodcock</dc:creator>
      <dc:date>2015-09-08T14:24:11Z</dc:date>
    </item>
    <item>
      <title>Re: How to define a sourcetype based on a TSV file with a long list of fields?</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/How-to-define-a-sourcetype-based-on-a-TSV-file-with-a-long-list/m-p/205946#M40669</link>
      <description>&lt;P&gt;yeah, there were several things off...&lt;/P&gt;

&lt;UL&gt;
&lt;LI&gt;there are differences in the onboarding and in this case the one in "Data inputs » Files &amp;amp; directories" worked better then the one available from the "Data inputs" dialog.&lt;/LI&gt;
&lt;LI&gt;the extra "," in header delimiter stems from trying to get the headers to match (and looking in the wrong place i.e. suspecting an issue with long lists of headers etc) and is unnecessary...&lt;/LI&gt;
&lt;LI&gt;the headers as documented online are not matching but rather change from time to time and are delivered in a separate .tsv file (rejoice, rejoice)&lt;/LI&gt;
&lt;LI&gt;the preview of the data import failing to reflect the way data is after import (i.e. correct ... )&lt;/LI&gt;
&lt;/UL&gt;

&lt;P&gt;It seems to work nicely with the settings... how do i close this issue when no reply is quite correct &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 08 Sep 2015 14:56:41 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/How-to-define-a-sourcetype-based-on-a-TSV-file-with-a-long-list/m-p/205946#M40669</guid>
      <dc:creator>dominiquevocat</dc:creator>
      <dc:date>2015-09-08T14:56:41Z</dc:date>
    </item>
    <item>
      <title>Re: How to define a sourcetype based on a TSV file with a long list of fields?</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/How-to-define-a-sourcetype-based-on-a-TSV-file-with-a-long-list/m-p/205947#M40670</link>
      <description>&lt;P&gt;Answer your own questions and then click "Accept" on it.&lt;/P&gt;</description>
      <pubDate>Tue, 08 Sep 2015 15:39:41 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/How-to-define-a-sourcetype-based-on-a-TSV-file-with-a-long-list/m-p/205947#M40670</guid>
      <dc:creator>woodcock</dc:creator>
      <dc:date>2015-09-08T15:39:41Z</dc:date>
    </item>
    <item>
      <title>Re: How to define a sourcetype based on a TSV file with a long list of fields?</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/How-to-define-a-sourcetype-based-on-a-TSV-file-with-a-long-list/m-p/205948#M40671</link>
      <description>&lt;P&gt;there were several things off...&lt;/P&gt;

&lt;P&gt;there are differences in the onboarding and in this case the one in "Data inputs » Files &amp;amp; directories" worked better then the one available from the "Data inputs" dialog.&lt;BR /&gt;
the extra "," in header delimiter stems from trying to get the headers to match (and looking in the wrong place i.e. suspecting an issue with long lists of headers etc) and is unnecessary...&lt;BR /&gt;
the headers as documented online are not matching but rather change from time to time and are delivered in a separate .tsv file (rejoice, rejoice)&lt;BR /&gt;
the preview of the data import failing to reflect the way data is after import (i.e. correct ... )&lt;/P&gt;</description>
      <pubDate>Thu, 10 Sep 2015 09:30:59 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/How-to-define-a-sourcetype-based-on-a-TSV-file-with-a-long-list/m-p/205948#M40671</guid>
      <dc:creator>dominiquevocat</dc:creator>
      <dc:date>2015-09-10T09:30:59Z</dc:date>
    </item>
  </channel>
</rss>

