<?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 Content Analysis comparison with  Http Response in All Apps and Add-ons</title>
    <link>https://community.splunk.com/t5/All-Apps-and-Add-ons/Content-Analysis-comparison-with-Http-Response/m-p/336118#M40407</link>
    <description>&lt;P&gt;Currently we are matching the Content of http Response with value in Content Analysis,&lt;BR /&gt;
we have a scenario where we need to compare the content (greater then or less then) and provide the content match as True or False,&lt;/P&gt;

&lt;P&gt;eg :- &lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;`&amp;lt;group-status xmlns="http://abc.com/manage/groups" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://abc.com/manage/groups manage-groups.xsd"&amp;gt;
&amp;lt;id&amp;gt;1041339500789136&amp;lt;/id&amp;gt;
&amp;lt;name&amp;gt;Default&amp;lt;/name&amp;gt;
&amp;lt;meta&amp;gt;...&amp;lt;/meta&amp;gt;
&amp;lt;relations&amp;gt;...&amp;lt;/relations&amp;gt;
&amp;lt;status-properties&amp;gt;
&amp;lt;hosts-status-summary&amp;gt;
&amp;lt;total-hosts units="quantity"&amp;gt;4&amp;lt;/total-hosts&amp;gt;`
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;we need to compare, total-hosts units should be greater then 3&lt;/P&gt;</description>
    <pubDate>Sun, 15 Apr 2018 09:20:56 GMT</pubDate>
    <dc:creator>ashishamalviya1</dc:creator>
    <dc:date>2018-04-15T09:20:56Z</dc:date>
    <item>
      <title>Content Analysis comparison with  Http Response</title>
      <link>https://community.splunk.com/t5/All-Apps-and-Add-ons/Content-Analysis-comparison-with-Http-Response/m-p/336118#M40407</link>
      <description>&lt;P&gt;Currently we are matching the Content of http Response with value in Content Analysis,&lt;BR /&gt;
we have a scenario where we need to compare the content (greater then or less then) and provide the content match as True or False,&lt;/P&gt;

&lt;P&gt;eg :- &lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;`&amp;lt;group-status xmlns="http://abc.com/manage/groups" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://abc.com/manage/groups manage-groups.xsd"&amp;gt;
&amp;lt;id&amp;gt;1041339500789136&amp;lt;/id&amp;gt;
&amp;lt;name&amp;gt;Default&amp;lt;/name&amp;gt;
&amp;lt;meta&amp;gt;...&amp;lt;/meta&amp;gt;
&amp;lt;relations&amp;gt;...&amp;lt;/relations&amp;gt;
&amp;lt;status-properties&amp;gt;
&amp;lt;hosts-status-summary&amp;gt;
&amp;lt;total-hosts units="quantity"&amp;gt;4&amp;lt;/total-hosts&amp;gt;`
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;we need to compare, total-hosts units should be greater then 3&lt;/P&gt;</description>
      <pubDate>Sun, 15 Apr 2018 09:20:56 GMT</pubDate>
      <guid>https://community.splunk.com/t5/All-Apps-and-Add-ons/Content-Analysis-comparison-with-Http-Response/m-p/336118#M40407</guid>
      <dc:creator>ashishamalviya1</dc:creator>
      <dc:date>2018-04-15T09:20:56Z</dc:date>
    </item>
    <item>
      <title>Re: Content Analysis comparison with  Http Response</title>
      <link>https://community.splunk.com/t5/All-Apps-and-Add-ons/Content-Analysis-comparison-with-Http-Response/m-p/336119#M40408</link>
      <description>&lt;P&gt;I would recommend the &lt;A href="https://splunkbase.splunk.com/app/1818/"&gt;Website Input&lt;/A&gt; app instead.&lt;/P&gt;

&lt;P&gt;You should be able to get what you want using Website Input by using an input that extracts that data along with a search the ensures the value is what you expect. Here is what I am thinking:&lt;/P&gt;

&lt;OL&gt;
&lt;LI&gt;Create an input using the included wizard against the URL with the given XML file. Set the selector to "total-hosts". Confirm that the extraction is working as intended by clicking "Preview Output".&lt;/LI&gt;
&lt;LI&gt;Create a saved search that looks at the output created by the input you just made. You ought to be able to setup the logic such that it will alert you when "total-hosts" is 3 or less (something like "... | search match &amp;lt;= 3"&lt;/LI&gt;
&lt;/OL&gt;</description>
      <pubDate>Mon, 16 Apr 2018 05:47:34 GMT</pubDate>
      <guid>https://community.splunk.com/t5/All-Apps-and-Add-ons/Content-Analysis-comparison-with-Http-Response/m-p/336119#M40408</guid>
      <dc:creator>LukeMurphey</dc:creator>
      <dc:date>2018-04-16T05:47:34Z</dc:date>
    </item>
  </channel>
</rss>

