<?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: Fill field with first value in Splunk Search</title>
    <link>https://community.splunk.com/t5/Splunk-Search/Fill-field-with-first-value/m-p/695335#M236448</link>
    <description>&lt;P&gt;That's job for eventstats.&lt;/P&gt;&lt;PRE&gt;&amp;lt;your search&amp;gt;&lt;BR /&gt;| eventstats first(memberID) as memberID by sessionID&lt;/PRE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Mon, 05 Aug 2024 21:17:58 GMT</pubDate>
    <dc:creator>PickleRick</dc:creator>
    <dc:date>2024-08-05T21:17:58Z</dc:date>
    <item>
      <title>Fill field with first value</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Fill-field-with-first-value/m-p/695328#M236446</link>
      <description>&lt;P&gt;I have a data set for web traffic.&amp;nbsp; A sessionID ties all traffic for an individual browsing session together - all events from the time you open a new tab until you close it.&amp;nbsp; There is also a memberID field.&amp;nbsp; Some records do NOT have a value populated for memberID, so I want to return each record for the sessionID with the FIRST non-null value found in the sessionID.&amp;nbsp; For instance&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;&lt;TABLE border="1" width="100%"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD width="25%" height="24px"&gt;time&lt;/TD&gt;&lt;TD width="25%" height="24px"&gt;sessionID&lt;/TD&gt;&lt;TD width="25%" height="24px"&gt;memberID&lt;/TD&gt;&lt;TD width="25%" height="24px"&gt;evalField&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD width="25%" height="24px"&gt;12:01&lt;/TD&gt;&lt;TD width="25%" height="24px"&gt;1&lt;/TD&gt;&lt;TD width="25%" height="24px"&gt;&amp;lt;NULL&amp;gt;&lt;/TD&gt;&lt;TD width="25%" height="24px"&gt;abc&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD width="25%" height="24px"&gt;12:02&lt;/TD&gt;&lt;TD width="25%" height="24px"&gt;1&lt;/TD&gt;&lt;TD width="25%" height="24px"&gt;&amp;lt;NULL&amp;gt;&lt;/TD&gt;&lt;TD width="25%" height="24px"&gt;abc&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD width="25%" height="24px"&gt;12:03&lt;/TD&gt;&lt;TD width="25%" height="24px"&gt;1&lt;/TD&gt;&lt;TD width="25%" height="24px"&gt;abc&lt;/TD&gt;&lt;TD width="25%" height="24px"&gt;abc&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD width="25%" height="24px"&gt;12:04&lt;/TD&gt;&lt;TD width="25%" height="24px"&gt;1&lt;/TD&gt;&lt;TD width="25%" height="24px"&gt;&amp;lt;NULL&amp;gt;&lt;/TD&gt;&lt;TD width="25%" height="24px"&gt;abc&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;P&gt;&lt;BR /&gt;Can someone help me out with how to get this evalField column?&amp;nbsp; Thanks so much!&lt;/P&gt;</description>
      <pubDate>Mon, 05 Aug 2024 19:32:59 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Fill-field-with-first-value/m-p/695328#M236446</guid>
      <dc:creator>cxs6345</dc:creator>
      <dc:date>2024-08-05T19:32:59Z</dc:date>
    </item>
    <item>
      <title>Re: Fill field with first value</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Fill-field-with-first-value/m-p/695335#M236448</link>
      <description>&lt;P&gt;That's job for eventstats.&lt;/P&gt;&lt;PRE&gt;&amp;lt;your search&amp;gt;&lt;BR /&gt;| eventstats first(memberID) as memberID by sessionID&lt;/PRE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 05 Aug 2024 21:17:58 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Fill-field-with-first-value/m-p/695335#M236448</guid>
      <dc:creator>PickleRick</dc:creator>
      <dc:date>2024-08-05T21:17:58Z</dc:date>
    </item>
  </channel>
</rss>

