<?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: Merge event field into single table column in Splunk Search</title>
    <link>https://community.splunk.com/t5/Splunk-Search/Merge-event-field-into-single-table-column/m-p/114365#M30235</link>
    <description>&lt;P&gt;That is perfect.  Thank you!&lt;/P&gt;</description>
    <pubDate>Sun, 22 Jun 2014 00:47:57 GMT</pubDate>
    <dc:creator>skottieb</dc:creator>
    <dc:date>2014-06-22T00:47:57Z</dc:date>
    <item>
      <title>Merge event field into single table column</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Merge-event-field-into-single-table-column/m-p/114361#M30231</link>
      <description>&lt;P&gt;Hi,&lt;BR /&gt;
I'm trying to take filds from different events and put them in one table column.  I've true this using the rename command, however, only the first rename files as SocialMediaPost it matched.&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;index="mail" (text!='' OR status!='' OR comment_text!='' OR message!='') | rename text as SocialPostData status as SocialPostData comment_text as SocialPostData message as SocialPostData | table URL User SocialPostData
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;Any help, much appreciated!&lt;/P&gt;

&lt;P&gt;Scott-&lt;/P&gt;</description>
      <pubDate>Sat, 21 Jun 2014 02:44:30 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Merge-event-field-into-single-table-column/m-p/114361#M30231</guid>
      <dc:creator>skottieb</dc:creator>
      <dc:date>2014-06-21T02:44:30Z</dc:date>
    </item>
    <item>
      <title>Re: Merge event field into single table column</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Merge-event-field-into-single-table-column/m-p/114362#M30232</link>
      <description>&lt;P&gt;What output are you getting now, and what does your desired output look like?&lt;/P&gt;</description>
      <pubDate>Sat, 21 Jun 2014 09:19:09 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Merge-event-field-into-single-table-column/m-p/114362#M30232</guid>
      <dc:creator>martin_mueller</dc:creator>
      <dc:date>2014-06-21T09:19:09Z</dc:date>
    </item>
    <item>
      <title>Re: Merge event field into single table column</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Merge-event-field-into-single-table-column/m-p/114363#M30233</link>
      <description>&lt;P&gt;Now - 4 column of data.&lt;/P&gt;

&lt;HR /&gt;

&lt;H2&gt;text    status  comment_text    message&lt;/H2&gt;

&lt;P&gt;It's+all+good.&lt;BR /&gt;&lt;BR /&gt;
This.%20Is.%20Awesome%21%21&lt;BR /&gt;&lt;BR /&gt;
        please%20do%20tell%2C%20soon!&lt;BR /&gt;&lt;BR /&gt;
        more%20random&lt;BR /&gt;&lt;BR /&gt;
    tweeted&lt;BR /&gt;&lt;BR /&gt;
    tweeteed&lt;BR /&gt;&lt;BR /&gt;
            Test%20mobile%0A&lt;BR /&gt;&lt;BR /&gt;
        this%20is%20comment%20data&lt;BR /&gt;&lt;BR /&gt;
    tweeter&lt;BR /&gt;&lt;BR /&gt;
    missing         &lt;/P&gt;

&lt;H2&gt;Want this consolidated to 1.&lt;/H2&gt;

&lt;H2&gt;data&lt;/H2&gt;

&lt;P&gt;It's+all+good.&lt;BR /&gt;
This.%20Is.%20Awesome%21%21&lt;BR /&gt;
please%20do%20tell%2C%20soon!&lt;BR /&gt;
more%20random&lt;BR /&gt;
tweeted&lt;BR /&gt;
tweeteed&lt;BR /&gt;
Test%20mobile%0A&lt;BR /&gt;
this%20is%20comment%20data&lt;BR /&gt;
tweeter&lt;/P&gt;</description>
      <pubDate>Sat, 21 Jun 2014 13:29:22 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Merge-event-field-into-single-table-column/m-p/114363#M30233</guid>
      <dc:creator>skottieb</dc:creator>
      <dc:date>2014-06-21T13:29:22Z</dc:date>
    </item>
    <item>
      <title>Re: Merge event field into single table column</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Merge-event-field-into-single-table-column/m-p/114364#M30234</link>
      <description>&lt;P&gt;Hmm... you might be looking for this:&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;... | eval data = coalesce(text, status, comment_text, message) | fields - text status comment_text message
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;That will take the first value that isn't &lt;CODE&gt;null&lt;/CODE&gt; and write it into the &lt;CODE&gt;data&lt;/CODE&gt; field.&lt;/P&gt;</description>
      <pubDate>Sat, 21 Jun 2014 14:18:07 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Merge-event-field-into-single-table-column/m-p/114364#M30234</guid>
      <dc:creator>martin_mueller</dc:creator>
      <dc:date>2014-06-21T14:18:07Z</dc:date>
    </item>
    <item>
      <title>Re: Merge event field into single table column</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Merge-event-field-into-single-table-column/m-p/114365#M30235</link>
      <description>&lt;P&gt;That is perfect.  Thank you!&lt;/P&gt;</description>
      <pubDate>Sun, 22 Jun 2014 00:47:57 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Merge-event-field-into-single-table-column/m-p/114365#M30235</guid>
      <dc:creator>skottieb</dc:creator>
      <dc:date>2014-06-22T00:47:57Z</dc:date>
    </item>
  </channel>
</rss>

