<?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: Is it possible to use wildcards in sourcetype props.conf stanzas in Getting Data In</title>
    <link>https://community.splunk.com/t5/Getting-Data-In/Is-it-possible-to-use-wildcards-in-sourcetype-props-conf-stanzas/m-p/80504#M16593</link>
    <description>&lt;P&gt;Yes, you should be able to use:&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;[(?:::){0}TOM*]
&lt;/CODE&gt;&lt;/PRE&gt;</description>
    <pubDate>Fri, 29 Oct 2010 20:57:35 GMT</pubDate>
    <dc:creator>gkanapathy</dc:creator>
    <dc:date>2010-10-29T20:57:35Z</dc:date>
    <item>
      <title>Is it possible to use wildcards in sourcetype props.conf stanzas</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Is-it-possible-to-use-wildcards-in-sourcetype-props-conf-stanzas/m-p/80503#M16592</link>
      <description>&lt;P&gt;We have a large number of logs deserve a different sourcetype, but are effectively from the same application, and have the same format. I use a prefix on the sourcetype to indicate what app they came from, so they can be linked in searches using sourcetype=TOM* for example&lt;/P&gt;

&lt;P&gt;eg. TOMEnvoyPayments, TOMMarketPermissions, TOMpaymentsbpmadmin&lt;/P&gt;

&lt;P&gt;I want to extract the same field from the same part of the log entries, using the same regex. Obviously I could do this by specifying a stanza for each sourcetype specifically (three stanzas, in this example), but is it possible to use a wildcard to condense this into a single stanza, eg.&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;[TOM*]
REPORT-TOMgeneral = misc_MsgType_startofline
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;I know wildcards are possible in [source::blah] stanzas, I am interested in sourcetype stanzas specifically.&lt;/P&gt;

&lt;P&gt;Cheers,&lt;/P&gt;

&lt;P&gt;Glenn&lt;/P&gt;</description>
      <pubDate>Fri, 29 Oct 2010 20:47:15 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Is-it-possible-to-use-wildcards-in-sourcetype-props-conf-stanzas/m-p/80503#M16592</guid>
      <dc:creator>Glenn</dc:creator>
      <dc:date>2010-10-29T20:47:15Z</dc:date>
    </item>
    <item>
      <title>Re: Is it possible to use wildcards in sourcetype props.conf stanzas</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Is-it-possible-to-use-wildcards-in-sourcetype-props-conf-stanzas/m-p/80504#M16593</link>
      <description>&lt;P&gt;Yes, you should be able to use:&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;[(?:::){0}TOM*]
&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Fri, 29 Oct 2010 20:57:35 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Is-it-possible-to-use-wildcards-in-sourcetype-props-conf-stanzas/m-p/80504#M16593</guid>
      <dc:creator>gkanapathy</dc:creator>
      <dc:date>2010-10-29T20:57:35Z</dc:date>
    </item>
    <item>
      <title>Re: Is it possible to use wildcards in sourcetype props.conf stanzas</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Is-it-possible-to-use-wildcards-in-sourcetype-props-conf-stanzas/m-p/80505#M16594</link>
      <description>&lt;P&gt;Hi, I tested this, but it doesn't seem to work?&lt;/P&gt;

&lt;P&gt;I add this to props.conf:&lt;/P&gt;

&lt;P&gt;[TOMConfirms]&lt;BR /&gt;
REPORT-TOMall = misc_MsgType_startofline&lt;/P&gt;

&lt;P&gt;... and "run |extract reload=t" and I get the "MsgType" field extracted correctly, it shows in the "pick fields" list.&lt;/P&gt;

&lt;P&gt;I add this to props.conf:&lt;/P&gt;

&lt;P&gt;[::TOM*]&lt;BR /&gt;
REPORT-TOMall = misc_MsgType_startofline&lt;/P&gt;

&lt;P&gt;And run "|extract reload=t" and the MsgType field is not being extracted for ANY TOM* sourcetypes.&lt;/P&gt;</description>
      <pubDate>Mon, 28 Sep 2020 09:20:06 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Is-it-possible-to-use-wildcards-in-sourcetype-props-conf-stanzas/m-p/80505#M16594</guid>
      <dc:creator>Glenn</dc:creator>
      <dc:date>2020-09-28T09:20:06Z</dc:date>
    </item>
    <item>
      <title>Re: Is it possible to use wildcards in sourcetype props.conf stanzas</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Is-it-possible-to-use-wildcards-in-sourcetype-props-conf-stanzas/m-p/80506#M16595</link>
      <description>&lt;P&gt;My mistake. The regex stanza need to be &lt;CODE&gt;[(::){0}TOM*]&lt;/CODE&gt;. Updated original&lt;/P&gt;</description>
      <pubDate>Sat, 20 Nov 2010 13:39:59 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Is-it-possible-to-use-wildcards-in-sourcetype-props-conf-stanzas/m-p/80506#M16595</guid>
      <dc:creator>gkanapathy</dc:creator>
      <dc:date>2010-11-20T13:39:59Z</dc:date>
    </item>
    <item>
      <title>Re: Is it possible to use wildcards in sourcetype props.conf stanzas</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Is-it-possible-to-use-wildcards-in-sourcetype-props-conf-stanzas/m-p/80507#M16596</link>
      <description>&lt;P&gt;Thanks gkanapathy for the solution. Glenn please mark this post as answered...&lt;/P&gt;

&lt;P&gt;My application has sourcetypes coming in from (ie. resp101, resp201, resp202, resp203, etc..)&lt;/P&gt;

&lt;P&gt;and in my props.conf, all I needed to define for the &lt;SPEC&gt; was:&lt;BR /&gt;
[(?:::){0}resp*]&lt;/SPEC&gt;&lt;/P&gt;

&lt;P&gt;Works wonderfully. Someone from Splunk should put this somewhere in the props.conf documentation.&lt;/P&gt;

&lt;P&gt;klee&lt;/P&gt;</description>
      <pubDate>Tue, 20 Sep 2011 02:52:00 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Is-it-possible-to-use-wildcards-in-sourcetype-props-conf-stanzas/m-p/80507#M16596</guid>
      <dc:creator>klee310</dc:creator>
      <dc:date>2011-09-20T02:52:00Z</dc:date>
    </item>
    <item>
      <title>Re: Is it possible to use wildcards in sourcetype props.conf stanzas</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Is-it-possible-to-use-wildcards-in-sourcetype-props-conf-stanzas/m-p/80508#M16597</link>
      <description>&lt;P&gt;Also tried this, [(?:::){0}httperr-*] and it worked perfectly for my http error files which had 10 different source types&lt;/P&gt;</description>
      <pubDate>Thu, 12 Jan 2012 19:49:49 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Is-it-possible-to-use-wildcards-in-sourcetype-props-conf-stanzas/m-p/80508#M16597</guid>
      <dc:creator>richnavis</dc:creator>
      <dc:date>2012-01-12T19:49:49Z</dc:date>
    </item>
    <item>
      <title>Re: Is it possible to use wildcards in sourcetype props.conf stanzas</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Is-it-possible-to-use-wildcards-in-sourcetype-props-conf-stanzas/m-p/80509#M16598</link>
      <description>&lt;P&gt;I don't think we should be recommending this hack very much.  If this is a common need, then make Splunk add proper support for wildcarding sourcetypes.  This above thing relies on a very internal interaction between the regex expression and the way the matching is accomplished and it could easily change in the future.&lt;/P&gt;

&lt;P&gt;It does work currently, but I would definitely recommend against leaning on it heavily -- leaving it installed for other parties at customer sites, putting it in apps, leaving an employer as a splunk admin where critical functionality relies on this without specifically passing on that information, etc, are all things that may do others a disservice in the longer run.&lt;/P&gt;</description>
      <pubDate>Thu, 19 Jan 2012 10:44:12 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Is-it-possible-to-use-wildcards-in-sourcetype-props-conf-stanzas/m-p/80509#M16598</guid>
      <dc:creator>jrodman</dc:creator>
      <dc:date>2012-01-19T10:44:12Z</dc:date>
    </item>
    <item>
      <title>Re: Is it possible to use wildcards in sourcetype props.conf stanzas</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Is-it-possible-to-use-wildcards-in-sourcetype-props-conf-stanzas/m-p/80510#M16599</link>
      <description>&lt;P&gt;It seems that official support for wildcarding sourcetypes in this context is something that comes up pretty often. Enhancement coming soon? &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 16 Feb 2012 04:21:59 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Is-it-possible-to-use-wildcards-in-sourcetype-props-conf-stanzas/m-p/80510#M16599</guid>
      <dc:creator>cmeo</dc:creator>
      <dc:date>2012-02-16T04:21:59Z</dc:date>
    </item>
    <item>
      <title>Re: Is it possible to use wildcards in sourcetype props.conf stanzas</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Is-it-possible-to-use-wildcards-in-sourcetype-props-conf-stanzas/m-p/80511#M16600</link>
      <description>&lt;P&gt;Interesting little hack there. It seems to be working, but I'm a 'tad uncomfortable using it without fully understanding what it is doing. &lt;/P&gt;

&lt;P&gt;Could someone shed some more light as to why that stanza header works?&lt;/P&gt;</description>
      <pubDate>Tue, 11 Jun 2013 14:19:20 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Is-it-possible-to-use-wildcards-in-sourcetype-props-conf-stanzas/m-p/80511#M16600</guid>
      <dc:creator>Ricapar</dc:creator>
      <dc:date>2013-06-11T14:19:20Z</dc:date>
    </item>
    <item>
      <title>Re: Is it possible to use wildcards in sourcetype props.conf stanzas</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Is-it-possible-to-use-wildcards-in-sourcetype-props-conf-stanzas/m-p/80512#M16601</link>
      <description>&lt;P&gt;Please send your use cases into support to be passed along to product management.&lt;/P&gt;</description>
      <pubDate>Fri, 31 Oct 2014 16:52:09 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Is-it-possible-to-use-wildcards-in-sourcetype-props-conf-stanzas/m-p/80512#M16601</guid>
      <dc:creator>jrodman</dc:creator>
      <dc:date>2014-10-31T16:52:09Z</dc:date>
    </item>
    <item>
      <title>Re: Is it possible to use wildcards in sourcetype props.conf stanzas</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Is-it-possible-to-use-wildcards-in-sourcetype-props-conf-stanzas/m-p/80513#M16602</link>
      <description>&lt;P&gt;Does this work for prefix wild card as well ? We have source types like UIT1_XXX_APPLICATION, UIT2_XXX_APPLICATION etc. The above command does'nt seem to be working. &lt;/P&gt;</description>
      <pubDate>Mon, 28 Sep 2020 18:49:53 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Is-it-possible-to-use-wildcards-in-sourcetype-props-conf-stanzas/m-p/80513#M16602</guid>
      <dc:creator>Sriram</dc:creator>
      <dc:date>2020-09-28T18:49:53Z</dc:date>
    </item>
    <item>
      <title>Re: Is it possible to use wildcards in sourcetype props.conf stanzas</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Is-it-possible-to-use-wildcards-in-sourcetype-props-conf-stanzas/m-p/80514#M16603</link>
      <description>&lt;P&gt;Hey I'm curious about the use of this "hack", because it still seems to work (in 6.1.4).  Was it implemented as a feature?  Is it still just a hack that may or may not go away at some point?  Thanks.&lt;/P&gt;</description>
      <pubDate>Fri, 29 May 2015 02:19:43 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Is-it-possible-to-use-wildcards-in-sourcetype-props-conf-stanzas/m-p/80514#M16603</guid>
      <dc:creator>mparks11</dc:creator>
      <dc:date>2015-05-29T02:19:43Z</dc:date>
    </item>
    <item>
      <title>Re: Is it possible to use wildcards in sourcetype props.conf stanzas</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Is-it-possible-to-use-wildcards-in-sourcetype-props-conf-stanzas/m-p/80515#M16604</link>
      <description>&lt;P&gt;Agree with Jrodman. This "hack" is not supported. Actually this caused unexpected behavior in an example user tied. &lt;BR /&gt;
Splunk doc should mention this hack is not supported. &lt;/P&gt;</description>
      <pubDate>Fri, 12 Feb 2016 21:34:13 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Is-it-possible-to-use-wildcards-in-sourcetype-props-conf-stanzas/m-p/80515#M16604</guid>
      <dc:creator>Masa</dc:creator>
      <dc:date>2016-02-12T21:34:13Z</dc:date>
    </item>
    <item>
      <title>Re: Is it possible to use wildcards in sourcetype props.conf stanzas</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Is-it-possible-to-use-wildcards-in-sourcetype-props-conf-stanzas/m-p/80516#M16605</link>
      <description>&lt;P&gt;I think folks have been trying to do this for 5+ years. Much easier to use a simple pattern then add 100 rules. Why not add it officially?&lt;/P&gt;</description>
      <pubDate>Thu, 28 Apr 2016 15:46:01 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Is-it-possible-to-use-wildcards-in-sourcetype-props-conf-stanzas/m-p/80516#M16605</guid>
      <dc:creator>bandit</dc:creator>
      <dc:date>2016-04-28T15:46:01Z</dc:date>
    </item>
    <item>
      <title>Re: Is it possible to use wildcards in sourcetype props.conf stanzas</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Is-it-possible-to-use-wildcards-in-sourcetype-props-conf-stanzas/m-p/80517#M16606</link>
      <description>&lt;P&gt;Tested with Splunk 7.1.3., still works.&lt;/P&gt;

&lt;P&gt;Hesitant to use it though, looking for supported alternative.&lt;/P&gt;</description>
      <pubDate>Mon, 22 Oct 2018 13:28:24 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Is-it-possible-to-use-wildcards-in-sourcetype-props-conf-stanzas/m-p/80517#M16606</guid>
      <dc:creator>alanos</dc:creator>
      <dc:date>2018-10-22T13:28:24Z</dc:date>
    </item>
    <item>
      <title>Re: Is it possible to use wildcards in sourcetype props.conf stanzas</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Is-it-possible-to-use-wildcards-in-sourcetype-props-conf-stanzas/m-p/80518#M16607</link>
      <description>&lt;P&gt;It doesn't seem that a supported alternative exists. &lt;/P&gt;</description>
      <pubDate>Mon, 22 Oct 2018 13:39:57 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Is-it-possible-to-use-wildcards-in-sourcetype-props-conf-stanzas/m-p/80518#M16607</guid>
      <dc:creator>ddrillic</dc:creator>
      <dc:date>2018-10-22T13:39:57Z</dc:date>
    </item>
    <item>
      <title>Re: Is it possible to use wildcards in sourcetype props.conf stanzas</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Is-it-possible-to-use-wildcards-in-sourcetype-props-conf-stanzas/m-p/80519#M16608</link>
      <description>&lt;P&gt;Splunk, please add official support for wildcards in sourcetype stanzas in &lt;CODE&gt;props.conf&lt;/CODE&gt;: for example, &lt;CODE&gt;[TOM*]&lt;/CODE&gt;.&lt;/P&gt;</description>
      <pubDate>Tue, 26 Nov 2019 00:57:57 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Is-it-possible-to-use-wildcards-in-sourcetype-props-conf-stanzas/m-p/80519#M16608</guid>
      <dc:creator>Graham_Hanningt</dc:creator>
      <dc:date>2019-11-26T00:57:57Z</dc:date>
    </item>
    <item>
      <title>Re: Is it possible to use wildcards in sourcetype props.conf stanzas</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Is-it-possible-to-use-wildcards-in-sourcetype-props-conf-stanzas/m-p/80520#M16609</link>
      <description>&lt;P&gt;Masa, your view contrasts strongly with that of Jason Conger, who in July 2014 published the Splunk blog post "&lt;A href="https://www.splunk.com/en_us/blog/tips-and-tricks/quick-tip-wildcard-sourcetypes-in-props-conf.html"&gt;Quick Tip: Wildcard Sourcetypes in Props.conf&lt;/A&gt;".&lt;/P&gt;

&lt;P&gt;Jason writes "Here is a quick one [tip] I use often".&lt;/P&gt;

&lt;P&gt;Different Splunk staff are sending (or have sent) different signals about this technique.&lt;/P&gt;

&lt;P&gt;Splunk, could you please clarify the support for this technique?&lt;/P&gt;</description>
      <pubDate>Tue, 26 Nov 2019 01:43:02 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Is-it-possible-to-use-wildcards-in-sourcetype-props-conf-stanzas/m-p/80520#M16609</guid>
      <dc:creator>Graham_Hanningt</dc:creator>
      <dc:date>2019-11-26T01:43:02Z</dc:date>
    </item>
    <item>
      <title>Re: Is it possible to use wildcards in sourcetype props.conf stanzas</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Is-it-possible-to-use-wildcards-in-sourcetype-props-conf-stanzas/m-p/549385#M91274</link>
      <description>&lt;P&gt;This is still working in 8.1x&lt;/P&gt;&lt;P&gt;But also please vote for an official method for wildcarding sourcertypes :&lt;/P&gt;&lt;P&gt;&lt;A href="https://ideas.splunk.com/ideas/E-I-11" target="_blank"&gt;https://ideas.splunk.com/ideas/E-I-11&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 26 Apr 2021 23:45:57 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Is-it-possible-to-use-wildcards-in-sourcetype-props-conf-stanzas/m-p/549385#M91274</guid>
      <dc:creator>Esky73</dc:creator>
      <dc:date>2021-04-26T23:45:57Z</dc:date>
    </item>
  </channel>
</rss>

