<?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: Help using EXTRACT to capture a custom static value by source in Splunk Search</title>
    <link>https://community.splunk.com/t5/Splunk-Search/Help-using-EXTRACT-to-capture-a-custom-static-value-by-source/m-p/99719#M25724</link>
    <description>&lt;P&gt;Use a TRANSFORMS in props.conf that will call the name of the transformation,&lt;BR /&gt;
and in transforms.conf, you specify the regex and the value. (it can be a regex always matching)&lt;/P&gt;

&lt;P&gt;see &lt;A href="http://docs.splunk.com/Documentation/Splunk/latest/Data/Configureindex-timefieldextraction"&gt;http://docs.splunk.com/Documentation/Splunk/latest/Data/Configureindex-timefieldextraction&lt;/A&gt;&lt;BR /&gt;
and &lt;A href="http://docs.splunk.com/Documentation/Splunk/latest/Admin/Transformsconf"&gt;http://docs.splunk.com/Documentation/Splunk/latest/Admin/Transformsconf&lt;/A&gt;&lt;/P&gt;</description>
    <pubDate>Tue, 15 Oct 2013 15:23:40 GMT</pubDate>
    <dc:creator>yannK</dc:creator>
    <dc:date>2013-10-15T15:23:40Z</dc:date>
    <item>
      <title>Help using EXTRACT to capture a custom static value by source</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Help-using-EXTRACT-to-capture-a-custom-static-value-by-source/m-p/99718#M25723</link>
      <description>&lt;P&gt;I am trying to find out how to create a custom field that will be available as an index field that I can set as a static value by source type in the prop.conf so that it will be available at search time via the UI . For example:&lt;/P&gt;

&lt;P&gt;[source::/temp/weblogic.log]&lt;BR /&gt;&lt;BR /&gt;
sourcetype=weblogic-log&lt;BR /&gt;&lt;BR /&gt;
EXTRACT-appcomp = "weblogic"&lt;BR /&gt;&lt;BR /&gt;
EXTRACT-apptier = "application"&lt;BR /&gt;&lt;BR /&gt;
EXTRACT-appname = "e-commerce"  &lt;/P&gt;

&lt;P&gt;This does not seem to be working and I was hoping you could provide some guidance.&lt;/P&gt;

&lt;P&gt;Thanks&lt;/P&gt;</description>
      <pubDate>Tue, 15 Oct 2013 15:19:34 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Help-using-EXTRACT-to-capture-a-custom-static-value-by-source/m-p/99718#M25723</guid>
      <dc:creator>jason_mannering</dc:creator>
      <dc:date>2013-10-15T15:19:34Z</dc:date>
    </item>
    <item>
      <title>Re: Help using EXTRACT to capture a custom static value by source</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Help-using-EXTRACT-to-capture-a-custom-static-value-by-source/m-p/99719#M25724</link>
      <description>&lt;P&gt;Use a TRANSFORMS in props.conf that will call the name of the transformation,&lt;BR /&gt;
and in transforms.conf, you specify the regex and the value. (it can be a regex always matching)&lt;/P&gt;

&lt;P&gt;see &lt;A href="http://docs.splunk.com/Documentation/Splunk/latest/Data/Configureindex-timefieldextraction"&gt;http://docs.splunk.com/Documentation/Splunk/latest/Data/Configureindex-timefieldextraction&lt;/A&gt;&lt;BR /&gt;
and &lt;A href="http://docs.splunk.com/Documentation/Splunk/latest/Admin/Transformsconf"&gt;http://docs.splunk.com/Documentation/Splunk/latest/Admin/Transformsconf&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 15 Oct 2013 15:23:40 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Help-using-EXTRACT-to-capture-a-custom-static-value-by-source/m-p/99719#M25724</guid>
      <dc:creator>yannK</dc:creator>
      <dc:date>2013-10-15T15:23:40Z</dc:date>
    </item>
    <item>
      <title>Re: Help using EXTRACT to capture a custom static value by source</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Help-using-EXTRACT-to-capture-a-custom-static-value-by-source/m-p/99720#M25725</link>
      <description>&lt;P&gt;Is there not a simpler way? It seems to me that if i use the TRANSFORM option then I will have to create a separate TRANSFORM stanza for each of the follow...&lt;/P&gt;

&lt;P&gt;app-name::website&lt;BR /&gt;&lt;BR /&gt;
app-comp::weblogic&lt;BR /&gt;&lt;BR /&gt;
app-domain::commerce&lt;BR /&gt;&lt;BR /&gt;
app-tier::application  &lt;/P&gt;

&lt;P&gt;I need to add these for numerous instances, apps, components, domains tiers, etc. Creating the TRANSFORM stanzas for each will take a considerable effort. I effectively want the to be applied to any log we capture with the values set by source.&lt;/P&gt;</description>
      <pubDate>Tue, 15 Oct 2013 15:56:01 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Help-using-EXTRACT-to-capture-a-custom-static-value-by-source/m-p/99720#M25725</guid>
      <dc:creator>jason_mannering</dc:creator>
      <dc:date>2013-10-15T15:56:01Z</dc:date>
    </item>
    <item>
      <title>Re: Help using EXTRACT to capture a custom static value by source</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Help-using-EXTRACT-to-capture-a-custom-static-value-by-source/m-p/99721#M25726</link>
      <description>&lt;P&gt;Use Calculated Fields:&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;[source::/temp/weblogic.log]
sourcetype=weblogic-log
EVAL-appcomp = "weblogic"
EVAL-apptier = "application"
EVAL-appname = "e-commerce"
&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Tue, 15 Oct 2013 16:33:06 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Help-using-EXTRACT-to-capture-a-custom-static-value-by-source/m-p/99721#M25726</guid>
      <dc:creator>ndoshi</dc:creator>
      <dc:date>2013-10-15T16:33:06Z</dc:date>
    </item>
    <item>
      <title>Re: Help using EXTRACT to capture a custom static value by source</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Help-using-EXTRACT-to-capture-a-custom-static-value-by-source/m-p/99722#M25727</link>
      <description>&lt;P&gt;This helped a ton thanks! great for search time extractions.&lt;/P&gt;</description>
      <pubDate>Mon, 31 Mar 2014 14:21:58 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Help-using-EXTRACT-to-capture-a-custom-static-value-by-source/m-p/99722#M25727</guid>
      <dc:creator>aelliott</dc:creator>
      <dc:date>2014-03-31T14:21:58Z</dc:date>
    </item>
  </channel>
</rss>

