<?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: How to extract several fields? in Splunk Search</title>
    <link>https://community.splunk.com/t5/Splunk-Search/How-to-extract-several-fields/m-p/15175#M1796</link>
    <description>&lt;P&gt;This questions loses a lot of its value to the community without the examples, since the answers provided won't make as much sense as they do with the examples. Please consider adding the examples again, perhaps you can just censor them rather than remove them completely.&lt;/P&gt;</description>
    <pubDate>Thu, 23 Dec 2010 22:58:54 GMT</pubDate>
    <dc:creator>ftk</dc:creator>
    <dc:date>2010-12-23T22:58:54Z</dc:date>
    <item>
      <title>How to extract several fields?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-to-extract-several-fields/m-p/15169#M1790</link>
      <description>&lt;P&gt;Hello&lt;/P&gt;

&lt;P&gt;we need to extract a lot of fields from the following log:&lt;/P&gt;

&lt;P&gt;Example deleted.&lt;/P&gt;

&lt;P&gt;What would be the best way to extract the fields?&lt;/P&gt;

&lt;P&gt;We tried this:&lt;/P&gt;

&lt;P&gt;props.conf&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;[TEST.log]
REPORT-TEST.log = transform-TEST.log
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;transforms.conf&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;[transform-TEST.log]
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;Deleted due to request&lt;/P&gt;

&lt;P&gt;which is working just fine on Splunk 3, but on our Splunk 4 installation it sometimes doesn´t assign the correct values, especially the lines with the value "AxxxxxY" in it.&lt;/P&gt;

&lt;P&gt;How do we have to change the transforms.conf so that it also works on Splunk 4? &lt;/P&gt;

&lt;P&gt;What other options do we have?&lt;/P&gt;</description>
      <pubDate>Wed, 09 Jun 2010 22:03:07 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-to-extract-several-fields/m-p/15169#M1790</guid>
      <dc:creator>tpaulsen</dc:creator>
      <dc:date>2010-06-09T22:03:07Z</dc:date>
    </item>
    <item>
      <title>Re: How to extract several fields?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-to-extract-several-fields/m-p/15170#M1791</link>
      <description>&lt;P&gt;I'm not sure why you have &lt;CODE&gt;$0&lt;/CODE&gt; in there. But it would be a lot easier to do:&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;[transform-test-kubis.log]
DELIMS = " "
FIELDS = request_date,request_time,duration,request_from,method,ws_method,
# etc...
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;I'm also not so sure about how field names with &lt;CODE&gt;-&lt;/CODE&gt; in them (vs &lt;CODE&gt;_&lt;/CODE&gt;) work. They &lt;EM&gt;should&lt;/EM&gt; work, but I would try changing those if there are still problems.&lt;/P&gt;</description>
      <pubDate>Wed, 09 Jun 2010 22:09:59 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-to-extract-several-fields/m-p/15170#M1791</guid>
      <dc:creator>gkanapathy</dc:creator>
      <dc:date>2010-06-09T22:09:59Z</dc:date>
    </item>
    <item>
      <title>Re: How to extract several fields?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-to-extract-several-fields/m-p/15171#M1792</link>
      <description>&lt;P&gt;Thank you, that looks promising.&lt;BR /&gt;
There is still a little problem. Some entries (the ones with APP-KUSY) are one field shorter. How will Splunk handle those? As said, in 3 it wasn´t a problem, in Splunk 4 fields are wildly filled.&lt;/P&gt;</description>
      <pubDate>Wed, 09 Jun 2010 22:57:14 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-to-extract-several-fields/m-p/15171#M1792</guid>
      <dc:creator>tpaulsen</dc:creator>
      <dc:date>2010-06-09T22:57:14Z</dc:date>
    </item>
    <item>
      <title>Re: How to extract several fields?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-to-extract-several-fields/m-p/15172#M1793</link>
      <description>&lt;P&gt;Sorry, not working.&lt;/P&gt;</description>
      <pubDate>Wed, 09 Jun 2010 23:08:02 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-to-extract-several-fields/m-p/15172#M1793</guid>
      <dc:creator>tpaulsen</dc:creator>
      <dc:date>2010-06-09T23:08:02Z</dc:date>
    </item>
    <item>
      <title>Re: How to extract several fields?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-to-extract-several-fields/m-p/15173#M1794</link>
      <description>&lt;P&gt;are all the spaces spaces, or are some of them tabs, in which case, use DELIMS = " \t".&lt;/P&gt;</description>
      <pubDate>Thu, 10 Jun 2010 07:42:14 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-to-extract-several-fields/m-p/15173#M1794</guid>
      <dc:creator>gkanapathy</dc:creator>
      <dc:date>2010-06-10T07:42:14Z</dc:date>
    </item>
    <item>
      <title>Re: How to extract several fields?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-to-extract-several-fields/m-p/15174#M1795</link>
      <description>&lt;P&gt;Yes thank you! Works like a charm...as long as the log events have the exact same count of fields.&lt;/P&gt;</description>
      <pubDate>Thu, 10 Jun 2010 20:16:18 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-to-extract-several-fields/m-p/15174#M1795</guid>
      <dc:creator>tpaulsen</dc:creator>
      <dc:date>2010-06-10T20:16:18Z</dc:date>
    </item>
    <item>
      <title>Re: How to extract several fields?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-to-extract-several-fields/m-p/15175#M1796</link>
      <description>&lt;P&gt;This questions loses a lot of its value to the community without the examples, since the answers provided won't make as much sense as they do with the examples. Please consider adding the examples again, perhaps you can just censor them rather than remove them completely.&lt;/P&gt;</description>
      <pubDate>Thu, 23 Dec 2010 22:58:54 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-to-extract-several-fields/m-p/15175#M1796</guid>
      <dc:creator>ftk</dc:creator>
      <dc:date>2010-12-23T22:58:54Z</dc:date>
    </item>
    <item>
      <title>Re: How to extract several fields?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-to-extract-several-fields/m-p/15176#M1797</link>
      <description>&lt;P&gt;sorry, i had to remove the data due to security requests. Maybe simply delete the whole entry then, please?&lt;/P&gt;</description>
      <pubDate>Fri, 21 Jan 2011 00:37:12 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-to-extract-several-fields/m-p/15176#M1797</guid>
      <dc:creator>tpaulsen</dc:creator>
      <dc:date>2011-01-21T00:37:12Z</dc:date>
    </item>
  </channel>
</rss>

