<?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: Splunk ES query which uses datamodel and also uses custom index values in Deployment Architecture</title>
    <link>https://community.splunk.com/t5/Deployment-Architecture/Splunk-ES-query-which-uses-datamodel-and-also-uses-custom-index/m-p/520834#M17920</link>
    <description>&lt;P&gt;The syntax used for the IN operator is incorrect.&amp;nbsp; Try&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;... |where Authentication.index IN(A,B,C)| ...&lt;/LI-CODE&gt;</description>
    <pubDate>Tue, 22 Sep 2020 12:38:50 GMT</pubDate>
    <dc:creator>richgalloway</dc:creator>
    <dc:date>2020-09-22T12:38:50Z</dc:date>
    <item>
      <title>Splunk ES query which uses datamodel and also uses custom index values</title>
      <link>https://community.splunk.com/t5/Deployment-Architecture/Splunk-ES-query-which-uses-datamodel-and-also-uses-custom-index/m-p/520803#M17919</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;I have a requirement to use write a splunk query which uses ES based data model to better make use of the fields provided and also I want to limit my search to my custom index values.&lt;/P&gt;&lt;P&gt;So, for example I want to make use of Authentication.Authentication to return fields action and _time using Authentication datamodel and the index values limited to A,B,C only and I tried with a query like below and it doesn't work.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;|`tstats` count from datamodel=Authentication.Authentication by _time,Authentication.action span=10m |where Authentication.index IN(index=A,B,C)|timechart minspan=10m count by Authentication.action|`drop_dm_object_name("Authentication")`&lt;/P&gt;&lt;P&gt;Thanks in advance!!&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 22 Sep 2020 11:44:40 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Deployment-Architecture/Splunk-ES-query-which-uses-datamodel-and-also-uses-custom-index/m-p/520803#M17919</guid>
      <dc:creator>indut</dc:creator>
      <dc:date>2020-09-22T11:44:40Z</dc:date>
    </item>
    <item>
      <title>Re: Splunk ES query which uses datamodel and also uses custom index values</title>
      <link>https://community.splunk.com/t5/Deployment-Architecture/Splunk-ES-query-which-uses-datamodel-and-also-uses-custom-index/m-p/520834#M17920</link>
      <description>&lt;P&gt;The syntax used for the IN operator is incorrect.&amp;nbsp; Try&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;... |where Authentication.index IN(A,B,C)| ...&lt;/LI-CODE&gt;</description>
      <pubDate>Tue, 22 Sep 2020 12:38:50 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Deployment-Architecture/Splunk-ES-query-which-uses-datamodel-and-also-uses-custom-index/m-p/520834#M17920</guid>
      <dc:creator>richgalloway</dc:creator>
      <dc:date>2020-09-22T12:38:50Z</dc:date>
    </item>
    <item>
      <title>Re: Splunk ES query which uses datamodel and also uses custom index values</title>
      <link>https://community.splunk.com/t5/Deployment-Architecture/Splunk-ES-query-which-uses-datamodel-and-also-uses-custom-index/m-p/520943#M17926</link>
      <description>&lt;P&gt;Thank you, this works &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 22 Sep 2020 23:20:36 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Deployment-Architecture/Splunk-ES-query-which-uses-datamodel-and-also-uses-custom-index/m-p/520943#M17926</guid>
      <dc:creator>indut</dc:creator>
      <dc:date>2020-09-22T23:20:36Z</dc:date>
    </item>
    <item>
      <title>Re: Splunk ES query which uses datamodel and also uses custom index values</title>
      <link>https://community.splunk.com/t5/Deployment-Architecture/Splunk-ES-query-which-uses-datamodel-and-also-uses-custom-index/m-p/521025#M17930</link>
      <description>&lt;P&gt;Hi, I thought I replied here but somehow I am unable to view my reply.&lt;/P&gt;&lt;P&gt;The above where condition is not working when I have 10-12 index to use inside IN(A,B,C.....K,L)&lt;/P&gt;&lt;P&gt;Issue 1: It says that where condition is missing closure with&amp;nbsp; )" when I use more that 2 index values&lt;/P&gt;&lt;P&gt;Issue 2: It returns the events but it won't display the events ( I tried verbose and fast modes) but I can't see the events ( I do encounter this situation even when no syntax errors/ no error message) not sure why this situation happens, appreciate response for this condition as well.&lt;/P&gt;&lt;P&gt;Please advise how how I can use filter the data model to fit only to my index values&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 23 Sep 2020 11:07:55 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Deployment-Architecture/Splunk-ES-query-which-uses-datamodel-and-also-uses-custom-index/m-p/521025#M17930</guid>
      <dc:creator>indut</dc:creator>
      <dc:date>2020-09-23T11:07:55Z</dc:date>
    </item>
  </channel>
</rss>

