<?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 use props.conf to parse json file in splunk in Getting Data In</title>
    <link>https://community.splunk.com/t5/Getting-Data-In/How-to-use-props-conf-to-parse-json-file-in-splunk/m-p/656528#M111178</link>
    <description>&lt;P&gt;hi&amp;nbsp;&lt;a href="https://community.splunk.com/t5/user/viewprofilepage/user-id/260249"&gt;@camellia&lt;/a&gt;,&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;You need to configure these in the forwarder not on the indexer servers. Also,&amp;nbsp;&amp;nbsp;&lt;STRONG&gt;KV_MODE = json&lt;/STRONG&gt; is search time configuration, not index-time configuration.&lt;BR /&gt;&lt;BR /&gt;Set&amp;nbsp;&lt;STRONG&gt;INDEXED_EXTRACTIONS = JSON&lt;/STRONG&gt; for your sourcetype in props.conf. Deploy &lt;STRONG&gt;props.conf&lt;/STRONG&gt; and &lt;STRONG&gt;transforms.conf&lt;/STRONG&gt; in your forwarder.&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;[itsd]
DATETIME_CONFIG = CURRENT
INDEXED_EXTRACTIONS = JSON
LINE_BREAKER = ([\r\n]+)
category = Structured
disabled = false
pulldown_type = true
TRANSFORMS-null1 = replace_null
TRANSFORMS-null2 = replace_null1&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Mon, 04 Sep 2023 05:51:30 GMT</pubDate>
    <dc:creator>manjunathmeti</dc:creator>
    <dc:date>2023-09-04T05:51:30Z</dc:date>
    <item>
      <title>How to use props.conf to parse json file in splunk</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/How-to-use-props-conf-to-parse-json-file-in-splunk/m-p/656521#M111177</link>
      <description>&lt;P&gt;Hi&lt;/P&gt;&lt;P&gt;I am new to splunk. I set up a single-site cluster to parse a JSON-formatted log. I use cm in the path of /opt/splunk/etc/manager-apps/_cluster/local. conf and transforms.conf configuration files were sent to index in the path /opt/splunk/etc/peer-apps/_cluster/local. However, when I searched in the search header, the desired effect was not found.&lt;/P&gt;&lt;P&gt;props.conf&lt;/P&gt;&lt;P&gt;[itsd]&lt;BR /&gt;DATETIME_CONFIG = CURRENT&lt;BR /&gt;KV_MODE = json&lt;BR /&gt;LINE_BREAKER = ([\r\n]+)&lt;BR /&gt;category = Structured&lt;BR /&gt;disabled = false&lt;BR /&gt;pulldown_type = true&lt;BR /&gt;TRANSFORMS-null1 = replace_null&lt;BR /&gt;TRANSFORMS-null2 = replace_null1&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;transforms.conf&lt;/P&gt;&lt;P&gt;[replace_null]&lt;BR /&gt;REGEX = ^\[&lt;BR /&gt;DEST_KEY=queue&lt;BR /&gt;FORMAT=nullQueue&lt;/P&gt;&lt;P&gt;[replace_null1]&lt;BR /&gt;REGEX=(.*)(\}\s?\})&lt;BR /&gt;DEST_KEY=_raw&lt;BR /&gt;FORMAT=$1$2&lt;/P&gt;</description>
      <pubDate>Mon, 04 Sep 2023 07:12:12 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/How-to-use-props-conf-to-parse-json-file-in-splunk/m-p/656521#M111177</guid>
      <dc:creator>camellia</dc:creator>
      <dc:date>2023-09-04T07:12:12Z</dc:date>
    </item>
    <item>
      <title>Re: How to use props.conf to parse json file in splunk</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/How-to-use-props-conf-to-parse-json-file-in-splunk/m-p/656528#M111178</link>
      <description>&lt;P&gt;hi&amp;nbsp;&lt;a href="https://community.splunk.com/t5/user/viewprofilepage/user-id/260249"&gt;@camellia&lt;/a&gt;,&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;You need to configure these in the forwarder not on the indexer servers. Also,&amp;nbsp;&amp;nbsp;&lt;STRONG&gt;KV_MODE = json&lt;/STRONG&gt; is search time configuration, not index-time configuration.&lt;BR /&gt;&lt;BR /&gt;Set&amp;nbsp;&lt;STRONG&gt;INDEXED_EXTRACTIONS = JSON&lt;/STRONG&gt; for your sourcetype in props.conf. Deploy &lt;STRONG&gt;props.conf&lt;/STRONG&gt; and &lt;STRONG&gt;transforms.conf&lt;/STRONG&gt; in your forwarder.&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;[itsd]
DATETIME_CONFIG = CURRENT
INDEXED_EXTRACTIONS = JSON
LINE_BREAKER = ([\r\n]+)
category = Structured
disabled = false
pulldown_type = true
TRANSFORMS-null1 = replace_null
TRANSFORMS-null2 = replace_null1&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 04 Sep 2023 05:51:30 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/How-to-use-props-conf-to-parse-json-file-in-splunk/m-p/656528#M111178</guid>
      <dc:creator>manjunathmeti</dc:creator>
      <dc:date>2023-09-04T05:51:30Z</dc:date>
    </item>
  </channel>
</rss>

