<?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 add keepevicted=true in the datamodel or the query which uses datamodel (Data model has a transaction)? in Splunk Search</title>
    <link>https://community.splunk.com/t5/Splunk-Search/How-to-add-keepevicted-true-in-the-datamodel-or-the-query-which/m-p/206079#M59950</link>
    <description>&lt;P&gt;Can you try and see if you can edit the data model.&lt;/P&gt;

&lt;P&gt;You need to go to the data model "abc" and see the element which uses the &lt;CODE&gt;transaction&lt;/CODE&gt; command. In the edit search section of the element with the transaction command you just have to append &lt;CODE&gt;keepevicted=true&lt;/CODE&gt; . For example in abc data model if childElementA had the constraint search as &lt;CODE&gt;transaction sessionId&lt;/CODE&gt; then the constraint search should change as &lt;CODE&gt;transaction sessionId keepevicted=true&lt;/CODE&gt;. Save the element and the data model and try to run the search again to see it work.&lt;/P&gt;</description>
    <pubDate>Wed, 02 Nov 2016 01:42:57 GMT</pubDate>
    <dc:creator>gokadroid</dc:creator>
    <dc:date>2016-11-02T01:42:57Z</dc:date>
    <item>
      <title>How to add keepevicted=true in the datamodel or the query which uses datamodel (Data model has a transaction)?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-to-add-keepevicted-true-in-the-datamodel-or-the-query-which/m-p/206078#M59949</link>
      <description>&lt;P&gt;Hi, I've created a datamodel which has a TRANSACTION. When I try to use the datamodel query for a longer period of time say 7 days , I'm seeing the following error. &lt;/P&gt;

&lt;BLOCKQUOTE&gt;
&lt;P&gt;Some transactions have been discarded.&lt;BR /&gt;
To include them, add keepevicted=true&lt;BR /&gt;
to your transaction command.&lt;/P&gt;
&lt;/BLOCKQUOTE&gt;

&lt;P&gt;Query Used -&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;| datamodel abc abc_Transaction search
| search xyz
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;How to add keepevicted=true to the transaction command in the datamodel?&lt;/P&gt;

&lt;P&gt;Thanks.&lt;/P&gt;</description>
      <pubDate>Tue, 01 Nov 2016 17:34:47 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-to-add-keepevicted-true-in-the-datamodel-or-the-query-which/m-p/206078#M59949</guid>
      <dc:creator>Kukkadapu</dc:creator>
      <dc:date>2016-11-01T17:34:47Z</dc:date>
    </item>
    <item>
      <title>Re: How to add keepevicted=true in the datamodel or the query which uses datamodel (Data model has a transaction)?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-to-add-keepevicted-true-in-the-datamodel-or-the-query-which/m-p/206079#M59950</link>
      <description>&lt;P&gt;Can you try and see if you can edit the data model.&lt;/P&gt;

&lt;P&gt;You need to go to the data model "abc" and see the element which uses the &lt;CODE&gt;transaction&lt;/CODE&gt; command. In the edit search section of the element with the transaction command you just have to append &lt;CODE&gt;keepevicted=true&lt;/CODE&gt; . For example in abc data model if childElementA had the constraint search as &lt;CODE&gt;transaction sessionId&lt;/CODE&gt; then the constraint search should change as &lt;CODE&gt;transaction sessionId keepevicted=true&lt;/CODE&gt;. Save the element and the data model and try to run the search again to see it work.&lt;/P&gt;</description>
      <pubDate>Wed, 02 Nov 2016 01:42:57 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-to-add-keepevicted-true-in-the-datamodel-or-the-query-which/m-p/206079#M59950</guid>
      <dc:creator>gokadroid</dc:creator>
      <dc:date>2016-11-02T01:42:57Z</dc:date>
    </item>
    <item>
      <title>Re: How to add keepevicted=true in the datamodel or the query which uses datamodel (Data model has a transaction)?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-to-add-keepevicted-true-in-the-datamodel-or-the-query-which/m-p/206080#M59951</link>
      <description>&lt;P&gt;Hi, I've opened the datamodel via UI. I don't see transaction xxx , to add keepevicted=true. Can you elaborate where to add the keepevicted ?&lt;/P&gt;

&lt;P&gt;Thanks&lt;/P&gt;</description>
      <pubDate>Wed, 02 Nov 2016 19:34:31 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-to-add-keepevicted-true-in-the-datamodel-or-the-query-which/m-p/206080#M59951</guid>
      <dc:creator>Kukkadapu</dc:creator>
      <dc:date>2016-11-02T19:34:31Z</dc:date>
    </item>
  </channel>
</rss>

