<?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: Field Extractions During Search Time in Splunk Search</title>
    <link>https://community.splunk.com/t5/Splunk-Search/Field-Extractions-During-Search-Time/m-p/473228#M133183</link>
    <description>&lt;P&gt;Here is one way, with some flexibility built in for the error codes:&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;|makeresults
 | eval _raw="Jan 8 12:52:29 abc notice def[xxxx]: xxxxxxxx:x: Pool /Common/xyz.abc.com443 member /Common/hostinfo_portal:443 session status forced disabled.
Jan 8 10:44:23 abc notice def[xxxx]: xxxxxxxx:x: Pool /Common/xyz.abc.com443 member /Common/hostinfo_portal:443 monitor status up. [ /Common/https_xxxx: up ] [ was down for xxhrs:Xxmins:XXsec ]
Jan 8 10:44:22 abc notice def[xxxx]: xxxxxxxx:x: Pool /Common/xyz.abc.com443 member /Common/hostinfo_portal:443 session status enabled.
Jan 8 10:30:42 abc notice def[xxxx]: xxxxxxxx:x: Pool /Common/xyz.abc.com443 member /Common/hostinfo_portal:443 monitor status forced down. [ /Common/https_xxxx: up ] [ was forced down for Xxhrs:Xxmins:Xsec ]
Jan 8 10:24:21 abc notice def[xxxx]: xxxxxxxx:x: Pool /Common/xyz.abc.com443 member /Common/hostinfo_portal:443 session status forced disabled."
 | multikv forceheader=1 | fields _raw
 | rex "Pool\s\/\w+\/(?&amp;lt;hostname&amp;gt;[\w.]+)\d{3}\smember\s\/\w+\/(?&amp;lt;client&amp;gt;[^_]+).*? (?&amp;lt;remarks&amp;gt;.*?)\."
 | table hostname client remarks
&lt;/CODE&gt;&lt;/PRE&gt;</description>
    <pubDate>Thu, 16 Apr 2020 12:21:13 GMT</pubDate>
    <dc:creator>jpolvino</dc:creator>
    <dc:date>2020-04-16T12:21:13Z</dc:date>
    <item>
      <title>Field Extractions During Search Time</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Field-Extractions-During-Search-Time/m-p/473227#M133182</link>
      <description>&lt;P&gt;Hi Team,&lt;/P&gt;

&lt;P&gt;I want to do a field extraction during the search time itself so i want the following fields to be extracted from the below logs.&lt;/P&gt;

&lt;P&gt;Jan  8 12:52:29 abc notice def[xxxx]: xxxxxxxx:x: Pool /Common/xyz.abc.com443 member /Common/hostinfo_portal:443 session status forced disabled.&lt;BR /&gt;
Jan  8 10:44:23 abc notice def[xxxx]: xxxxxxxx:x: Pool /Common/xyz.abc.com443 member /Common/hostinfo_portal:443 monitor status up. [ /Common/https_xxxx: up ]  [ was down for xxhrs:Xxmins:XXsec ]&lt;BR /&gt;
Jan  8 10:44:22 abc notice def[xxxx]: xxxxxxxx:x: Pool /Common/xyz.abc.com443 member /Common/hostinfo_portal:443 session status enabled.&lt;BR /&gt;
Jan  8 10:30:42 abc notice def[xxxx]: xxxxxxxx:x: Pool /Common/xyz.abc.com443 member /Common/hostinfo_portal:443 monitor status forced down. [ /Common/https_xxxx: up ]  [ was forced down for Xxhrs:Xxmins:Xsec ]&lt;BR /&gt;
Jan  8 10:24:21 abc notice def[xxxx]: xxxxxxxx:x: Pool /Common/xyz.abc.com443 member /Common/hostinfo_portal:443 session status forced disabled.&lt;/P&gt;

&lt;P&gt;xyz.abc.com as "hostname"&lt;BR /&gt;
hostinfo as "client"&lt;/P&gt;

&lt;P&gt;The below information as "remarks"&lt;BR /&gt;
session status forced disabled &lt;BR /&gt;
monitor status up&lt;BR /&gt;
session status enabled&lt;BR /&gt;
monitor status forced down&lt;BR /&gt;
session status forced disabled&lt;/P&gt;

&lt;P&gt;So how to do a field extraction in the search time itself if yes can you kidnly help with the query?&lt;/P&gt;</description>
      <pubDate>Wed, 30 Sep 2020 04:57:50 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Field-Extractions-During-Search-Time/m-p/473227#M133182</guid>
      <dc:creator>anandhalagaras1</dc:creator>
      <dc:date>2020-09-30T04:57:50Z</dc:date>
    </item>
    <item>
      <title>Re: Field Extractions During Search Time</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Field-Extractions-During-Search-Time/m-p/473228#M133183</link>
      <description>&lt;P&gt;Here is one way, with some flexibility built in for the error codes:&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;|makeresults
 | eval _raw="Jan 8 12:52:29 abc notice def[xxxx]: xxxxxxxx:x: Pool /Common/xyz.abc.com443 member /Common/hostinfo_portal:443 session status forced disabled.
Jan 8 10:44:23 abc notice def[xxxx]: xxxxxxxx:x: Pool /Common/xyz.abc.com443 member /Common/hostinfo_portal:443 monitor status up. [ /Common/https_xxxx: up ] [ was down for xxhrs:Xxmins:XXsec ]
Jan 8 10:44:22 abc notice def[xxxx]: xxxxxxxx:x: Pool /Common/xyz.abc.com443 member /Common/hostinfo_portal:443 session status enabled.
Jan 8 10:30:42 abc notice def[xxxx]: xxxxxxxx:x: Pool /Common/xyz.abc.com443 member /Common/hostinfo_portal:443 monitor status forced down. [ /Common/https_xxxx: up ] [ was forced down for Xxhrs:Xxmins:Xsec ]
Jan 8 10:24:21 abc notice def[xxxx]: xxxxxxxx:x: Pool /Common/xyz.abc.com443 member /Common/hostinfo_portal:443 session status forced disabled."
 | multikv forceheader=1 | fields _raw
 | rex "Pool\s\/\w+\/(?&amp;lt;hostname&amp;gt;[\w.]+)\d{3}\smember\s\/\w+\/(?&amp;lt;client&amp;gt;[^_]+).*? (?&amp;lt;remarks&amp;gt;.*?)\."
 | table hostname client remarks
&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Thu, 16 Apr 2020 12:21:13 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Field-Extractions-During-Search-Time/m-p/473228#M133183</guid>
      <dc:creator>jpolvino</dc:creator>
      <dc:date>2020-04-16T12:21:13Z</dc:date>
    </item>
  </channel>
</rss>

