<?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 move values on alternating rows onto the same row in my search results? in Splunk Search</title>
    <link>https://community.splunk.com/t5/Splunk-Search/How-to-move-values-on-alternating-rows-onto-the-same-row-in-my/m-p/138639#M38057</link>
    <description>&lt;P&gt;I presume by "regex to pull two sets of values"  you mean a &lt;CODE&gt;eval foo = if(match(field,regex),thenThis,elseThat))&lt;/CODE&gt;&lt;BR /&gt;&lt;BR /&gt;
You need to provide a couple of example events and your search for us to help.&lt;/P&gt;</description>
    <pubDate>Wed, 08 Apr 2015 18:18:01 GMT</pubDate>
    <dc:creator>rsennett_splunk</dc:creator>
    <dc:date>2015-04-08T18:18:01Z</dc:date>
    <item>
      <title>How to move values on alternating rows onto the same row in my search results?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-to-move-values-on-alternating-rows-onto-the-same-row-in-my/m-p/138638#M38056</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;

&lt;P&gt;I'm using postgres regex to pull two sets of values into my search. I've got all the data I want, but it seems to be on alternating lines. &lt;/P&gt;

&lt;P&gt;In rows where column A is populated, column B is blank, and vice versa.&lt;/P&gt;

&lt;P&gt;Is there any way to offset or align these values in splunk?&lt;/P&gt;

&lt;P&gt;I would love to just move all the values of one column down by a row while leaving the other column as is.&lt;/P&gt;

&lt;P&gt;Is this possible?&lt;/P&gt;</description>
      <pubDate>Wed, 08 Apr 2015 17:48:12 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-to-move-values-on-alternating-rows-onto-the-same-row-in-my/m-p/138638#M38056</guid>
      <dc:creator>mrfredman</dc:creator>
      <dc:date>2015-04-08T17:48:12Z</dc:date>
    </item>
    <item>
      <title>Re: How to move values on alternating rows onto the same row in my search results?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-to-move-values-on-alternating-rows-onto-the-same-row-in-my/m-p/138639#M38057</link>
      <description>&lt;P&gt;I presume by "regex to pull two sets of values"  you mean a &lt;CODE&gt;eval foo = if(match(field,regex),thenThis,elseThat))&lt;/CODE&gt;&lt;BR /&gt;&lt;BR /&gt;
You need to provide a couple of example events and your search for us to help.&lt;/P&gt;</description>
      <pubDate>Wed, 08 Apr 2015 18:18:01 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-to-move-values-on-alternating-rows-onto-the-same-row-in-my/m-p/138639#M38057</guid>
      <dc:creator>rsennett_splunk</dc:creator>
      <dc:date>2015-04-08T18:18:01Z</dc:date>
    </item>
    <item>
      <title>Re: How to move values on alternating rows onto the same row in my search results?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-to-move-values-on-alternating-rows-onto-the-same-row-in-my/m-p/138640#M38058</link>
      <description>&lt;P&gt;I actually just came across a solution that worked for me. I think it's a bit hacky but it's getting me the results I need.&lt;/P&gt;

&lt;P&gt;Solution:&lt;BR /&gt;
streamstats first(&lt;EM&gt;fieldB&lt;/EM&gt;) window=2&lt;/P&gt;

&lt;P&gt;I have to do a bunch of other manipulation now, but that got me to the point where I was able to use more familiar splunk tools to get me what I need.&lt;/P&gt;</description>
      <pubDate>Wed, 08 Apr 2015 18:41:47 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-to-move-values-on-alternating-rows-onto-the-same-row-in-my/m-p/138640#M38058</guid>
      <dc:creator>mrfredman</dc:creator>
      <dc:date>2015-04-08T18:41:47Z</dc:date>
    </item>
  </channel>
</rss>

