<?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 pass variables in props.conf with my current configuration? in Splunk Search</title>
    <link>https://community.splunk.com/t5/Splunk-Search/Is-it-possible-to-pass-variables-in-props-conf-with-my-current/m-p/130424#M35537</link>
    <description>&lt;P&gt;As an update, I've tried several methods to perform this and it does not look like it is possible.  I've attempted calling it as a * and as a $1 and it is not feeding the events through the parser correctly.  My next step will be to put splunk into a debug logging mode so that I can see where exactly it hits, but I need to stand up a test search head so I don't have actual users &amp;amp; logs from the other search apps.&lt;/P&gt;</description>
    <pubDate>Tue, 10 Feb 2015 20:58:05 GMT</pubDate>
    <dc:creator>ltrand</dc:creator>
    <dc:date>2015-02-10T20:58:05Z</dc:date>
    <item>
      <title>Is it possible to pass variables in props.conf with my current configuration?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Is-it-possible-to-pass-variables-in-props-conf-with-my-current/m-p/130423#M35536</link>
      <description>&lt;P&gt;I was wondering if it was possible to write a props.conf something similar to the following:&lt;/P&gt;

&lt;P&gt;props:&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;[sourcetype = masterlog_*]
REPORT-extract-various-fields = masterlog_extractions_$1
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;and then have transforms like this:&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;[masterlog_extractions_SomeLog1]
Delims = "\t"
Fields = _time,id,src,dest,count,msg

[masterlog_extractions_SomeLog2]
Delims = "\t"
Fields = _time,sub_id,choice,variable,code,quantity
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;So the idea is that I don't have to write a props &amp;amp; transform for each sourcetype, that I could have one props point to the correct transform &amp;amp; have it just work?  Ultimately this will go on the search head to define the fields and I would like to avoid index time extraction.&lt;/P&gt;</description>
      <pubDate>Wed, 04 Feb 2015 20:03:42 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Is-it-possible-to-pass-variables-in-props-conf-with-my-current/m-p/130423#M35536</guid>
      <dc:creator>ltrand</dc:creator>
      <dc:date>2015-02-04T20:03:42Z</dc:date>
    </item>
    <item>
      <title>Re: Is it possible to pass variables in props.conf with my current configuration?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Is-it-possible-to-pass-variables-in-props-conf-with-my-current/m-p/130424#M35537</link>
      <description>&lt;P&gt;As an update, I've tried several methods to perform this and it does not look like it is possible.  I've attempted calling it as a * and as a $1 and it is not feeding the events through the parser correctly.  My next step will be to put splunk into a debug logging mode so that I can see where exactly it hits, but I need to stand up a test search head so I don't have actual users &amp;amp; logs from the other search apps.&lt;/P&gt;</description>
      <pubDate>Tue, 10 Feb 2015 20:58:05 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Is-it-possible-to-pass-variables-in-props-conf-with-my-current/m-p/130424#M35537</guid>
      <dc:creator>ltrand</dc:creator>
      <dc:date>2015-02-10T20:58:05Z</dc:date>
    </item>
    <item>
      <title>Re: Is it possible to pass variables in props.conf with my current configuration?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Is-it-possible-to-pass-variables-in-props-conf-with-my-current/m-p/130425#M35538</link>
      <description>&lt;P&gt;So in your props do this&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;[(?::){0}masterlog_*]
REPORT-extract-various-fields = masterlog_extractions_SomeLog1, masterlog_extractions_SomeLog2
&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Tue, 10 Feb 2015 21:27:52 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Is-it-possible-to-pass-variables-in-props-conf-with-my-current/m-p/130425#M35538</guid>
      <dc:creator>Runals</dc:creator>
      <dc:date>2015-02-10T21:27:52Z</dc:date>
    </item>
  </channel>
</rss>

