<?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: Keyboard Shortcut to Format Search in Splunk Search</title>
    <link>https://community.splunk.com/t5/Splunk-Search/Keyboard-Shortcut-to-Format-Search/m-p/238282#M70786</link>
    <description>&lt;P&gt;A similar question was asked by a customer who uses a Norwegian Keyboard (below):&lt;/P&gt;

&lt;P&gt;&lt;A href="https://www.datacal.com/image/popup?imagePath=%2fimages%2fproduct%2flarge%2f310.jpg"&gt;https://www.datacal.com/image/popup?imagePath=%2fimages%2fproduct%2flarge%2f310.jpg&lt;/A&gt; &lt;/P&gt;

&lt;P&gt;There is a §| key above the Tab key (left of the 1) and that produces the \ character within Splunk. &lt;/P&gt;

&lt;P&gt;Pressing Ctrl+§| enables Search Bar formatting in Splunk 6.5.x.  This was confirmed to work by the customer.&lt;/P&gt;

&lt;P&gt;That is the same physical location of the ^ character on a German T2 Keyboard&lt;/P&gt;

&lt;P&gt;&lt;A href="https://en.wikipedia.org/wiki/German_keyboard_layout#/media/File:German-T2-Keyboard-Prototype-May-2012.jpg"&gt;https://en.wikipedia.org/wiki/German_keyboard_layout#/media/File:German-T2-Keyboard-Prototype-May-2012.jpg&lt;/A&gt;&lt;/P&gt;

&lt;P&gt;(See also:  &lt;A href="https://answers.splunk.com/answers/459003/what-is-the-keyboard-shortcut-for-the-splunk-650-s.html"&gt;https://answers.splunk.com/answers/459003/what-is-the-keyboard-shortcut-for-the-splunk-650-s.html&lt;/A&gt;)&lt;/P&gt;</description>
    <pubDate>Thu, 23 Feb 2017 10:12:11 GMT</pubDate>
    <dc:creator>christopherr_sp</dc:creator>
    <dc:date>2017-02-23T10:12:11Z</dc:date>
    <item>
      <title>Keyboard Shortcut to Format Search</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Keyboard-Shortcut-to-Format-Search/m-p/238278#M70782</link>
      <description>&lt;P&gt;At .conf this year, a new feature was showed off that allowed auto-formatting of SPL in the search bar with the press of a button in 6.5. It took a search from a single line: &lt;BR /&gt;
&lt;PRE&gt;index=myindex | stats count by action&lt;/PRE&gt;&lt;BR /&gt;
to multiple lines: &lt;BR /&gt;
&lt;PRE&gt;&lt;BR /&gt;
index=myindex&lt;BR /&gt;
| stats count by action&lt;BR /&gt;
&lt;/PRE&gt;&lt;/P&gt;

&lt;P&gt;Does anyone know what the key is that accomplishes this?&lt;/P&gt;</description>
      <pubDate>Thu, 06 Oct 2016 20:57:50 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Keyboard-Shortcut-to-Format-Search/m-p/238278#M70782</guid>
      <dc:creator>JoshWhaley</dc:creator>
      <dc:date>2016-10-06T20:57:50Z</dc:date>
    </item>
    <item>
      <title>Re: Keyboard Shortcut to Format Search</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Keyboard-Shortcut-to-Format-Search/m-p/238279#M70783</link>
      <description>&lt;P&gt;See the Answer here:&lt;BR /&gt;
&lt;A href="https://answers.splunk.com/answers/456133/search-formatting-in-splunk-650-for-easier-readabi.html"&gt;https://answers.splunk.com/answers/456133/search-formatting-in-splunk-650-for-easier-readabi.html&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 06 Oct 2016 21:02:30 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Keyboard-Shortcut-to-Format-Search/m-p/238279#M70783</guid>
      <dc:creator>lukejadamec</dc:creator>
      <dc:date>2016-10-06T21:02:30Z</dc:date>
    </item>
    <item>
      <title>Re: Keyboard Shortcut to Format Search</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Keyboard-Shortcut-to-Format-Search/m-p/238280#M70784</link>
      <description>&lt;P&gt;Thank you for the link! Ctrl+\  did the trick!&lt;/P&gt;</description>
      <pubDate>Thu, 06 Oct 2016 21:04:50 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Keyboard-Shortcut-to-Format-Search/m-p/238280#M70784</guid>
      <dc:creator>JoshWhaley</dc:creator>
      <dc:date>2016-10-06T21:04:50Z</dc:date>
    </item>
    <item>
      <title>Re: Keyboard Shortcut to Format Search</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Keyboard-Shortcut-to-Format-Search/m-p/238281#M70785</link>
      <description>&lt;P&gt;Did someone try this using a Mac and a german keyboard ? Even using BetterTouchTool I'm not able to simulate that shortcut. &lt;/P&gt;</description>
      <pubDate>Tue, 13 Dec 2016 09:45:51 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Keyboard-Shortcut-to-Format-Search/m-p/238281#M70785</guid>
      <dc:creator>tries</dc:creator>
      <dc:date>2016-12-13T09:45:51Z</dc:date>
    </item>
    <item>
      <title>Re: Keyboard Shortcut to Format Search</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Keyboard-Shortcut-to-Format-Search/m-p/238282#M70786</link>
      <description>&lt;P&gt;A similar question was asked by a customer who uses a Norwegian Keyboard (below):&lt;/P&gt;

&lt;P&gt;&lt;A href="https://www.datacal.com/image/popup?imagePath=%2fimages%2fproduct%2flarge%2f310.jpg"&gt;https://www.datacal.com/image/popup?imagePath=%2fimages%2fproduct%2flarge%2f310.jpg&lt;/A&gt; &lt;/P&gt;

&lt;P&gt;There is a §| key above the Tab key (left of the 1) and that produces the \ character within Splunk. &lt;/P&gt;

&lt;P&gt;Pressing Ctrl+§| enables Search Bar formatting in Splunk 6.5.x.  This was confirmed to work by the customer.&lt;/P&gt;

&lt;P&gt;That is the same physical location of the ^ character on a German T2 Keyboard&lt;/P&gt;

&lt;P&gt;&lt;A href="https://en.wikipedia.org/wiki/German_keyboard_layout#/media/File:German-T2-Keyboard-Prototype-May-2012.jpg"&gt;https://en.wikipedia.org/wiki/German_keyboard_layout#/media/File:German-T2-Keyboard-Prototype-May-2012.jpg&lt;/A&gt;&lt;/P&gt;

&lt;P&gt;(See also:  &lt;A href="https://answers.splunk.com/answers/459003/what-is-the-keyboard-shortcut-for-the-splunk-650-s.html"&gt;https://answers.splunk.com/answers/459003/what-is-the-keyboard-shortcut-for-the-splunk-650-s.html&lt;/A&gt;)&lt;/P&gt;</description>
      <pubDate>Thu, 23 Feb 2017 10:12:11 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Keyboard-Shortcut-to-Format-Search/m-p/238282#M70786</guid>
      <dc:creator>christopherr_sp</dc:creator>
      <dc:date>2017-02-23T10:12:11Z</dc:date>
    </item>
    <item>
      <title>Re: Keyboard Shortcut to Format Search</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Keyboard-Shortcut-to-Format-Search/m-p/238283#M70787</link>
      <description>&lt;P&gt;OMG I love you so much... I tried all the combinations on my German keyboard to get that feature to work, but this (completely unrelated) key combo works fine. Yeah! &lt;span class="lia-unicode-emoji" title=":grinning_face_with_smiling_eyes:"&gt;😄&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 05 May 2017 17:45:48 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Keyboard-Shortcut-to-Format-Search/m-p/238283#M70787</guid>
      <dc:creator>bjoernhansen</dc:creator>
      <dc:date>2017-05-05T17:45:48Z</dc:date>
    </item>
    <item>
      <title>Re: Keyboard Shortcut to Format Search</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Keyboard-Shortcut-to-Format-Search/m-p/238284#M70788</link>
      <description>&lt;P&gt;On a Mac /w German keyboard &lt;CODE&gt;cmd #&lt;/CODE&gt; should do the trick&lt;/P&gt;</description>
      <pubDate>Thu, 23 May 2019 13:14:57 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Keyboard-Shortcut-to-Format-Search/m-p/238284#M70788</guid>
      <dc:creator>alai</dc:creator>
      <dc:date>2019-05-23T13:14:57Z</dc:date>
    </item>
    <item>
      <title>Re: Keyboard Shortcut to Format Search</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Keyboard-Shortcut-to-Format-Search/m-p/238285#M70789</link>
      <description>&lt;P&gt;So how about unformatting?&lt;/P&gt;

&lt;P&gt;To get everything back into a single line.&lt;/P&gt;

&lt;P&gt;This will solve the issue for people that use savedsearches.conf stanza's where formatted code copy pasted from splunk GUI will cause everything after the first PIPE to be ignored by the savedsearch configuration on the search head.&lt;/P&gt;</description>
      <pubDate>Wed, 16 Oct 2019 12:20:01 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Keyboard-Shortcut-to-Format-Search/m-p/238285#M70789</guid>
      <dc:creator>ramgnisiv</dc:creator>
      <dc:date>2019-10-16T12:20:01Z</dc:date>
    </item>
    <item>
      <title>Re: Keyboard Shortcut to Format Search</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Keyboard-Shortcut-to-Format-Search/m-p/238286#M70790</link>
      <description>&lt;P&gt;Answer is Ctrl + Shift + F &lt;BR /&gt;
That will make your SPL neat and clean!&lt;/P&gt;</description>
      <pubDate>Thu, 02 Apr 2020 13:21:23 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Keyboard-Shortcut-to-Format-Search/m-p/238286#M70790</guid>
      <dc:creator>benspader</dc:creator>
      <dc:date>2020-04-02T13:21:23Z</dc:date>
    </item>
  </channel>
</rss>

