<?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: Is there a &amp;quot;zip_longest&amp;quot; like function in Splunk? in Splunk Search</title>
    <link>https://community.splunk.com/t5/Splunk-Search/Is-there-a-quot-zip-longest-quot-like-function-in-Splunk/m-p/470184#M140485</link>
    <description>&lt;P&gt;awesome thanks! That's just what I needed.&lt;/P&gt;</description>
    <pubDate>Wed, 08 Apr 2020 20:37:02 GMT</pubDate>
    <dc:creator>iiooiiooiioo</dc:creator>
    <dc:date>2020-04-08T20:37:02Z</dc:date>
    <item>
      <title>Is there a "zip_longest" like function in Splunk?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Is-there-a-quot-zip-longest-quot-like-function-in-Splunk/m-p/470182#M140483</link>
      <description>&lt;P&gt;I have this search/report:&lt;/P&gt;
&lt;PRE&gt;&lt;CODE&gt;host=app-dev-001 terminating OR rehire | convert timeformat="%Y-%m-%d" ctime(_time) AS date | table date rehire term_user
&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;This gives me this result:&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="alt text"&gt;&lt;img src="https://community.splunk.com/t5/image/serverpage/image-id/8651i401BC45128F28EE5/image-size/large?v=v2&amp;amp;px=999" role="button" title="alt text" alt="alt text" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;I would like to get term_user values to start showing up on row 1.&lt;/P&gt;
&lt;P&gt;Is there something like python's zip_longest function?&lt;/P&gt;
&lt;PRE&gt;&lt;CODE&gt;import itertools
for u1, u2 in itertools.zip_longest(l1, l2):
...    print(u1, u2)
...    
omikusarl ahubshs
chasinnb egathnls
yeanvked mfdhaaar
kkldjuga iuvdcahe
aarehdv swusrbib
vikdho3n rcathrki
None jduakdf
None loidjht
&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Mon, 08 Jun 2020 21:07:35 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Is-there-a-quot-zip-longest-quot-like-function-in-Splunk/m-p/470182#M140483</guid>
      <dc:creator>iiooiiooiioo</dc:creator>
      <dc:date>2020-06-08T21:07:35Z</dc:date>
    </item>
    <item>
      <title>Re: Is there a "zip_longest" like function in Splunk?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Is-there-a-quot-zip-longest-quot-like-function-in-Splunk/m-p/470183#M140484</link>
      <description>&lt;PRE&gt;&lt;CODE&gt;host=app-dev-001 rehire 
| convert timeformat="%Y-%m-%d" ctime(_time) AS date 
| table date rehire 
| appendcols [search host=app-dev-001 terminating
| table term_user]
| fillnull rehire term_user value="None"
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;I don't know &lt;CODE&gt;zip_longest&lt;/CODE&gt;.  how about this?&lt;BR /&gt;
If there is the &lt;EM&gt;key&lt;/EM&gt; field, you can use &lt;CODE&gt;stats&lt;/CODE&gt;.&lt;/P&gt;</description>
      <pubDate>Wed, 08 Apr 2020 20:07:38 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Is-there-a-quot-zip-longest-quot-like-function-in-Splunk/m-p/470183#M140484</guid>
      <dc:creator>to4kawa</dc:creator>
      <dc:date>2020-04-08T20:07:38Z</dc:date>
    </item>
    <item>
      <title>Re: Is there a "zip_longest" like function in Splunk?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Is-there-a-quot-zip-longest-quot-like-function-in-Splunk/m-p/470184#M140485</link>
      <description>&lt;P&gt;awesome thanks! That's just what I needed.&lt;/P&gt;</description>
      <pubDate>Wed, 08 Apr 2020 20:37:02 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Is-there-a-quot-zip-longest-quot-like-function-in-Splunk/m-p/470184#M140485</guid>
      <dc:creator>iiooiiooiioo</dc:creator>
      <dc:date>2020-04-08T20:37:02Z</dc:date>
    </item>
  </channel>
</rss>

