<?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 should i define source type in splunk or props.conf at first?? in Getting Data In</title>
    <link>https://community.splunk.com/t5/Getting-Data-In/should-i-define-source-type-in-splunk-or-props-conf-at-first/m-p/76557#M15633</link>
    <description>&lt;P&gt;I am uploading my_file.txt in splunk under sourcetype TARGET_ONE.The content of my file is Fname|Mname|Lname|age|location abhay|vikram|singh|26|kolkata murari|kumar|bhartia|25|Bangalore&lt;/P&gt;

&lt;P&gt;for field extraction I have defined props.conf and transform.conf as following:&lt;/P&gt;

&lt;P&gt;props.conf&lt;/P&gt;

&lt;P&gt;[TARGET_ONE] &lt;BR /&gt;
NO_BINARY_CHECK = 1 &lt;BR /&gt;
pulldown_type = 1 &lt;BR /&gt;
KV_MODE=none &lt;BR /&gt;
SHOULD_LINEMERGE=false&lt;BR /&gt;
TRANSFORMS-comment=Extract_TARGET_ONE&lt;/P&gt;

&lt;P&gt;transforms.conf&lt;BR /&gt;
[Extract_TARGET_ONE]&lt;BR /&gt;
DELIMS = "|" &lt;BR /&gt;
FIELDS = "Fname","Mname","Lname","age","location"&lt;/P&gt;

&lt;P&gt;but should i define it in props.conf and transform.conf  before defining in splunk-web sourcetype??&lt;/P&gt;

&lt;P&gt;can any one teel is there any wrong with code because i want to avoid regex i want extarct all fields with Delims.&lt;/P&gt;

&lt;P&gt;If some one provide me with some code detais it wiil be helpful as my final objective is to bring my_file data as tabular format writing &lt;STRONG&gt;table&lt;/STRONG&gt; quiery in search time??&lt;/P&gt;</description>
    <pubDate>Mon, 28 Sep 2020 12:32:19 GMT</pubDate>
    <dc:creator>Tridi123</dc:creator>
    <dc:date>2020-09-28T12:32:19Z</dc:date>
    <item>
      <title>should i define source type in splunk or props.conf at first??</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/should-i-define-source-type-in-splunk-or-props-conf-at-first/m-p/76557#M15633</link>
      <description>&lt;P&gt;I am uploading my_file.txt in splunk under sourcetype TARGET_ONE.The content of my file is Fname|Mname|Lname|age|location abhay|vikram|singh|26|kolkata murari|kumar|bhartia|25|Bangalore&lt;/P&gt;

&lt;P&gt;for field extraction I have defined props.conf and transform.conf as following:&lt;/P&gt;

&lt;P&gt;props.conf&lt;/P&gt;

&lt;P&gt;[TARGET_ONE] &lt;BR /&gt;
NO_BINARY_CHECK = 1 &lt;BR /&gt;
pulldown_type = 1 &lt;BR /&gt;
KV_MODE=none &lt;BR /&gt;
SHOULD_LINEMERGE=false&lt;BR /&gt;
TRANSFORMS-comment=Extract_TARGET_ONE&lt;/P&gt;

&lt;P&gt;transforms.conf&lt;BR /&gt;
[Extract_TARGET_ONE]&lt;BR /&gt;
DELIMS = "|" &lt;BR /&gt;
FIELDS = "Fname","Mname","Lname","age","location"&lt;/P&gt;

&lt;P&gt;but should i define it in props.conf and transform.conf  before defining in splunk-web sourcetype??&lt;/P&gt;

&lt;P&gt;can any one teel is there any wrong with code because i want to avoid regex i want extarct all fields with Delims.&lt;/P&gt;

&lt;P&gt;If some one provide me with some code detais it wiil be helpful as my final objective is to bring my_file data as tabular format writing &lt;STRONG&gt;table&lt;/STRONG&gt; quiery in search time??&lt;/P&gt;</description>
      <pubDate>Mon, 28 Sep 2020 12:32:19 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/should-i-define-source-type-in-splunk-or-props-conf-at-first/m-p/76557#M15633</guid>
      <dc:creator>Tridi123</dc:creator>
      <dc:date>2020-09-28T12:32:19Z</dc:date>
    </item>
    <item>
      <title>Re: should i define source type in splunk or props.conf at first??</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/should-i-define-source-type-in-splunk-or-props-conf-at-first/m-p/76558#M15634</link>
      <description>&lt;P&gt;Editing the props.conf and transforms.conf directly is the same as using the splunk-web interface to define sourcetypes and transforms.  However the splunk-web interface does NOT give you the ability to use some of the more advanced setttings/stanzas.  Another thing to note is by edit throught he splunk-web interface you are NOT required to restart splunk,  by edit the files directly splunk sometimes requires a restart for your changes to take effect. &lt;/P&gt;

&lt;P&gt;With regards to your transforms and props file don't see any cause for alarm and it should work just fine, but I can only really guess since your sample is fairly small.  I will say that the pulldown_type is an Internal Settings that specifies  "NOT YOURS. DO NOT SET".&lt;/P&gt;</description>
      <pubDate>Mon, 01 Oct 2012 17:18:50 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/should-i-define-source-type-in-splunk-or-props-conf-at-first/m-p/76558#M15634</guid>
      <dc:creator>bmacias84</dc:creator>
      <dc:date>2012-10-01T17:18:50Z</dc:date>
    </item>
    <item>
      <title>Re: should i define source type in splunk or props.conf at first??</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/should-i-define-source-type-in-splunk-or-props-conf-at-first/m-p/76559#M15635</link>
      <description>&lt;P&gt;The TRANSFORMS directive is for index-time extractions. These should not be used unless absolutely necessary, and only by people who really know what they're doing. Use REPORT for search-time extractions.&lt;/P&gt;</description>
      <pubDate>Mon, 01 Oct 2012 18:49:07 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/should-i-define-source-type-in-splunk-or-props-conf-at-first/m-p/76559#M15635</guid>
      <dc:creator>Ayn</dc:creator>
      <dc:date>2012-10-01T18:49:07Z</dc:date>
    </item>
    <item>
      <title>Re: should i define source type in splunk or props.conf at first??</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/should-i-define-source-type-in-splunk-or-props-conf-at-first/m-p/76560#M15636</link>
      <description>&lt;P&gt;I agree with Ayn.  After many conversations with Splunk staff, they recommend doing all field extraction in search-time.  TRANSFROM is an Index-time operation and has performance implications. Also creates additions to&lt;BR /&gt;
Splunk's default set of indexed fields. Moding those defaults can have all types of unintended results.&lt;/P&gt;

&lt;P&gt;USE instead:&lt;BR /&gt;
&lt;CODE&gt;&lt;/CODE&gt;&lt;PRE&gt;&lt;CODE&gt;&lt;BR /&gt;
REPORT-comment=Extract_TARGET_ONE&lt;BR /&gt;
&lt;/CODE&gt;&lt;/PRE&gt;&lt;BR /&gt;
&lt;CODE&gt;&lt;/CODE&gt;&lt;PRE&gt;&lt;CODE&gt;&lt;BR /&gt;
EXTRACT-comment=Extract_TARGET_ONE&lt;BR /&gt;
&lt;/CODE&gt;&lt;/PRE&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 28 Sep 2020 12:32:27 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/should-i-define-source-type-in-splunk-or-props-conf-at-first/m-p/76560#M15636</guid>
      <dc:creator>bmacias84</dc:creator>
      <dc:date>2020-09-28T12:32:27Z</dc:date>
    </item>
    <item>
      <title>Re: should i define source type in splunk or props.conf at first??</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/should-i-define-source-type-in-splunk-or-props-conf-at-first/m-p/76561#M15637</link>
      <description>&lt;P&gt;then for extraction can i set&lt;/P&gt;

&lt;P&gt;CHECK_FOR_HEADER=TRUE (for automating extraction header)&lt;BR /&gt;
then for extraction i have to write in props.conf only.&lt;/P&gt;

&lt;P&gt;actual file size is very bug and it conatin 25 fields with delimiter "|"&lt;/P&gt;</description>
      <pubDate>Mon, 28 Sep 2020 12:32:48 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/should-i-define-source-type-in-splunk-or-props-conf-at-first/m-p/76561#M15637</guid>
      <dc:creator>Tridi123</dc:creator>
      <dc:date>2020-09-28T12:32:48Z</dc:date>
    </item>
  </channel>
</rss>

