<?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: add multiple spaces for fields in Splunk Search</title>
    <link>https://community.splunk.com/t5/Splunk-Search/add-multiple-spaces-for-fields/m-p/263802#M79179</link>
    <description>&lt;P&gt;The same thing happens with newlines inside of the fields (values), too!  This frustrates me.&lt;/P&gt;</description>
    <pubDate>Mon, 18 Jul 2016 14:05:04 GMT</pubDate>
    <dc:creator>woodcock</dc:creator>
    <dc:date>2016-07-18T14:05:04Z</dc:date>
    <item>
      <title>add multiple spaces for fields</title>
      <link>https://community.splunk.com/t5/Splunk-Search/add-multiple-spaces-for-fields/m-p/263793#M79170</link>
      <description>&lt;P&gt;hi i want to add multiple space  for a fields &lt;BR /&gt;
i tried to use :&lt;BR /&gt;
| eval fieldname1= fieldname2  .  "        " .  fieldname3&lt;/P&gt;

&lt;P&gt;but splunk show only one space and not more&lt;/P&gt;

&lt;P&gt;how can i do to specify more spaces &lt;BR /&gt;
thx&lt;/P&gt;</description>
      <pubDate>Mon, 18 Jul 2016 11:37:00 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/add-multiple-spaces-for-fields/m-p/263793#M79170</guid>
      <dc:creator>sfatnass</dc:creator>
      <dc:date>2016-07-18T11:37:00Z</dc:date>
    </item>
    <item>
      <title>Re: add multiple spaces for fields</title>
      <link>https://community.splunk.com/t5/Splunk-Search/add-multiple-spaces-for-fields/m-p/263794#M79171</link>
      <description>&lt;P&gt;try&lt;BR /&gt;
| eval fieldname1= fieldname2+" "+fieldname3&lt;BR /&gt;
Bye.&lt;BR /&gt;
Giuseppe&lt;/P&gt;</description>
      <pubDate>Mon, 18 Jul 2016 11:39:04 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/add-multiple-spaces-for-fields/m-p/263794#M79171</guid>
      <dc:creator>gcusello</dc:creator>
      <dc:date>2016-07-18T11:39:04Z</dc:date>
    </item>
    <item>
      <title>Re: add multiple spaces for fields</title>
      <link>https://community.splunk.com/t5/Splunk-Search/add-multiple-spaces-for-fields/m-p/263795#M79172</link>
      <description>&lt;P&gt;same way splunk show only one space not more &lt;BR /&gt;
my objectif :&lt;BR /&gt;
if  x is a space.&lt;BR /&gt;
| eval fieldname1= fieldname2 . "xxxxxxxx" . fieldname3&lt;/P&gt;</description>
      <pubDate>Mon, 18 Jul 2016 11:41:00 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/add-multiple-spaces-for-fields/m-p/263795#M79172</guid>
      <dc:creator>sfatnass</dc:creator>
      <dc:date>2016-07-18T11:41:00Z</dc:date>
    </item>
    <item>
      <title>Re: add multiple spaces for fields</title>
      <link>https://community.splunk.com/t5/Splunk-Search/add-multiple-spaces-for-fields/m-p/263796#M79173</link>
      <description>&lt;P&gt;Maybe use underscores instead of spaces? I'm surprising that you want to use multiple spaces. &lt;/P&gt;</description>
      <pubDate>Mon, 18 Jul 2016 12:42:20 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/add-multiple-spaces-for-fields/m-p/263796#M79173</guid>
      <dc:creator>MaryvonneMB</dc:creator>
      <dc:date>2016-07-18T12:42:20Z</dc:date>
    </item>
    <item>
      <title>Re: add multiple spaces for fields</title>
      <link>https://community.splunk.com/t5/Splunk-Search/add-multiple-spaces-for-fields/m-p/263797#M79174</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;

&lt;P&gt;the multiple spaces are written to the source code. But html is wrapping multiple whitespaces as one. Its not a problem of splunk its simple html crap.&lt;/P&gt;

&lt;P&gt;Means. You have your Spaces in the data. But its not correctly displayed in Browser.&lt;/P&gt;

&lt;P&gt;Hope this helps.&lt;/P&gt;

&lt;P&gt;Kind regards&lt;/P&gt;</description>
      <pubDate>Mon, 18 Jul 2016 12:42:29 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/add-multiple-spaces-for-fields/m-p/263797#M79174</guid>
      <dc:creator>TStrauch</dc:creator>
      <dc:date>2016-07-18T12:42:29Z</dc:date>
    </item>
    <item>
      <title>Re: add multiple spaces for fields</title>
      <link>https://community.splunk.com/t5/Splunk-Search/add-multiple-spaces-for-fields/m-p/263798#M79175</link>
      <description>&lt;P&gt;TStrauch i think you don't understand my aim.&lt;BR /&gt;
my objectif :&lt;BR /&gt;
if x is a space.&lt;BR /&gt;
| eval fieldname1= fieldname2 . "xxxxxxxx" . fieldname3&lt;/P&gt;</description>
      <pubDate>Mon, 18 Jul 2016 12:45:48 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/add-multiple-spaces-for-fields/m-p/263798#M79175</guid>
      <dc:creator>sfatnass</dc:creator>
      <dc:date>2016-07-18T12:45:48Z</dc:date>
    </item>
    <item>
      <title>Re: add multiple spaces for fields</title>
      <link>https://community.splunk.com/t5/Splunk-Search/add-multiple-spaces-for-fields/m-p/263799#M79176</link>
      <description>&lt;P&gt;I understand your aim. And its like i explained to you.&lt;/P&gt;

&lt;P&gt;Ok lets try this. Take you | eval fieldname1= fieldname2 . "xxxxxxxx" . fieldname3&lt;BR /&gt;
Start your search.&lt;BR /&gt;
klick on the interesting fields and klick on fieldname1&lt;BR /&gt;
take one of the top 10 values and drill down on it.&lt;BR /&gt;
Your search string will show the spaces.&lt;/P&gt;

&lt;P&gt;Your spaces are in your data. They are simply not displayed correctly.&lt;/P&gt;

&lt;P&gt;You have a html problem. there are ways like css options "white-space: pre;" or something to display the white spaces. &lt;/P&gt;</description>
      <pubDate>Mon, 18 Jul 2016 12:55:05 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/add-multiple-spaces-for-fields/m-p/263799#M79176</guid>
      <dc:creator>TStrauch</dc:creator>
      <dc:date>2016-07-18T12:55:05Z</dc:date>
    </item>
    <item>
      <title>Re: add multiple spaces for fields</title>
      <link>https://community.splunk.com/t5/Splunk-Search/add-multiple-spaces-for-fields/m-p/263800#M79177</link>
      <description>&lt;P&gt;&lt;A href="http://www.w3schools.com/cssref/pr_text_white-space.asp"&gt;http://www.w3schools.com/cssref/pr_text_white-space.asp&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 18 Jul 2016 12:58:19 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/add-multiple-spaces-for-fields/m-p/263800#M79177</guid>
      <dc:creator>TStrauch</dc:creator>
      <dc:date>2016-07-18T12:58:19Z</dc:date>
    </item>
    <item>
      <title>Re: add multiple spaces for fields</title>
      <link>https://community.splunk.com/t5/Splunk-Search/add-multiple-spaces-for-fields/m-p/263801#M79178</link>
      <description>&lt;P&gt;ok but what is the balise can i call on my css to specify for my dashboard&lt;BR /&gt;
white-space:pre;&lt;/P&gt;

&lt;P&gt;i see what do you mean, but have you a solution to resolve within dashboard ?&lt;/P&gt;</description>
      <pubDate>Mon, 18 Jul 2016 14:04:12 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/add-multiple-spaces-for-fields/m-p/263801#M79178</guid>
      <dc:creator>sfatnass</dc:creator>
      <dc:date>2016-07-18T14:04:12Z</dc:date>
    </item>
    <item>
      <title>Re: add multiple spaces for fields</title>
      <link>https://community.splunk.com/t5/Splunk-Search/add-multiple-spaces-for-fields/m-p/263802#M79179</link>
      <description>&lt;P&gt;The same thing happens with newlines inside of the fields (values), too!  This frustrates me.&lt;/P&gt;</description>
      <pubDate>Mon, 18 Jul 2016 14:05:04 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/add-multiple-spaces-for-fields/m-p/263802#M79179</guid>
      <dc:creator>woodcock</dc:creator>
      <dc:date>2016-07-18T14:05:04Z</dc:date>
    </item>
    <item>
      <title>Re: add multiple spaces for fields</title>
      <link>https://community.splunk.com/t5/Splunk-Search/add-multiple-spaces-for-fields/m-p/263803#M79180</link>
      <description>&lt;P&gt;i only follow the orders&lt;/P&gt;</description>
      <pubDate>Mon, 18 Jul 2016 17:57:47 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/add-multiple-spaces-for-fields/m-p/263803#M79180</guid>
      <dc:creator>sfatnass</dc:creator>
      <dc:date>2016-07-18T17:57:47Z</dc:date>
    </item>
    <item>
      <title>Re: add multiple spaces for fields</title>
      <link>https://community.splunk.com/t5/Splunk-Search/add-multiple-spaces-for-fields/m-p/577885#M201375</link>
      <description>&lt;P&gt;Old question, but needs a better answer &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;You can use a non-breaking-space&amp;nbsp; alt 255&lt;/P&gt;&lt;P&gt;Here you have 10 of them between START-END&lt;/P&gt;&lt;P&gt;START&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;END&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;So if you like nice space between one field combined from two. add enough blank at end and then cut all equally long.&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;| eval eventid=eventid."&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;"&lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG&gt;| eval eventid=substr(eventid,1,29)&lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG&gt;| eval message1=eventid.message&lt;/STRONG&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 09 Dec 2021 13:17:38 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/add-multiple-spaces-for-fields/m-p/577885#M201375</guid>
      <dc:creator>jotne</dc:creator>
      <dc:date>2021-12-09T13:17:38Z</dc:date>
    </item>
  </channel>
</rss>

