<?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 remove [] in Json format data? in Splunk Search</title>
    <link>https://community.splunk.com/t5/Splunk-Search/How-to-remove-in-Json-format-data/m-p/598007#M208237</link>
    <description>&lt;LI-CODE lang="markup"&gt;| eval field=trim(field,"[]")&lt;/LI-CODE&gt;</description>
    <pubDate>Mon, 16 May 2022 22:04:53 GMT</pubDate>
    <dc:creator>ITWhisperer</dc:creator>
    <dc:date>2022-05-16T22:04:53Z</dc:date>
    <item>
      <title>How to remove [] in Json format data?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-to-remove-in-Json-format-data/m-p/597981#M208223</link>
      <description>&lt;P&gt;I have a field properties.policies&amp;nbsp; in json format&amp;nbsp;&lt;/P&gt;
&lt;P&gt;field value: [{"fieldname":"fieldvalue","fieldname":"fieldvalue","fieldname":"fieldvalue",[priview]&amp;nbsp;"fieldname":"fieldvalue",[]}]&lt;/P&gt;
&lt;P&gt;i want to remove first and last [] so that other fields can populate&amp;nbsp;&lt;/P&gt;
&lt;P&gt;can some one send me the rex please ?&lt;/P&gt;
&lt;P&gt;Thanks in advance&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 16 May 2022 17:00:34 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-to-remove-in-Json-format-data/m-p/597981#M208223</guid>
      <dc:creator>vikram1583</dc:creator>
      <dc:date>2022-05-16T17:00:34Z</dc:date>
    </item>
    <item>
      <title>Re: How to remove [] in Json format data?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-to-remove-in-Json-format-data/m-p/597983#M208225</link>
      <description>&lt;P&gt;What have you tried so far?&amp;nbsp;&lt;/P&gt;&lt;P&gt;Parsing JSON using regular expressions can be challenging.&amp;nbsp; Have you tried the &lt;FONT face="courier new,courier"&gt;spath&lt;/FONT&gt; command?&lt;/P&gt;</description>
      <pubDate>Mon, 16 May 2022 17:05:40 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-to-remove-in-Json-format-data/m-p/597983#M208225</guid>
      <dc:creator>richgalloway</dc:creator>
      <dc:date>2022-05-16T17:05:40Z</dc:date>
    </item>
    <item>
      <title>Re: How to remove [] in Json format data?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-to-remove-in-Json-format-data/m-p/598007#M208237</link>
      <description>&lt;LI-CODE lang="markup"&gt;| eval field=trim(field,"[]")&lt;/LI-CODE&gt;</description>
      <pubDate>Mon, 16 May 2022 22:04:53 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-to-remove-in-Json-format-data/m-p/598007#M208237</guid>
      <dc:creator>ITWhisperer</dc:creator>
      <dc:date>2022-05-16T22:04:53Z</dc:date>
    </item>
  </channel>
</rss>

