<?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: File based Transform/Props not working in Getting Data In</title>
    <link>https://community.splunk.com/t5/Getting-Data-In/File-based-Transform-Props-not-working/m-p/103688#M21812</link>
    <description>&lt;P&gt;The configuration files for "props" and "transforms" should have ".conf" as the end of the filename, not ".csv".  If that was merely a typo in your question here, I'd start looking at the results of searches before the timechart call, to ensure that the lookup is happening before that.&lt;/P&gt;</description>
    <pubDate>Wed, 28 Mar 2012 22:54:10 GMT</pubDate>
    <dc:creator>sowings</dc:creator>
    <dc:date>2012-03-28T22:54:10Z</dc:date>
    <item>
      <title>File based Transform/Props not working</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/File-based-Transform-Props-not-working/m-p/103687#M21811</link>
      <description>&lt;P&gt;My log snippet is as shown below:&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;productid=12 email=abc@gg.com
productid=13 email=pqr@aa.com
productid=14 email=xyz@cc.com
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;I want to show "Product1" for 12 &amp;amp; "Product2" for 13 &amp;amp; "Product3" for 14 in the legends in my timechart. &lt;/P&gt;

&lt;P&gt;/&lt;APP&gt;/lookups/product_lookup.csv contains following entries:&lt;/APP&gt;&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;productid,product_desc
12,Product1
13,Product2
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;/&lt;APP&gt;/local/transforms.conf contains below entries:&lt;/APP&gt;&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;[product_lookup]
filename = product_lookup.csv
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;/&lt;APP&gt;/local/props.conf contains below entries:&lt;/APP&gt;&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;[product_lookup]
LOOKUP-product_desc = product_lookup productid OUTPUT product_desc
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;After restarting server, when I'm running below query, it does not show product_desc.&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;index=myindex sourcetype=mylog | timechart count by product_desc
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;Can any one tell me why its not showing any output? How to use transforms/props, etc??&lt;/P&gt;

&lt;P&gt;Any help is much appreciated!&lt;/P&gt;

&lt;P&gt;Thanks!&lt;/P&gt;</description>
      <pubDate>Wed, 28 Mar 2012 21:57:49 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/File-based-Transform-Props-not-working/m-p/103687#M21811</guid>
      <dc:creator>freephoneid</dc:creator>
      <dc:date>2012-03-28T21:57:49Z</dc:date>
    </item>
    <item>
      <title>Re: File based Transform/Props not working</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/File-based-Transform-Props-not-working/m-p/103688#M21812</link>
      <description>&lt;P&gt;The configuration files for "props" and "transforms" should have ".conf" as the end of the filename, not ".csv".  If that was merely a typo in your question here, I'd start looking at the results of searches before the timechart call, to ensure that the lookup is happening before that.&lt;/P&gt;</description>
      <pubDate>Wed, 28 Mar 2012 22:54:10 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/File-based-Transform-Props-not-working/m-p/103688#M21812</guid>
      <dc:creator>sowings</dc:creator>
      <dc:date>2012-03-28T22:54:10Z</dc:date>
    </item>
    <item>
      <title>Re: File based Transform/Props not working</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/File-based-Transform-Props-not-working/m-p/103689#M21813</link>
      <description>&lt;P&gt;If you can, use the Manager UI in Splunk to set up your lookups. Then you can see what Splunk writes to the configuration files...&lt;/P&gt;</description>
      <pubDate>Wed, 28 Mar 2012 22:59:03 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/File-based-Transform-Props-not-working/m-p/103689#M21813</guid>
      <dc:creator>lguinn2</dc:creator>
      <dc:date>2012-03-28T22:59:03Z</dc:date>
    </item>
    <item>
      <title>Re: File based Transform/Props not working</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/File-based-Transform-Props-not-working/m-p/103690#M21814</link>
      <description>&lt;P&gt;Its a typo...I've corrected it. Can you please help?&lt;/P&gt;</description>
      <pubDate>Wed, 28 Mar 2012 23:36:54 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/File-based-Transform-Props-not-working/m-p/103690#M21814</guid>
      <dc:creator>freephoneid</dc:creator>
      <dc:date>2012-03-28T23:36:54Z</dc:date>
    </item>
    <item>
      <title>Re: File based Transform/Props not working</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/File-based-Transform-Props-not-working/m-p/103691#M21815</link>
      <description>&lt;P&gt;I've used UI to generate these files. I don't want to write anything in csv file...Basically, I'm keeping my mapping in it &amp;amp; I want to read it from my query. Can you please tell me why its now showing up in my search result?&lt;/P&gt;</description>
      <pubDate>Wed, 28 Mar 2012 23:39:26 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/File-based-Transform-Props-not-working/m-p/103691#M21815</guid>
      <dc:creator>freephoneid</dc:creator>
      <dc:date>2012-03-28T23:39:26Z</dc:date>
    </item>
    <item>
      <title>Re: File based Transform/Props not working</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/File-based-Transform-Props-not-working/m-p/103692#M21816</link>
      <description>&lt;P&gt;What is the &lt;STRONG&gt;sourcetype&lt;/STRONG&gt; for your log? In &lt;STRONG&gt;props.conf&lt;/STRONG&gt;, you have&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;[product_lookup]
LOOKUP-product_desc = product_lookup productid OUTPUT product_desc
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;But the stanza name should be your sourcetype as below:&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;[yourSourcetypeName]
LOOKUP-product_desc = product_lookup productid OUTPUT product_desc
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;Also, is there a field named &lt;CODE&gt;productid&lt;/CODE&gt; in your log file?&lt;/P&gt;</description>
      <pubDate>Thu, 29 Mar 2012 00:39:21 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/File-based-Transform-Props-not-working/m-p/103692#M21816</guid>
      <dc:creator>lguinn2</dc:creator>
      <dc:date>2012-03-29T00:39:21Z</dc:date>
    </item>
  </channel>
</rss>

