<?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 Single field needs formatting in Getting Data In</title>
    <link>https://community.splunk.com/t5/Getting-Data-In/Single-field-needs-formatting/m-p/315950#M59119</link>
    <description>&lt;P&gt;Hello,&lt;/P&gt;

&lt;P&gt;I am wondering is there a way to format a single field into JSON format.  I have an error alert that returns the info requested, however the field "msg" is jumbled and difficult to read.  However, when I take the contents of the "msg" field and plug it into a JSON converter, it is then readable.&lt;BR /&gt;
I am very new to this, and don't have anywhere else to go.  I am just wondering is there a way to format one field.&lt;/P&gt;

&lt;P&gt;Thank you for your patience with me.&lt;/P&gt;

&lt;P&gt;Timothy&lt;/P&gt;</description>
    <pubDate>Tue, 18 Jul 2017 22:08:19 GMT</pubDate>
    <dc:creator>zeroCalm</dc:creator>
    <dc:date>2017-07-18T22:08:19Z</dc:date>
    <item>
      <title>Single field needs formatting</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Single-field-needs-formatting/m-p/315950#M59119</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;

&lt;P&gt;I am wondering is there a way to format a single field into JSON format.  I have an error alert that returns the info requested, however the field "msg" is jumbled and difficult to read.  However, when I take the contents of the "msg" field and plug it into a JSON converter, it is then readable.&lt;BR /&gt;
I am very new to this, and don't have anywhere else to go.  I am just wondering is there a way to format one field.&lt;/P&gt;

&lt;P&gt;Thank you for your patience with me.&lt;/P&gt;

&lt;P&gt;Timothy&lt;/P&gt;</description>
      <pubDate>Tue, 18 Jul 2017 22:08:19 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Single-field-needs-formatting/m-p/315950#M59119</guid>
      <dc:creator>zeroCalm</dc:creator>
      <dc:date>2017-07-18T22:08:19Z</dc:date>
    </item>
    <item>
      <title>Re: Single field needs formatting</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Single-field-needs-formatting/m-p/315951#M59120</link>
      <description>&lt;P&gt;Okay, we understand your confusion.  Now you have to give us the actual code (the non confidential part please) and the actual message.&lt;/P&gt;

&lt;P&gt;But first, the &lt;CODE&gt;spath&lt;/CODE&gt; command might be what you are looking for.  It turns any properly formatted JSON into splunk variables.   &lt;/P&gt;

&lt;P&gt;&lt;A href="http://docs.splunk.com/Documentation/Splunk/6.3.3/SearchReference/Spath"&gt;http://docs.splunk.com/Documentation/Splunk/6.3.3/SearchReference/Spath&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 18 Jul 2017 23:56:00 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Single-field-needs-formatting/m-p/315951#M59120</guid>
      <dc:creator>DalJeanis</dc:creator>
      <dc:date>2017-07-18T23:56:00Z</dc:date>
    </item>
  </channel>
</rss>

