<?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 Reference multiple fields into a single name in Splunk Search</title>
    <link>https://community.splunk.com/t5/Splunk-Search/Reference-multiple-fields-into-a-single-name/m-p/697381#M236917</link>
    <description>&lt;P&gt;Is there a way to reference or combine multiple fields into a single name so that it can be referenced by that new name?&lt;/P&gt;&lt;P&gt;For example:&amp;nbsp; &amp;nbsp;somefield IN (a,b,c,d)&lt;/P&gt;&lt;P&gt;If I&amp;nbsp; run&amp;nbsp; a query for "somefield" I get "a", "b", "c", "d" returned.&lt;/P&gt;&lt;P&gt;I want to be able to refer to "somefield" by a single name.&amp;nbsp; Is that possible?&lt;/P&gt;&lt;P&gt;So if run a query for "somefield", I would get the aggregate results of a,b,c,d ?&lt;/P&gt;</description>
    <pubDate>Tue, 27 Aug 2024 01:44:21 GMT</pubDate>
    <dc:creator>irkey</dc:creator>
    <dc:date>2024-08-27T01:44:21Z</dc:date>
    <item>
      <title>Reference multiple fields into a single name</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Reference-multiple-fields-into-a-single-name/m-p/697381#M236917</link>
      <description>&lt;P&gt;Is there a way to reference or combine multiple fields into a single name so that it can be referenced by that new name?&lt;/P&gt;&lt;P&gt;For example:&amp;nbsp; &amp;nbsp;somefield IN (a,b,c,d)&lt;/P&gt;&lt;P&gt;If I&amp;nbsp; run&amp;nbsp; a query for "somefield" I get "a", "b", "c", "d" returned.&lt;/P&gt;&lt;P&gt;I want to be able to refer to "somefield" by a single name.&amp;nbsp; Is that possible?&lt;/P&gt;&lt;P&gt;So if run a query for "somefield", I would get the aggregate results of a,b,c,d ?&lt;/P&gt;</description>
      <pubDate>Tue, 27 Aug 2024 01:44:21 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Reference-multiple-fields-into-a-single-name/m-p/697381#M236917</guid>
      <dc:creator>irkey</dc:creator>
      <dc:date>2024-08-27T01:44:21Z</dc:date>
    </item>
    <item>
      <title>Re: Reference multiple fields into a single name</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Reference-multiple-fields-into-a-single-name/m-p/697409#M236918</link>
      <description>&lt;P&gt;&lt;a href="https://community.splunk.com/t5/user/viewprofilepage/user-id/261233"&gt;@irkey&lt;/a&gt;&amp;nbsp;Put them in a search macro -&amp;nbsp;&lt;A href="https://docs.splunk.com/Documentation/SplunkCloud/latest/Knowledge/Usesearchmacros" target="_blank"&gt;https://docs.splunk.com/Documentation/SplunkCloud/latest/Knowledge/Usesearchmacros&lt;/A&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 27 Aug 2024 05:17:32 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Reference-multiple-fields-into-a-single-name/m-p/697409#M236918</guid>
      <dc:creator>KendallW</dc:creator>
      <dc:date>2024-08-27T05:17:32Z</dc:date>
    </item>
    <item>
      <title>Re: Reference multiple fields into a single name</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Reference-multiple-fields-into-a-single-name/m-p/697414#M236919</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.splunk.com/t5/user/viewprofilepage/user-id/261233"&gt;@irkey&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;&lt;P&gt;you have two choices:&lt;/P&gt;&lt;P&gt;use a macro, as hinted by&amp;nbsp;&lt;a href="https://community.splunk.com/t5/user/viewprofilepage/user-id/121137"&gt;@KendallW&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;&lt;P&gt;use an eventtype containing the search parameters, for more infos see at&amp;nbsp;&lt;A href="https://docs.splunk.com/Documentation/Splunk/9.3.0/Knowledge/Abouteventtypes" target="_blank"&gt;https://docs.splunk.com/Documentation/Splunk/9.3.0/Knowledge/Abouteventtypes&lt;/A&gt;&lt;/P&gt;&lt;P&gt;in this way if you created an evenntype called e.g. "somefield" containing&amp;nbsp;&lt;SPAN&gt;&amp;nbsp;somefield IN (a,b,c,d), you can call it using&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;eventtype=somefield&lt;/LI-CODE&gt;&lt;P&gt;Ciao.&lt;/P&gt;&lt;P&gt;Giuseppe&lt;/P&gt;</description>
      <pubDate>Tue, 27 Aug 2024 06:17:29 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Reference-multiple-fields-into-a-single-name/m-p/697414#M236919</guid>
      <dc:creator>gcusello</dc:creator>
      <dc:date>2024-08-27T06:17:29Z</dc:date>
    </item>
    <item>
      <title>Re: Reference multiple fields into a single name</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Reference-multiple-fields-into-a-single-name/m-p/697503#M236941</link>
      <description>&lt;P&gt;Thank you, I will investigate this.&lt;/P&gt;</description>
      <pubDate>Tue, 27 Aug 2024 18:18:04 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Reference-multiple-fields-into-a-single-name/m-p/697503#M236941</guid>
      <dc:creator>irkey</dc:creator>
      <dc:date>2024-08-27T18:18:04Z</dc:date>
    </item>
    <item>
      <title>Re: Reference multiple fields into a single name</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Reference-multiple-fields-into-a-single-name/m-p/697504#M236942</link>
      <description>&lt;P&gt;Thank you, I will investigate this as well to see what works best.&lt;/P&gt;</description>
      <pubDate>Tue, 27 Aug 2024 18:18:28 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Reference-multiple-fields-into-a-single-name/m-p/697504#M236942</guid>
      <dc:creator>irkey</dc:creator>
      <dc:date>2024-08-27T18:18:28Z</dc:date>
    </item>
    <item>
      <title>Re: Reference multiple fields into a single name</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Reference-multiple-fields-into-a-single-name/m-p/697544#M236952</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.splunk.com/t5/user/viewprofilepage/user-id/261233"&gt;@irkey&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;&lt;P&gt;let us know if we can help you more, or, please, accept one answer for the other people of Community.&lt;/P&gt;&lt;P&gt;Ciao and happy splunking&lt;/P&gt;&lt;P&gt;Giuseppe&lt;/P&gt;&lt;P&gt;P.S.: Karma Points are appreciated by all the contributors &lt;span class="lia-unicode-emoji" title=":winking_face:"&gt;😉&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 28 Aug 2024 06:14:54 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Reference-multiple-fields-into-a-single-name/m-p/697544#M236952</guid>
      <dc:creator>gcusello</dc:creator>
      <dc:date>2024-08-28T06:14:54Z</dc:date>
    </item>
  </channel>
</rss>

