<?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 extract the data present in {} in Splunk Search. in All Apps and Add-ons</title>
    <link>https://community.splunk.com/t5/All-Apps-and-Add-ons/How-to-extract-the-data-present-in-curly-braces-in-Splunk-Search/m-p/601489#M77005</link>
    <description>&lt;P&gt;&lt;SPAN&gt;Requirement is&amp;nbsp;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Data.eid should give the value "&lt;/SPAN&gt;&lt;SPAN&gt;abc@domai.com&lt;/SPAN&gt;&lt;SPAN&gt;"&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Data.tsd&amp;nbsp;should give the value "&lt;/SPAN&gt;&lt;SPAN&gt;Jeff Nichols&amp;lt;jeff@Nichols.com&amp;gt;&lt;/SPAN&gt;&lt;SPAN&gt;"&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I tried above query with below combination, but none of them give result.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;| spath input=Data&amp;nbsp;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;| spath output=sender path=Data.tsd&lt;/SPAN&gt;&lt;/P&gt;</description>
    <pubDate>Mon, 13 Jun 2022 07:51:24 GMT</pubDate>
    <dc:creator>zen29d</dc:creator>
    <dc:date>2022-06-13T07:51:24Z</dc:date>
    <item>
      <title>How to extract the data present in curly braces {} in Splunk Search?</title>
      <link>https://community.splunk.com/t5/All-Apps-and-Add-ons/How-to-extract-the-data-present-in-curly-braces-in-Splunk-Search/m-p/601473#M77000</link>
      <description>&lt;P&gt;If the data present in json format {[]} get extracted, however when data present in {} as shown below doesn't behave same. How fields and values can be extracted from data in {}&lt;/P&gt;
&lt;P&gt;_raw data:&lt;/P&gt;
&lt;P&gt;{"AlertEntityId": "abc@domai.com", "AlertId": "21-3-1-2-4--12", "AlertType": "System", "Comments": "New alert", "CreationTime": "2022-06-08T16:52:51", "Data": "{\"etype\":\"User\",\"eid\":\"abc@domai.com\",\"op\":\"UserSubmission\",\"tdc\":\"1\",\"suid\":\"abc@domai.com\",\"ut\":\"Regular\",\"ssic\":\"0\",\"tsd\":\"Jeff Nichols &amp;amp;lt;jeff@Nichols.com&amp;amp;gt;\",\"sip\":\"1.2.3.4\",\"srt\":\"1\",\"trc\":\"abc@domai.com\",\"ms\":\"Grok - AI/ML summary, case study, datasheet\",\"lon\":\"UserSubmission\"}"}&lt;/P&gt;
&lt;P&gt;When I perform query "| table Data", I get the below result, But how to get values of "eid", "tsd".&lt;/P&gt;
&lt;P&gt;{"etype":"User","eid":"abc@domai.com","op":"UserSubmission","tdc":"1","suid":"abc@domai.com","ut":"Regular","ssic":"0","tsd":"Jeff Nichols &amp;amp;lt;jeff@Nichols.com&amp;amp;gt;","sip":"1.2.3.4","srt":"1","trc":"abc@domai.com","ms":"Grok - AI/ML summary, case study, datasheet","lon":"UserSubmission"}&lt;/P&gt;</description>
      <pubDate>Mon, 13 Jun 2022 20:00:46 GMT</pubDate>
      <guid>https://community.splunk.com/t5/All-Apps-and-Add-ons/How-to-extract-the-data-present-in-curly-braces-in-Splunk-Search/m-p/601473#M77000</guid>
      <dc:creator>zen29d</dc:creator>
      <dc:date>2022-06-13T20:00:46Z</dc:date>
    </item>
    <item>
      <title>Re: How to extract the data present in {} in Splunk Search.</title>
      <link>https://community.splunk.com/t5/All-Apps-and-Add-ons/How-to-extract-the-data-present-in-curly-braces-in-Splunk-Search/m-p/601476#M77001</link>
      <description>&lt;LI-CODE lang="markup"&gt;| spath input=Data&lt;/LI-CODE&gt;</description>
      <pubDate>Mon, 13 Jun 2022 07:02:00 GMT</pubDate>
      <guid>https://community.splunk.com/t5/All-Apps-and-Add-ons/How-to-extract-the-data-present-in-curly-braces-in-Splunk-Search/m-p/601476#M77001</guid>
      <dc:creator>ITWhisperer</dc:creator>
      <dc:date>2022-06-13T07:02:00Z</dc:date>
    </item>
    <item>
      <title>Re: How to extract the data present in {} in Splunk Search.</title>
      <link>https://community.splunk.com/t5/All-Apps-and-Add-ons/How-to-extract-the-data-present-in-curly-braces-in-Splunk-Search/m-p/601482#M77002</link>
      <description>&lt;P&gt;Not working.&lt;/P&gt;</description>
      <pubDate>Mon, 13 Jun 2022 07:26:04 GMT</pubDate>
      <guid>https://community.splunk.com/t5/All-Apps-and-Add-ons/How-to-extract-the-data-present-in-curly-braces-in-Splunk-Search/m-p/601482#M77002</guid>
      <dc:creator>zen29d</dc:creator>
      <dc:date>2022-06-13T07:26:04Z</dc:date>
    </item>
    <item>
      <title>Re: How to extract the data present in {} in Splunk Search.</title>
      <link>https://community.splunk.com/t5/All-Apps-and-Add-ons/How-to-extract-the-data-present-in-curly-braces-in-Splunk-Search/m-p/601484#M77003</link>
      <description>&lt;P&gt;In what way?&lt;/P&gt;</description>
      <pubDate>Mon, 13 Jun 2022 07:31:49 GMT</pubDate>
      <guid>https://community.splunk.com/t5/All-Apps-and-Add-ons/How-to-extract-the-data-present-in-curly-braces-in-Splunk-Search/m-p/601484#M77003</guid>
      <dc:creator>ITWhisperer</dc:creator>
      <dc:date>2022-06-13T07:31:49Z</dc:date>
    </item>
    <item>
      <title>Re: How to extract the data present in {} in Splunk Search.</title>
      <link>https://community.splunk.com/t5/All-Apps-and-Add-ons/How-to-extract-the-data-present-in-curly-braces-in-Splunk-Search/m-p/601486#M77004</link>
      <description>&lt;P&gt;Requirement is&amp;nbsp;&lt;BR /&gt;Data.eid should give the value "&lt;SPAN&gt;abc@domai.com&lt;/SPAN&gt;"&lt;BR /&gt;Data.tsd&amp;nbsp;should give the value "&lt;SPAN&gt;Jeff Nichols&amp;lt;jeff@Nichols.com&amp;gt;&lt;/SPAN&gt;"&lt;BR /&gt;&lt;BR /&gt;I tried above query with below combination, but none of them give result.&lt;BR /&gt;| spath input=Data&amp;nbsp;&lt;BR /&gt;| spath output=sender path=Data.tsd&lt;/P&gt;</description>
      <pubDate>Mon, 13 Jun 2022 07:39:16 GMT</pubDate>
      <guid>https://community.splunk.com/t5/All-Apps-and-Add-ons/How-to-extract-the-data-present-in-curly-braces-in-Splunk-Search/m-p/601486#M77004</guid>
      <dc:creator>zen29d</dc:creator>
      <dc:date>2022-06-13T07:39:16Z</dc:date>
    </item>
    <item>
      <title>Re: How to extract the data present in {} in Splunk Search.</title>
      <link>https://community.splunk.com/t5/All-Apps-and-Add-ons/How-to-extract-the-data-present-in-curly-braces-in-Splunk-Search/m-p/601489#M77005</link>
      <description>&lt;P&gt;&lt;SPAN&gt;Requirement is&amp;nbsp;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Data.eid should give the value "&lt;/SPAN&gt;&lt;SPAN&gt;abc@domai.com&lt;/SPAN&gt;&lt;SPAN&gt;"&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Data.tsd&amp;nbsp;should give the value "&lt;/SPAN&gt;&lt;SPAN&gt;Jeff Nichols&amp;lt;jeff@Nichols.com&amp;gt;&lt;/SPAN&gt;&lt;SPAN&gt;"&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I tried above query with below combination, but none of them give result.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;| spath input=Data&amp;nbsp;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;| spath output=sender path=Data.tsd&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 13 Jun 2022 07:51:24 GMT</pubDate>
      <guid>https://community.splunk.com/t5/All-Apps-and-Add-ons/How-to-extract-the-data-present-in-curly-braces-in-Splunk-Search/m-p/601489#M77005</guid>
      <dc:creator>zen29d</dc:creator>
      <dc:date>2022-06-13T07:51:24Z</dc:date>
    </item>
    <item>
      <title>Re: How to extract the data present in {} in Splunk Search.</title>
      <link>https://community.splunk.com/t5/All-Apps-and-Add-ons/How-to-extract-the-data-present-in-curly-braces-in-Splunk-Search/m-p/601490#M77006</link>
      <description>&lt;LI-CODE lang="markup"&gt;| makeresults
| fields - _time
| eval _raw="{\"AlertEntityId\": \"abc@domai.com\", \"AlertId\": \"21-3-1-2-4--12\", \"AlertType\": \"System\", \"Comments\": \"New alert\", \"CreationTime\": \"2022-06-08T16:52:51\", \"Data\": \"{\\\"etype\\\":\\\"User\\\",\\\"eid\\\":\\\"abc@domai.com\\\",\\\"op\\\":\\\"UserSubmission\\\",\\\"tdc\\\":\\\"1\\\",\\\"suid\\\":\\\"abc@domai.com\\\",\\\"ut\\\":\\\"Regular\\\",\\\"ssic\\\":\\\"0\\\",\\\"tsd\\\":\\\"Jeff Nichols &amp;amp;lt;jeff@Nichols.com&amp;amp;gt;\\\",\\\"sip\\\":\\\"1.2.3.4\\\",\\\"srt\\\":\\\"1\\\",\\\"trc\\\":\\\"abc@domai.com\\\",\\\"ms\\\":\\\"Grok - AI/ML summary, case study, datasheet\\\",\\\"lon\\\":\\\"UserSubmission\\\"}\"}"
| spath
| spath input=Data
| eval tsd=replace(tsd,"&amp;amp;lt;","&amp;lt;")
| eval tsd=replace(tsd,"&amp;amp;gt;","&amp;gt;")&lt;/LI-CODE&gt;</description>
      <pubDate>Mon, 13 Jun 2022 08:11:28 GMT</pubDate>
      <guid>https://community.splunk.com/t5/All-Apps-and-Add-ons/How-to-extract-the-data-present-in-curly-braces-in-Splunk-Search/m-p/601490#M77006</guid>
      <dc:creator>ITWhisperer</dc:creator>
      <dc:date>2022-06-13T08:11:28Z</dc:date>
    </item>
    <item>
      <title>Re: How to extract the data present in {} in Splunk Search.</title>
      <link>https://community.splunk.com/t5/All-Apps-and-Add-ons/How-to-extract-the-data-present-in-curly-braces-in-Splunk-Search/m-p/601632#M77024</link>
      <description>&lt;P&gt;Thanks for the help.&lt;/P&gt;</description>
      <pubDate>Tue, 14 Jun 2022 03:01:00 GMT</pubDate>
      <guid>https://community.splunk.com/t5/All-Apps-and-Add-ons/How-to-extract-the-data-present-in-curly-braces-in-Splunk-Search/m-p/601632#M77024</guid>
      <dc:creator>zen29d</dc:creator>
      <dc:date>2022-06-14T03:01:00Z</dc:date>
    </item>
  </channel>
</rss>

