<?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 configure props/transforms.conf for this data in Getting Data In</title>
    <link>https://community.splunk.com/t5/Getting-Data-In/How-to-configure-props-transforms-conf-for-this-data/m-p/298217#M56422</link>
    <description>&lt;P&gt;Hi Giuseppe!&lt;/P&gt;

&lt;P&gt;Thanks!  What I'm trying to do is extract ALL the fields I just used Manufacturer as an example.&lt;/P&gt;</description>
    <pubDate>Tue, 14 Feb 2017 16:30:33 GMT</pubDate>
    <dc:creator>dbcase</dc:creator>
    <dc:date>2017-02-14T16:30:33Z</dc:date>
    <item>
      <title>How to configure props/transforms.conf for this data</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/How-to-configure-props-transforms-conf-for-this-data/m-p/298215#M56420</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;

&lt;P&gt;I have this data and need to know what I need to configure for props/transforms.conf to parse the data correctly.  Correctly= KV pair - field=Manufacturer  value=Kwikset&lt;/P&gt;

&lt;P&gt;Thank you!&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;002446fffd003274.2:
    Label: Back Door Lock
    Manufacturer: Kwikset
    Model: SMARTCODE_DEADBOLT_5
    Firmware version: 0x3071cb06
    Hardware version: 3
    User Properties:
        NearEndRssi: -41
        NearEndLqi: 243
        label: Back Door Lock
        deadboltJammed: false
    Battery Operated: True
    Voltage: 5.8V
    FE radio: -67/254
    NE radio: -41/243
    Date added: Thu Oct 27 08:02:42 CDT 2016
    Date of last communication: Mon Feb 13 14:15:14 CST 2017
    In Communication Failure: false
    In firmware upgrade failure: false
    Firmware upgrade available: false
    Is Locked: true
    Max Users: 30
    Operation Mode: normal

002446fffd00bd27.2:
    Label: Front Door Lock
    Manufacturer: Kwikset
    Model: SMARTCODE_DEADBOLT_10
    Firmware version: 0x3071c405
    Hardware version: 3
    User Properties:
        NearEndRssi: -51
        NearEndLqi: 255
        label: Front Door Lock
    Battery Operated: True
    Voltage: 5.8V
    FE radio: -50/255
    NE radio: -51/255
    Date added: Wed Oct 12 19:11:33 CDT 2016
    Date of last communication: Mon Feb 13 14:15:23 CST 2017
    In Communication Failure: false
    In firmware upgrade failure: false
    Firmware upgrade available: false
    Is Locked: true
    Max Users: 30
    Operation Mode: normal
&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Tue, 14 Feb 2017 16:00:00 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/How-to-configure-props-transforms-conf-for-this-data/m-p/298215#M56420</guid>
      <dc:creator>dbcase</dc:creator>
      <dc:date>2017-02-14T16:00:00Z</dc:date>
    </item>
    <item>
      <title>Re: How to configure props/transforms.conf for this data</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/How-to-configure-props-transforms-conf-for-this-data/m-p/298216#M56421</link>
      <description>&lt;P&gt;Hi dbcase,&lt;BR /&gt;
the regex to extract your Manifacturer field is (see &lt;A href="https://regex101.com/r/QMxJpT/1):"&gt;https://regex101.com/r/QMxJpT/1):&lt;/A&gt;&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;Manufacturer:\s(?&amp;lt;Manufacturer&amp;gt;.*)
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;But what is you timestamp "Date added" or "Date of last communication"? This is the first information.&lt;/P&gt;

&lt;P&gt;Every way, if your timestamp is "Date added"&lt;BR /&gt;
your props.conf is &lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;SHOULD_LINEMERGE=true
NO_BINARY_CHECK=true
BREAK_ONLY_BEFORE=\w*\.\d+:
TIME_PREFIX=Date added:
TIME_FORMAT=%b %d %H:%M:%S %Z %Y
EXTRACT-Comp_Name = Manufacturer:\s(?&amp;lt;Manufacturer&amp;gt;.*)
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;if your timestamp is "Date of last communication"&lt;BR /&gt;
your props.conf is &lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;SHOULD_LINEMERGE=true
NO_BINARY_CHECK=true
BREAK_ONLY_BEFORE=\w*\.\d+:
TIME_PREFIX=Date of last communication:
TIME_FORMAT=%b %d %H:%M:%S %Z %Y
EXTRACT-Comp_Name = Manufacturer:\s(?&amp;lt;Manufacturer&amp;gt;.*)
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;Bye.&lt;BR /&gt;
Giuseppe&lt;/P&gt;</description>
      <pubDate>Tue, 14 Feb 2017 16:28:14 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/How-to-configure-props-transforms-conf-for-this-data/m-p/298216#M56421</guid>
      <dc:creator>gcusello</dc:creator>
      <dc:date>2017-02-14T16:28:14Z</dc:date>
    </item>
    <item>
      <title>Re: How to configure props/transforms.conf for this data</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/How-to-configure-props-transforms-conf-for-this-data/m-p/298217#M56422</link>
      <description>&lt;P&gt;Hi Giuseppe!&lt;/P&gt;

&lt;P&gt;Thanks!  What I'm trying to do is extract ALL the fields I just used Manufacturer as an example.&lt;/P&gt;</description>
      <pubDate>Tue, 14 Feb 2017 16:30:33 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/How-to-configure-props-transforms-conf-for-this-data/m-p/298217#M56422</guid>
      <dc:creator>dbcase</dc:creator>
      <dc:date>2017-02-14T16:30:33Z</dc:date>
    </item>
    <item>
      <title>Re: How to configure props/transforms.conf for this data</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/How-to-configure-props-transforms-conf-for-this-data/m-p/298218#M56423</link>
      <description>&lt;P&gt;Extraction is the same for the other fields.&lt;BR /&gt;
Test your extraction in regex101.com (see &lt;A href="https://regex101.com/r/QMxJpT/2"&gt;https://regex101.com/r/QMxJpT/2&lt;/A&gt;)&lt;BR /&gt;
Bye.&lt;BR /&gt;
Giuseppe&lt;/P&gt;</description>
      <pubDate>Tue, 14 Feb 2017 16:34:21 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/How-to-configure-props-transforms-conf-for-this-data/m-p/298218#M56423</guid>
      <dc:creator>gcusello</dc:creator>
      <dc:date>2017-02-14T16:34:21Z</dc:date>
    </item>
    <item>
      <title>Re: How to configure props/transforms.conf for this data</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/How-to-configure-props-transforms-conf-for-this-data/m-p/298219#M56424</link>
      <description>&lt;P&gt;Give this a try&lt;/P&gt;

&lt;P&gt;props.conf (on Search Head)&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;[YourSourceType]
REPORT-extractkv = extract_key_value_pair
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;transforms.conf(on Search Head)&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;[extract_key_value_pair]
REGEX = (.+?): (.+?)$
FORMAT = $1::$2
CLEAN_KEYS = true
MV_ADD = true
&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Tue, 14 Feb 2017 16:35:26 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/How-to-configure-props-transforms-conf-for-this-data/m-p/298219#M56424</guid>
      <dc:creator>somesoni2</dc:creator>
      <dc:date>2017-02-14T16:35:26Z</dc:date>
    </item>
    <item>
      <title>Re: How to configure props/transforms.conf for this data</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/How-to-configure-props-transforms-conf-for-this-data/m-p/298220#M56425</link>
      <description>&lt;P&gt;Perfect!  Thank you Somesoni2!!&lt;/P&gt;</description>
      <pubDate>Tue, 14 Feb 2017 16:43:46 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/How-to-configure-props-transforms-conf-for-this-data/m-p/298220#M56425</guid>
      <dc:creator>dbcase</dc:creator>
      <dc:date>2017-02-14T16:43:46Z</dc:date>
    </item>
  </channel>
</rss>

