<?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 do I add a string in the title of a e-mail? in Splunk Search</title>
    <link>https://community.splunk.com/t5/Splunk-Search/How-do-I-add-a-string-in-the-title-of-a-e-mail/m-p/610651#M212369</link>
    <description>&lt;P&gt;"user-info"&lt;BR /&gt;index=user_interface_type sourcetype=*&amp;nbsp;&lt;BR /&gt;| table _time, host, port, _raw |&amp;nbsp;&lt;SPAN&gt;sendemail to="abc@splunk.com" sendresults=true&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;I use above query to list out the details for the search "user-info"&lt;/P&gt;
&lt;P&gt;I want to use this string "user-info" and pass it on in the title of the e-mail as : Notification received for user-info&lt;/P&gt;
&lt;P&gt;How to do that ?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Wed, 24 Aug 2022 14:36:28 GMT</pubDate>
    <dc:creator>avneet26</dc:creator>
    <dc:date>2022-08-24T14:36:28Z</dc:date>
    <item>
      <title>How do I add a string in the title of a e-mail?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-do-I-add-a-string-in-the-title-of-a-e-mail/m-p/610651#M212369</link>
      <description>&lt;P&gt;"user-info"&lt;BR /&gt;index=user_interface_type sourcetype=*&amp;nbsp;&lt;BR /&gt;| table _time, host, port, _raw |&amp;nbsp;&lt;SPAN&gt;sendemail to="abc@splunk.com" sendresults=true&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;I use above query to list out the details for the search "user-info"&lt;/P&gt;
&lt;P&gt;I want to use this string "user-info" and pass it on in the title of the e-mail as : Notification received for user-info&lt;/P&gt;
&lt;P&gt;How to do that ?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 24 Aug 2022 14:36:28 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-do-I-add-a-string-in-the-title-of-a-e-mail/m-p/610651#M212369</guid>
      <dc:creator>avneet26</dc:creator>
      <dc:date>2022-08-24T14:36:28Z</dc:date>
    </item>
    <item>
      <title>Re: Adding a string in title of e-mail</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-do-I-add-a-string-in-the-title-of-a-e-mail/m-p/610669#M212376</link>
      <description>&lt;P&gt;If user-info is a string literal then include it as the value of the subject argument to sendemail.&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;"user-info" index=user_interface_type sourcetype=* 
| table _time, host, port, _raw 
| sendemail to="abc@splunk.com" sendresults=true subject="user-info"&lt;/LI-CODE&gt;</description>
      <pubDate>Wed, 24 Aug 2022 12:31:35 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-do-I-add-a-string-in-the-title-of-a-e-mail/m-p/610669#M212376</guid>
      <dc:creator>richgalloway</dc:creator>
      <dc:date>2022-08-24T12:31:35Z</dc:date>
    </item>
    <item>
      <title>Re: Adding a string in title of e-mail</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-do-I-add-a-string-in-the-title-of-a-e-mail/m-p/610775#M212410</link>
      <description>&lt;P&gt;But i Want to add the subject as "Notification received for &amp;lt;then the string that I searched in the query"&amp;gt;&lt;/P&gt;</description>
      <pubDate>Thu, 25 Aug 2022 05:01:12 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-do-I-add-a-string-in-the-title-of-a-e-mail/m-p/610775#M212410</guid>
      <dc:creator>avneet26</dc:creator>
      <dc:date>2022-08-25T05:01:12Z</dc:date>
    </item>
    <item>
      <title>Re: Adding a string in title of e-mail</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-do-I-add-a-string-in-the-title-of-a-e-mail/m-p/610805#M212423</link>
      <description>&lt;LI-CODE lang="markup"&gt;| sendemail to="abc@splunk.com" sendresults=true subject="Notification received for user-info"&lt;/LI-CODE&gt;&lt;P&gt;There is no back-reference to string literals.&lt;/P&gt;</description>
      <pubDate>Thu, 25 Aug 2022 12:24:04 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-do-I-add-a-string-in-the-title-of-a-e-mail/m-p/610805#M212423</guid>
      <dc:creator>richgalloway</dc:creator>
      <dc:date>2022-08-25T12:24:04Z</dc:date>
    </item>
  </channel>
</rss>

