<?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: How to manually save a saved search which contains backslashes \ in the query  to savedsearches.conf? in Splunk Search</title>
    <link>https://community.splunk.com/t5/Splunk-Search/How-to-manually-save-a-saved-search-which-contains-backslashes/m-p/631435#M219311</link>
    <description>&lt;P&gt;I've seen lots of backslashes in savedsearches.conf.&amp;nbsp; The only special use for them is as a line continuation character and that's only when &lt;FONT face="courier new,courier"&gt;\&lt;/FONT&gt; is the last character on a line.&amp;nbsp; Have you &lt;STRONG&gt;tried&lt;/STRONG&gt; putting that query in the config file?&lt;/P&gt;</description>
    <pubDate>Sat, 18 Feb 2023 13:23:55 GMT</pubDate>
    <dc:creator>richgalloway</dc:creator>
    <dc:date>2023-02-18T13:23:55Z</dc:date>
    <item>
      <title>How to manually save a saved search which contains backslashes \ in the query  to savedsearches.conf?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-to-manually-save-a-saved-search-which-contains-backslashes/m-p/631354#M219282</link>
      <description>&lt;P&gt;I have a splunk query as below which contains a lot of backslashes&lt;/P&gt;&lt;LI-CODE lang="markup"&gt; index="ABC" os="Win" FileName="*\\Programs\\Startup\\*" | rex field=FileName "Users\\\(?&amp;lt;username&amp;gt;[^\\\]+)." &lt;/LI-CODE&gt;&lt;P&gt;Now, I now that when I tried to add this in savedseacrhes.conf it wont work as expected as in Splunk it breaks the line when it sees backslash.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Any suggestion on how we can add it to saved searches.conf&amp;nbsp; ?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 17 Feb 2023 16:11:05 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-to-manually-save-a-saved-search-which-contains-backslashes/m-p/631354#M219282</guid>
      <dc:creator>pavanae</dc:creator>
      <dc:date>2023-02-17T16:11:05Z</dc:date>
    </item>
    <item>
      <title>Re: How to manually save a saved search which contains backslashes \ in the query  to savedsearches.conf?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-to-manually-save-a-saved-search-which-contains-backslashes/m-p/631435#M219311</link>
      <description>&lt;P&gt;I've seen lots of backslashes in savedsearches.conf.&amp;nbsp; The only special use for them is as a line continuation character and that's only when &lt;FONT face="courier new,courier"&gt;\&lt;/FONT&gt; is the last character on a line.&amp;nbsp; Have you &lt;STRONG&gt;tried&lt;/STRONG&gt; putting that query in the config file?&lt;/P&gt;</description>
      <pubDate>Sat, 18 Feb 2023 13:23:55 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-to-manually-save-a-saved-search-which-contains-backslashes/m-p/631435#M219311</guid>
      <dc:creator>richgalloway</dc:creator>
      <dc:date>2023-02-18T13:23:55Z</dc:date>
    </item>
  </channel>
</rss>

