<?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 How to make headers as field-values? in Splunk Search</title>
    <link>https://community.splunk.com/t5/Splunk-Search/How-to-make-headers-as-field-values/m-p/333327#M99117</link>
    <description>&lt;P&gt;I have a table that looks like this&lt;BR /&gt;
Site                                    1        2          3                 4    5             6&lt;BR /&gt;&lt;BR /&gt;
In Scope Onsite      3.5    2.44  2.4809851  1.164      2.3125              Local&lt;BR /&gt;
In Scope Offshore   2   3    0.505        1.136                         International&lt;/P&gt;

&lt;P&gt;and I want to transform it to like this, &lt;/P&gt;

&lt;P&gt;Site                                   Phase                                                              effort          month&lt;BR /&gt;
In Scope Onsite Local                                                                        2.3125      6&lt;BR /&gt;
In Scope Onsite Local                                                                        3.5                 1&lt;BR /&gt;
In Scope Onsite Local                                                                        2.44        2&lt;BR /&gt;
In Scope Onsite Local                                                                        2.4809851  3&lt;BR /&gt;
In Scope Onsite Local                                                                        1.164       4&lt;BR /&gt;
In Scope Offshore   International                                                  2                 1&lt;BR /&gt;
In Scope Offshore   International                                                  3                  2&lt;BR /&gt;
In Scope Offshore   International                                                  0.505         3&lt;BR /&gt;
In Scope Offshore   International                                                  1.136         4&lt;/P&gt;

&lt;P&gt;Please advise. Thanks!&lt;/P&gt;</description>
    <pubDate>Wed, 13 Sep 2017 03:46:06 GMT</pubDate>
    <dc:creator>teddyidc1101</dc:creator>
    <dc:date>2017-09-13T03:46:06Z</dc:date>
    <item>
      <title>How to make headers as field-values?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-to-make-headers-as-field-values/m-p/333327#M99117</link>
      <description>&lt;P&gt;I have a table that looks like this&lt;BR /&gt;
Site                                    1        2          3                 4    5             6&lt;BR /&gt;&lt;BR /&gt;
In Scope Onsite      3.5    2.44  2.4809851  1.164      2.3125              Local&lt;BR /&gt;
In Scope Offshore   2   3    0.505        1.136                         International&lt;/P&gt;

&lt;P&gt;and I want to transform it to like this, &lt;/P&gt;

&lt;P&gt;Site                                   Phase                                                              effort          month&lt;BR /&gt;
In Scope Onsite Local                                                                        2.3125      6&lt;BR /&gt;
In Scope Onsite Local                                                                        3.5                 1&lt;BR /&gt;
In Scope Onsite Local                                                                        2.44        2&lt;BR /&gt;
In Scope Onsite Local                                                                        2.4809851  3&lt;BR /&gt;
In Scope Onsite Local                                                                        1.164       4&lt;BR /&gt;
In Scope Offshore   International                                                  2                 1&lt;BR /&gt;
In Scope Offshore   International                                                  3                  2&lt;BR /&gt;
In Scope Offshore   International                                                  0.505         3&lt;BR /&gt;
In Scope Offshore   International                                                  1.136         4&lt;/P&gt;

&lt;P&gt;Please advise. Thanks!&lt;/P&gt;</description>
      <pubDate>Wed, 13 Sep 2017 03:46:06 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-to-make-headers-as-field-values/m-p/333327#M99117</guid>
      <dc:creator>teddyidc1101</dc:creator>
      <dc:date>2017-09-13T03:46:06Z</dc:date>
    </item>
    <item>
      <title>Re: How to make headers as field-values?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-to-make-headers-as-field-values/m-p/333328#M99118</link>
      <description>&lt;P&gt;Is uptake going well?&lt;BR /&gt;
I think that it will work with the following.&lt;/P&gt;

&lt;P&gt;your search | rename 1 as test1 ,2 as test2,3 as test3 , 4 as test4 , 5 as test5 ,6 as test6 | eval Result=mvappend(test1,test2,test3,test4,test5,test6)  | eval effort=mvfilter(match(Result,"\d+")) | mvexpand effort  | streamstats count by Site | eval Phase=case(Site=="In Scope Offshore","International",Site=="In Scope Onsite","local") | rename count as month | table Site Phase effort month&lt;/P&gt;</description>
      <pubDate>Wed, 13 Sep 2017 06:06:11 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-to-make-headers-as-field-values/m-p/333328#M99118</guid>
      <dc:creator>oda</dc:creator>
      <dc:date>2017-09-13T06:06:11Z</dc:date>
    </item>
    <item>
      <title>Re: How to make headers as field-values?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-to-make-headers-as-field-values/m-p/333329#M99119</link>
      <description>&lt;P&gt;works as expected!&lt;/P&gt;</description>
      <pubDate>Wed, 13 Sep 2017 09:25:28 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-to-make-headers-as-field-values/m-p/333329#M99119</guid>
      <dc:creator>teddyidc1101</dc:creator>
      <dc:date>2017-09-13T09:25:28Z</dc:date>
    </item>
    <item>
      <title>Re: How to make headers as field-values?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-to-make-headers-as-field-values/m-p/333330#M99120</link>
      <description>&lt;P&gt;thank you!&lt;/P&gt;</description>
      <pubDate>Wed, 13 Sep 2017 09:25:41 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-to-make-headers-as-field-values/m-p/333330#M99120</guid>
      <dc:creator>teddyidc1101</dc:creator>
      <dc:date>2017-09-13T09:25:41Z</dc:date>
    </item>
    <item>
      <title>Re: How to make headers as field-values?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-to-make-headers-as-field-values/m-p/333331#M99121</link>
      <description>&lt;P&gt;thank you for your reply&lt;BR /&gt;
it is nice!&lt;/P&gt;</description>
      <pubDate>Wed, 13 Sep 2017 09:27:55 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-to-make-headers-as-field-values/m-p/333331#M99121</guid>
      <dc:creator>oda</dc:creator>
      <dc:date>2017-09-13T09:27:55Z</dc:date>
    </item>
    <item>
      <title>Re: How to make headers as field-values?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-to-make-headers-as-field-values/m-p/333332#M99122</link>
      <description>&lt;P&gt;hello! i encountered an issue on some of the occurrences while checking the results. the count should corresponds to a month,right? I extended the months to 12, some of them worked but some continued to 13 onwards moving to 60+. is there a way to limit the count per mv field? &lt;/P&gt;</description>
      <pubDate>Thu, 14 Sep 2017 00:12:35 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-to-make-headers-as-field-values/m-p/333332#M99122</guid>
      <dc:creator>teddyidc1101</dc:creator>
      <dc:date>2017-09-14T00:12:35Z</dc:date>
    </item>
    <item>
      <title>Re: How to make headers as field-values?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-to-make-headers-as-field-values/m-p/333333#M99123</link>
      <description>&lt;P&gt;Can you define the field well?&lt;BR /&gt;
Sample log and sample fields and&lt;BR /&gt;
please tell me the expected behavior.&lt;/P&gt;</description>
      <pubDate>Thu, 14 Sep 2017 00:36:21 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-to-make-headers-as-field-values/m-p/333333#M99123</guid>
      <dc:creator>oda</dc:creator>
      <dc:date>2017-09-14T00:36:21Z</dc:date>
    </item>
    <item>
      <title>Re: How to make headers as field-values?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-to-make-headers-as-field-values/m-p/333334#M99124</link>
      <description>&lt;P&gt;Sorry for the delayed response but this is working as expected...thanks so much for the help!&lt;/P&gt;</description>
      <pubDate>Tue, 06 Feb 2018 00:04:27 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-to-make-headers-as-field-values/m-p/333334#M99124</guid>
      <dc:creator>teddyidc1101</dc:creator>
      <dc:date>2018-02-06T00:04:27Z</dc:date>
    </item>
    <item>
      <title>Re: How to make headers as field-values?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-to-make-headers-as-field-values/m-p/333335#M99125</link>
      <description>&lt;P&gt;That's good!&lt;BR /&gt;
Thank you!&lt;/P&gt;</description>
      <pubDate>Tue, 06 Feb 2018 00:46:36 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-to-make-headers-as-field-values/m-p/333335#M99125</guid>
      <dc:creator>oda</dc:creator>
      <dc:date>2018-02-06T00:46:36Z</dc:date>
    </item>
  </channel>
</rss>

