<?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: splunks in Splunk Search</title>
    <link>https://community.splunk.com/t5/Splunk-Search/splunks/m-p/515393#M144704</link>
    <description>&lt;P&gt;Hi&amp;nbsp;,&amp;nbsp; replace |makemv with below&lt;/P&gt;&lt;P&gt;| rex field=_raw mode=sed "s/, /\n/g"&lt;/P&gt;&lt;P&gt;or,&amp;nbsp;&lt;/P&gt;&lt;P&gt;| rex field=_raw mode=sed "s/,/\n/g"&lt;/P&gt;&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.splunk.com/t5/user/viewprofilepage/user-id/225135"&gt;@vinod0313&lt;/a&gt;&amp;nbsp;, adding a reference screenshot with the test query with which it splitting the , by a new line in _raw events&lt;/P&gt;&lt;P&gt;index=_internal "," sourcetype=itsi_internal_log&lt;BR /&gt;|&lt;EM&gt; rex field=_raw mode=sed "s/,/\n/g"&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Fri, 21 Aug 2020 09:37:40 GMT</pubDate>
    <dc:creator>Nisha18789</dc:creator>
    <dc:date>2020-08-21T09:37:40Z</dc:date>
    <item>
      <title>splunks</title>
      <link>https://community.splunk.com/t5/Splunk-Search/splunks/m-p/515163#M144626</link>
      <description>&lt;P&gt;Hello&lt;BR /&gt;&lt;BR /&gt;I have a log&amp;nbsp; as shown below&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;FeatureDetails [tokenValidatorInfo=false, requestValidationRequired=false, requestPayloadValidationRequired=false, responsePayloadValidationRequired=false, aopUsed=false, tibcoCommunicatorUsed=false, secretsSecured=false]&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;i want to show my result like below&lt;/P&gt;&lt;P&gt;tokenValidatorInfo=false&lt;BR /&gt;requestValidationRequired=false&lt;BR /&gt;requestPayloadValidationRequired=false&lt;BR /&gt;responsePayloadValidationRequired=false&lt;BR /&gt;aopUsed=false&lt;BR /&gt;tibcoCommunicatorUsed=false&lt;BR /&gt;secretsSecured=false&lt;/P&gt;</description>
      <pubDate>Thu, 20 Aug 2020 10:23:46 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/splunks/m-p/515163#M144626</guid>
      <dc:creator>vinod0313</dc:creator>
      <dc:date>2020-08-20T10:23:46Z</dc:date>
    </item>
    <item>
      <title>Re: splunks</title>
      <link>https://community.splunk.com/t5/Splunk-Search/splunks/m-p/515169#M144628</link>
      <description>&lt;P&gt;Hello&amp;nbsp;&lt;a href="https://community.splunk.com/t5/user/viewprofilepage/user-id/225135"&gt;@vinod0313&lt;/a&gt;&amp;nbsp;, you can use below query , to remove commas and show the data as multivalued&lt;/P&gt;&lt;P&gt;| eval _raw="FeatureDetails [tokenValidatorInfo=false, requestValidationRequired=false, requestPayloadValidationRequired=false, responsePayloadValidationRequired=false, aopUsed=false, tibcoCommunicatorUsed=false, secretsSecured=false]"&lt;BR /&gt;&lt;EM&gt;| rex field=_raw "FeatureDetails \[(?&amp;lt;_raw&amp;gt;.*)\]"&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt;| makemv delim="," _raw&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;Hope this helps!&lt;/P&gt;&lt;P&gt;Please upvote my response if this resolves the issue.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 20 Aug 2020 10:38:27 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/splunks/m-p/515169#M144628</guid>
      <dc:creator>Nisha18789</dc:creator>
      <dc:date>2020-08-20T10:38:27Z</dc:date>
    </item>
    <item>
      <title>Re: splunks</title>
      <link>https://community.splunk.com/t5/Splunk-Search/splunks/m-p/515174#M144630</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.splunk.com/t5/user/viewprofilepage/user-id/225135"&gt;@vinod0313&lt;/a&gt;,&lt;/P&gt;&lt;P&gt;if it's acceptable for you to have a table with the field name in a column and the value in another column, you could run something like this:&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;| makeresults
| eval _raw="FeatureDetails [tokenValidatorInfo=false, requestValidationRequired=false, requestPayloadValidationRequired=false, responsePayloadValidationRequired=false, aopUsed=false, tibcoCommunicatorUsed=false, secretsSecured=false]"
| rex "tokenValidatorInfo\=(?&amp;lt;tokenValidatorInfo&amp;gt;[^,]*), requestValidationRequired\=(?&amp;lt;requestValidationRequired&amp;gt;[^,]*), requestPayloadValidationRequired\=(?&amp;lt;requestPayloadValidationRequired&amp;gt;[^,]*), responsePayloadValidationRequired\=(?&amp;lt;responsePayloadValidationRequire&amp;gt;[^,]*), aopUsed\=(?&amp;lt;aopUsed&amp;gt;[^,]*), tibcoCommunicatorUsed\=(?&amp;lt;tibcoCommunicatorUsed&amp;gt;[^,]*), secretsSecured\=(?&amp;lt;secretsSecured&amp;gt;[^\]]*)"
| fields - _raw - _time
| transpose
| eval ppp=column."=".row1&lt;/LI-CODE&gt;&lt;P&gt;If otherwise you want field=value, you could run something like this:&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;| makeresults
| eval _raw="FeatureDetails [tokenValidatorInfo=false, requestValidationRequired=false, requestPayloadValidationRequired=false, responsePayloadValidationRequired=false, aopUsed=false, tibcoCommunicatorUsed=false, secretsSecured=false]"
| rex max_match=0 "\[(?&amp;lt;my_field1&amp;gt;[^,]*), (?&amp;lt;my_field2&amp;gt;[^,]*), (?&amp;lt;my_field3&amp;gt;[^,]*), (?&amp;lt;my_field4&amp;gt;[^,]*), (?&amp;lt;my_field5&amp;gt;[^,]*), (?&amp;lt;my_field6&amp;gt;[^,]*), (?&amp;lt;my_field7&amp;gt;[^\]]*)"
| fields - _raw - _time
| transpose
| fields - column
| rename row1 AS results&lt;/LI-CODE&gt;&lt;P&gt;Ciao.&lt;/P&gt;&lt;P&gt;Giuseppe&lt;/P&gt;</description>
      <pubDate>Thu, 20 Aug 2020 10:58:46 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/splunks/m-p/515174#M144630</guid>
      <dc:creator>gcusello</dc:creator>
      <dc:date>2020-08-20T10:58:46Z</dc:date>
    </item>
    <item>
      <title>Re: splunks</title>
      <link>https://community.splunk.com/t5/Splunk-Search/splunks/m-p/515369#M144690</link>
      <description>&lt;P&gt;After trying with your suggested query i am getting below response&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="vinod0313_0-1597989426041.png" style="width: 400px;"&gt;&lt;img src="https://community.splunk.com/t5/image/serverpage/image-id/10425i73129FE49085FFF0/image-size/medium?v=v2&amp;amp;px=400" role="button" title="vinod0313_0-1597989426041.png" alt="vinod0313_0-1597989426041.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;&lt;BR /&gt;i am not getting the result as asked like below&lt;BR /&gt;&lt;BR /&gt;tokenValidatorInfo=false&lt;BR /&gt;requestValidationRequired=false&lt;BR /&gt;requestPayloadValidationRequired=false&lt;BR /&gt;responsePayloadValidationRequired=false&lt;BR /&gt;aopUsed=false&lt;BR /&gt;tibcoCommunicatorUsed=false&lt;BR /&gt;secretsSecured=false&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 21 Aug 2020 05:57:50 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/splunks/m-p/515369#M144690</guid>
      <dc:creator>vinod0313</dc:creator>
      <dc:date>2020-08-21T05:57:50Z</dc:date>
    </item>
    <item>
      <title>Re: splunks</title>
      <link>https://community.splunk.com/t5/Splunk-Search/splunks/m-p/515393#M144704</link>
      <description>&lt;P&gt;Hi&amp;nbsp;,&amp;nbsp; replace |makemv with below&lt;/P&gt;&lt;P&gt;| rex field=_raw mode=sed "s/, /\n/g"&lt;/P&gt;&lt;P&gt;or,&amp;nbsp;&lt;/P&gt;&lt;P&gt;| rex field=_raw mode=sed "s/,/\n/g"&lt;/P&gt;&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.splunk.com/t5/user/viewprofilepage/user-id/225135"&gt;@vinod0313&lt;/a&gt;&amp;nbsp;, adding a reference screenshot with the test query with which it splitting the , by a new line in _raw events&lt;/P&gt;&lt;P&gt;index=_internal "," sourcetype=itsi_internal_log&lt;BR /&gt;|&lt;EM&gt; rex field=_raw mode=sed "s/,/\n/g"&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 21 Aug 2020 09:37:40 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/splunks/m-p/515393#M144704</guid>
      <dc:creator>Nisha18789</dc:creator>
      <dc:date>2020-08-21T09:37:40Z</dc:date>
    </item>
    <item>
      <title>Re: splunks</title>
      <link>https://community.splunk.com/t5/Splunk-Search/splunks/m-p/515403#M144708</link>
      <description>&lt;P&gt;Hi &lt;a href="https://community.splunk.com/t5/user/viewprofilepage/user-id/225135"&gt;@vinod0313&lt;/a&gt;,&lt;/P&gt;&lt;P&gt;Please try mine:&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="gcusello_0-1598000381973.png" style="width: 400px;"&gt;&lt;img src="https://community.splunk.com/t5/image/serverpage/image-id/10431i54CDE5A84112891C/image-size/medium?v=v2&amp;amp;px=400" role="button" title="gcusello_0-1598000381973.png" alt="gcusello_0-1598000381973.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;Ciao.&lt;/P&gt;&lt;P&gt;Giuseppe&lt;/P&gt;</description>
      <pubDate>Fri, 21 Aug 2020 09:00:19 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/splunks/m-p/515403#M144708</guid>
      <dc:creator>gcusello</dc:creator>
      <dc:date>2020-08-21T09:00:19Z</dc:date>
    </item>
    <item>
      <title>Re: splunks</title>
      <link>https://community.splunk.com/t5/Splunk-Search/splunks/m-p/515404#M144709</link>
      <description>&lt;P&gt;tried but it didnt worked.&lt;/P&gt;</description>
      <pubDate>Fri, 21 Aug 2020 09:01:59 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/splunks/m-p/515404#M144709</guid>
      <dc:creator>vinod0313</dc:creator>
      <dc:date>2020-08-21T09:01:59Z</dc:date>
    </item>
    <item>
      <title>Re: splunks</title>
      <link>https://community.splunk.com/t5/Splunk-Search/splunks/m-p/515405#M144710</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&amp;nbsp;&lt;a href="https://community.splunk.com/t5/user/viewprofilepage/user-id/225135"&gt;@vinod0313&lt;/a&gt;,&lt;/P&gt;&lt;P&gt;what result do you have if you run:&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;Your_search
| rex "tokenValidatorInfo\=(?&amp;lt;tokenValidatorInfo&amp;gt;[^,]*), requestValidationRequired\=(?&amp;lt;requestValidationRequired&amp;gt;[^,]*), requestPayloadValidationRequired\=(?&amp;lt;requestPayloadValidationRequired&amp;gt;[^,]*), responsePayloadValidationRequired\=(?&amp;lt;responsePayloadValidationRequire&amp;gt;[^,]*), aopUsed\=(?&amp;lt;aopUsed&amp;gt;[^,]*), tibcoCommunicatorUsed\=(?&amp;lt;tibcoCommunicatorUsed&amp;gt;[^,]*), secretsSecured\=(?&amp;lt;secretsSecured&amp;gt;[^\]]*)"&lt;/LI-CODE&gt;&lt;P&gt;?&lt;/P&gt;&lt;P&gt;are the fields extracted or not?&lt;/P&gt;&lt;P&gt;if yes, using the other commands you can have the format you want.&lt;/P&gt;&lt;P&gt;If not, this means that the logs are different so the rex command fails.&lt;/P&gt;&lt;P&gt;In this case, could you share some other example of your logs?&lt;/P&gt;&lt;P&gt;Ciao.&lt;/P&gt;&lt;P&gt;Giuseppe&lt;/P&gt;</description>
      <pubDate>Fri, 21 Aug 2020 09:06:52 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/splunks/m-p/515405#M144710</guid>
      <dc:creator>gcusello</dc:creator>
      <dc:date>2020-08-21T09:06:52Z</dc:date>
    </item>
  </channel>
</rss>

