<?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 do you write a correlation search with a data model? in Knowledge Management</title>
    <link>https://community.splunk.com/t5/Knowledge-Management/How-do-you-write-a-correlation-search-with-a-data-model/m-p/310460#M2706</link>
    <description>&lt;P&gt;Maybe I'm wrong but I think if I will remake search that in my OP post by using Data Model it's will solve my &lt;A href="https://answers.splunk.com/answers/595101/how-to-become-a-god-of-correlation-searches-and-no.html"&gt;another question&lt;/A&gt;.&lt;/P&gt;</description>
    <pubDate>Fri, 01 Dec 2017 21:30:56 GMT</pubDate>
    <dc:creator>test_qweqwe</dc:creator>
    <dc:date>2017-12-01T21:30:56Z</dc:date>
    <item>
      <title>How do you write a correlation search with a data model?</title>
      <link>https://community.splunk.com/t5/Knowledge-Management/How-do-you-write-a-correlation-search-with-a-data-model/m-p/310459#M2705</link>
      <description>&lt;P&gt;Hello my little friends.&lt;BR /&gt;
I have logs from tomcat and they joined Web Data Model, so that means that I can write correlation search by using a data model.&lt;/P&gt;

&lt;P&gt;For example, I have this search:&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;sourcetype="tomcat:access:log" request_uri="*struts2-rest-showcase*" AND status="500" | stats latest(_raw) as "orig_raw" values(request_uri) as "uri" values(http_method) as method values(status) as status count by "host", "src"
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;And I want to remake this search using Data Model and right now I have no idea how to do it. &lt;/P&gt;

&lt;P&gt;I I've looked at many default correlation searches by ESS to understand how to write my own search and dat searches by so advance level that I even don't understand how they work &lt;span class="lia-unicode-emoji" title=":disappointed_face:"&gt;😞&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 01 Dec 2017 20:11:53 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Knowledge-Management/How-do-you-write-a-correlation-search-with-a-data-model/m-p/310459#M2705</guid>
      <dc:creator>test_qweqwe</dc:creator>
      <dc:date>2017-12-01T20:11:53Z</dc:date>
    </item>
    <item>
      <title>Re: How do you write a correlation search with a data model?</title>
      <link>https://community.splunk.com/t5/Knowledge-Management/How-do-you-write-a-correlation-search-with-a-data-model/m-p/310460#M2706</link>
      <description>&lt;P&gt;Maybe I'm wrong but I think if I will remake search that in my OP post by using Data Model it's will solve my &lt;A href="https://answers.splunk.com/answers/595101/how-to-become-a-god-of-correlation-searches-and-no.html"&gt;another question&lt;/A&gt;.&lt;/P&gt;</description>
      <pubDate>Fri, 01 Dec 2017 21:30:56 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Knowledge-Management/How-do-you-write-a-correlation-search-with-a-data-model/m-p/310460#M2706</guid>
      <dc:creator>test_qweqwe</dc:creator>
      <dc:date>2017-12-01T21:30:56Z</dc:date>
    </item>
    <item>
      <title>Re: How do you write a correlation search with a data model?</title>
      <link>https://community.splunk.com/t5/Knowledge-Management/How-do-you-write-a-correlation-search-with-a-data-model/m-p/310461#M2707</link>
      <description>&lt;P&gt;Try this;&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;| tstats summariesonly=t values(Web.url) AS url values(Web.http_method) AS method
WHERE Web.url="*struts2-rest-showcase*" AND Web.status="500"
BY Web.host Web.src
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;Do note that constraining to &lt;CODE&gt;500&lt;/CODE&gt; means that the other &lt;CODE&gt;status&lt;/CODE&gt; stuff is pointless because it will always be &lt;CODE&gt;500&lt;/CODE&gt;&lt;/P&gt;</description>
      <pubDate>Sun, 03 Dec 2017 18:09:16 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Knowledge-Management/How-do-you-write-a-correlation-search-with-a-data-model/m-p/310461#M2707</guid>
      <dc:creator>woodcock</dc:creator>
      <dc:date>2017-12-03T18:09:16Z</dc:date>
    </item>
    <item>
      <title>Re: How do you write a correlation search with a data model?</title>
      <link>https://community.splunk.com/t5/Knowledge-Management/How-do-you-write-a-correlation-search-with-a-data-model/m-p/310462#M2708</link>
      <description>&lt;P&gt;this search not working, but I see how it's looks, tnx!&lt;/P&gt;</description>
      <pubDate>Mon, 04 Dec 2017 11:52:08 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Knowledge-Management/How-do-you-write-a-correlation-search-with-a-data-model/m-p/310462#M2708</guid>
      <dc:creator>test_qweqwe</dc:creator>
      <dc:date>2017-12-04T11:52:08Z</dc:date>
    </item>
  </channel>
</rss>

