<?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: SPL query in Splunk Search</title>
    <link>https://community.splunk.com/t5/Splunk-Search/How-can-I-rename-items-with-SPL-query/m-p/595957#M207448</link>
    <description>&lt;P&gt;&lt;a href="https://community.splunk.com/t5/user/viewprofilepage/user-id/70277"&gt;@uagraw01&lt;/a&gt;&amp;nbsp;- You can use the &lt;STRONG&gt;same&lt;/STRONG&gt; formula as part of &lt;STRONG&gt;props.conf EVAL&lt;/STRONG&gt; statement as well.&lt;/P&gt;</description>
    <pubDate>Fri, 29 Apr 2022 15:38:09 GMT</pubDate>
    <dc:creator>VatsalJagani</dc:creator>
    <dc:date>2022-04-29T15:38:09Z</dc:date>
    <item>
      <title>How can I rename items with SPL query?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-can-I-rename-items-with-SPL-query/m-p/595952#M207445</link>
      <description>&lt;P&gt;Hello Splunkers,&lt;/P&gt;
&lt;P&gt;How can i rename all the OrderNumber1, OrderNumber2, OrderNumber3 as OrderNumber. And Country1, Country2,Country4 as Country. I have attached the screenshot also.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Appreciated in advance&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="IMG_20220429_191708__01.jpg" style="width: 1824px;"&gt;&lt;img src="https://community.splunk.com/t5/image/serverpage/image-id/19385iACE7537F8C8E75D4/image-size/medium?v=v2&amp;amp;px=400" role="button" title="IMG_20220429_191708__01.jpg" alt="IMG_20220429_191708__01.jpg" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Sat, 30 Apr 2022 19:38:56 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-can-I-rename-items-with-SPL-query/m-p/595952#M207445</guid>
      <dc:creator>uagraw01</dc:creator>
      <dc:date>2022-04-30T19:38:56Z</dc:date>
    </item>
    <item>
      <title>Re: SPL query</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-can-I-rename-items-with-SPL-query/m-p/595955#M207447</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.splunk.com/t5/user/viewprofilepage/user-id/70277"&gt;@uagraw01&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;&lt;P&gt;if the field numbers is fixed, you can use coalesce option:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;| eval OrderNumber=coalesce(OrderNumber1,OrderNumber2,OrderNumber3), country=coalesce(country1,country2,country3)&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Ciao.&lt;/P&gt;&lt;P&gt;Giuseppe&lt;/P&gt;</description>
      <pubDate>Fri, 29 Apr 2022 15:34:08 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-can-I-rename-items-with-SPL-query/m-p/595955#M207447</guid>
      <dc:creator>gcusello</dc:creator>
      <dc:date>2022-04-29T15:34:08Z</dc:date>
    </item>
    <item>
      <title>Re: SPL query</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-can-I-rename-items-with-SPL-query/m-p/595957#M207448</link>
      <description>&lt;P&gt;&lt;a href="https://community.splunk.com/t5/user/viewprofilepage/user-id/70277"&gt;@uagraw01&lt;/a&gt;&amp;nbsp;- You can use the &lt;STRONG&gt;same&lt;/STRONG&gt; formula as part of &lt;STRONG&gt;props.conf EVAL&lt;/STRONG&gt; statement as well.&lt;/P&gt;</description>
      <pubDate>Fri, 29 Apr 2022 15:38:09 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-can-I-rename-items-with-SPL-query/m-p/595957#M207448</guid>
      <dc:creator>VatsalJagani</dc:creator>
      <dc:date>2022-04-29T15:38:09Z</dc:date>
    </item>
    <item>
      <title>Re: SPL query</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-can-I-rename-items-with-SPL-query/m-p/595968#M207452</link>
      <description>&lt;P&gt;&lt;a href="https://community.splunk.com/t5/user/viewprofilepage/user-id/161352"&gt;@gcusello&lt;/a&gt;&amp;nbsp;I already tried this. But let me know is this a good approach ?&lt;/P&gt;</description>
      <pubDate>Fri, 29 Apr 2022 16:10:22 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-can-I-rename-items-with-SPL-query/m-p/595968#M207452</guid>
      <dc:creator>uagraw01</dc:creator>
      <dc:date>2022-04-29T16:10:22Z</dc:date>
    </item>
    <item>
      <title>Re: SPL query</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-can-I-rename-items-with-SPL-query/m-p/595970#M207453</link>
      <description>&lt;P&gt;&lt;a href="https://community.splunk.com/t5/user/viewprofilepage/user-id/93915"&gt;@VatsalJagani&lt;/a&gt;&amp;nbsp;I have some limitations here.&lt;/P&gt;</description>
      <pubDate>Fri, 29 Apr 2022 16:12:28 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-can-I-rename-items-with-SPL-query/m-p/595970#M207453</guid>
      <dc:creator>uagraw01</dc:creator>
      <dc:date>2022-04-29T16:12:28Z</dc:date>
    </item>
    <item>
      <title>Re: SPL query</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-can-I-rename-items-with-SPL-query/m-p/595972#M207454</link>
      <description>&lt;P&gt;&lt;a href="https://community.splunk.com/t5/user/viewprofilepage/user-id/70277"&gt;@uagraw01&lt;/a&gt;&amp;nbsp;- Use the solution given by&amp;nbsp;&lt;a href="https://community.splunk.com/t5/user/viewprofilepage/user-id/161352"&gt;@gcusello&lt;/a&gt;&amp;nbsp; if you want to get one value out of all the fields.&lt;/P&gt;&lt;P&gt;If you want all values from those fields into a new multi-valued field, then you can try:&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;| eval Country = mvappend(Country1, Country2, ...)
| eval OrderNumber = mvappend(OrderNumber1, OrderNumber2, ...)&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I hope this helps!!&lt;/P&gt;</description>
      <pubDate>Fri, 29 Apr 2022 16:18:03 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-can-I-rename-items-with-SPL-query/m-p/595972#M207454</guid>
      <dc:creator>VatsalJagani</dc:creator>
      <dc:date>2022-04-29T16:18:03Z</dc:date>
    </item>
    <item>
      <title>Re: SPL query</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-can-I-rename-items-with-SPL-query/m-p/596025#M207484</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.splunk.com/t5/user/viewprofilepage/user-id/70277"&gt;@uagraw01&lt;/a&gt;,&lt;/P&gt;&lt;P&gt;Yes, coalesce is very much used option.&lt;/P&gt;&lt;P&gt;Ciao.&lt;/P&gt;&lt;P&gt;Giuseppe&lt;/P&gt;</description>
      <pubDate>Sat, 30 Apr 2022 09:02:43 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-can-I-rename-items-with-SPL-query/m-p/596025#M207484</guid>
      <dc:creator>gcusello</dc:creator>
      <dc:date>2022-04-30T09:02:43Z</dc:date>
    </item>
  </channel>
</rss>

