<?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: Variable string processing in variable string in map command in Getting Data In</title>
    <link>https://community.splunk.com/t5/Getting-Data-In/Variable-string-processing-in-variable-string-in-map-command/m-p/527735#M88995</link>
    <description>&lt;P&gt;All searches should specify an index for better performance.&amp;nbsp; Those searches that do not specify an index will search the role's default index(es), which may not include the desired index.&amp;nbsp; If your role does not include "_internal" as a default index then searching "$c$" will return nothing if "$c$" only exists in the internal index.&lt;/P&gt;</description>
    <pubDate>Tue, 03 Nov 2020 14:17:21 GMT</pubDate>
    <dc:creator>richgalloway</dc:creator>
    <dc:date>2020-11-03T14:17:21Z</dc:date>
    <item>
      <title>Variable string processing in variable string in map command</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Variable-string-processing-in-variable-string-in-map-command/m-p/527662#M88989</link>
      <description>&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="litmuspaper_0-1604391270333.png" style="width: 400px;"&gt;&lt;img src="https://community.splunk.com/t5/image/serverpage/image-id/11620iC7C2A54CCAC21A90/image-size/medium?v=v2&amp;amp;px=400" role="button" title="litmuspaper_0-1604391270333.png" alt="litmuspaper_0-1604391270333.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;IF the _raw is the same as above, I want to search with the query below.&lt;/P&gt;&lt;P&gt;Index=_internal sourcetype=splunkd&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;I want to use the map command with the contents of the C column. Without putting A and B columns in the map command&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;NO&amp;nbsp; -&amp;gt;&amp;gt;&amp;nbsp; | map search="search earliest=-1d@d latest=now index=$a$ sourcetype=$b$"&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;I used this SPL, but it did not produce the desired result.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;| map search="search earliest=-1d@d latest=now $c$"&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;I guess this query seems to mean this.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;search earliest=-1d@d latest=now index=$a$ sourcetype=$b$&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Help, Variable string processing in variable string in map command. Please&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 03 Nov 2020 08:32:04 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Variable-string-processing-in-variable-string-in-map-command/m-p/527662#M88989</guid>
      <dc:creator>litmuspaper</dc:creator>
      <dc:date>2020-11-03T08:32:04Z</dc:date>
    </item>
    <item>
      <title>Re: Variable string processing in variable string in map command</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Variable-string-processing-in-variable-string-in-map-command/m-p/527735#M88995</link>
      <description>&lt;P&gt;All searches should specify an index for better performance.&amp;nbsp; Those searches that do not specify an index will search the role's default index(es), which may not include the desired index.&amp;nbsp; If your role does not include "_internal" as a default index then searching "$c$" will return nothing if "$c$" only exists in the internal index.&lt;/P&gt;</description>
      <pubDate>Tue, 03 Nov 2020 14:17:21 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Variable-string-processing-in-variable-string-in-map-command/m-p/527735#M88995</guid>
      <dc:creator>richgalloway</dc:creator>
      <dc:date>2020-11-03T14:17:21Z</dc:date>
    </item>
  </channel>
</rss>

