<?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: filter indexing with transform in Getting Data In</title>
    <link>https://community.splunk.com/t5/Getting-Data-In/filter-indexing-with-transform/m-p/145144#M29633</link>
    <description>&lt;P&gt;Sorry, you can't do this calculation in Splunk &lt;STRONG&gt;prior&lt;/STRONG&gt; to indexing. If you want to do complexing processing of an input before indexing, you may need to consider writing your own pre-processing code. You might be able to make your code part of a Splunk scripted input, or you could architect it as a stand-alone process.&lt;/P&gt;</description>
    <pubDate>Wed, 16 Jul 2014 19:04:01 GMT</pubDate>
    <dc:creator>lguinn2</dc:creator>
    <dc:date>2014-07-16T19:04:01Z</dc:date>
    <item>
      <title>filter indexing with transform</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/filter-indexing-with-transform/m-p/145143#M29632</link>
      <description>&lt;P&gt;Hi, I want to only index result of this before the log flow enter the index. I want it to calculate this and then enter it to index of the splunk as daily result of this query below. &lt;BR /&gt;
Anyway to do this write as transform and props regexp or etc?&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;ident="www.x.com" earliest=-1d@d  |stats count(eval(match(useragent, "Googlebot/2.1"))) as "Googlebot/2.1",count(eval(match(useragent, "Googlebot-News"))) as "Googlebot-News",count(eval(match(useragent, "Googlebot-Image/1.0"))) as "Googlebot-Image/1.0" ,count(eval(match(useragent, "Googlebot-Video/1.0"))) as "Googlebot-Video/1.0",count(eval(match(useragent, "Googlebot-Mobile/2.1"))) as "Googlebot-Mobile/2.1",count(eval(match(useragent, "Google Web Preview"))) as "Google Web Preview", count(eval(match(useragent, "Feedfetcher-Google"))) as "Feedfetcher-Google"| eval "Google_TOTAL"='Googlebot/2.1'+'Googlebot-News'+'Googlebot-Image/1.0'+'Googlebot-Video/1.0'+'Googlebot-Mobile/2.1'+'Google Web Preview'+'Feedfetcher-Google'
&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Wed, 16 Jul 2014 14:01:28 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/filter-indexing-with-transform/m-p/145143#M29632</guid>
      <dc:creator>levent_kurt</dc:creator>
      <dc:date>2014-07-16T14:01:28Z</dc:date>
    </item>
    <item>
      <title>Re: filter indexing with transform</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/filter-indexing-with-transform/m-p/145144#M29633</link>
      <description>&lt;P&gt;Sorry, you can't do this calculation in Splunk &lt;STRONG&gt;prior&lt;/STRONG&gt; to indexing. If you want to do complexing processing of an input before indexing, you may need to consider writing your own pre-processing code. You might be able to make your code part of a Splunk scripted input, or you could architect it as a stand-alone process.&lt;/P&gt;</description>
      <pubDate>Wed, 16 Jul 2014 19:04:01 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/filter-indexing-with-transform/m-p/145144#M29633</guid>
      <dc:creator>lguinn2</dc:creator>
      <dc:date>2014-07-16T19:04:01Z</dc:date>
    </item>
  </channel>
</rss>

