<?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: Cannot get data Index in Datamodel in Deployment Architecture</title>
    <link>https://community.splunk.com/t5/Deployment-Architecture/Cannot-get-data-Index-in-Datamodel/m-p/700259#M28641</link>
    <description>&lt;P&gt;Are you able to go to one of those 500 Error lines, then post 10-20 of the previous lines? If it contains sensitive data then you should sanitize it before posting.&lt;/P&gt;</description>
    <pubDate>Thu, 26 Sep 2024 18:23:53 GMT</pubDate>
    <dc:creator>marnall</dc:creator>
    <dc:date>2024-09-26T18:23:53Z</dc:date>
    <item>
      <title>Cannot get data Index in Datamodel</title>
      <link>https://community.splunk.com/t5/Deployment-Architecture/Cannot-get-data-Index-in-Datamodel/m-p/699775#M28620</link>
      <description>&lt;P&gt;Hi there,&amp;nbsp;&lt;/P&gt;&lt;P&gt;I was ingest new server to new index (Ubuntu with UF)&amp;nbsp;&lt;/P&gt;&lt;P&gt;Let say my index is index=ABC&amp;nbsp;&lt;/P&gt;&lt;P&gt;I want to connect it in Datamodel, unfortunately im not the first who was create it. And when i check it i got error "&lt;SPAN&gt;This object has no explicit index constraint. Consider adding one for better performance.&lt;/SPAN&gt;"&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="zksvc_0-1727060145735.png" style="width: 400px;"&gt;&lt;img src="https://community.splunk.com/t5/image/serverpage/image-id/32734i2FBED663B0E3B1B4/image-size/medium?v=v2&amp;amp;px=400" role="button" title="zksvc_0-1727060145735.png" alt="zksvc_0-1727060145735.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;And when i check it in macros `&lt;SPAN&gt;cim_Endpoint_indexes` it only show ()&amp;nbsp;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="zksvc_1-1727060234986.png" style="width: 400px;"&gt;&lt;img src="https://community.splunk.com/t5/image/serverpage/image-id/32735i80A1ABCCFF39E94E/image-size/medium?v=v2&amp;amp;px=400" role="button" title="zksvc_1-1727060234986.png" alt="zksvc_1-1727060234986.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;When i want to add my new index in that macros i got this 500 server error&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="zksvc_2-1727060286528.png" style="width: 400px;"&gt;&lt;img src="https://community.splunk.com/t5/image/serverpage/image-id/32736i88A91820A5961405/image-size/medium?v=v2&amp;amp;px=400" role="button" title="zksvc_2-1727060286528.png" alt="zksvc_2-1727060286528.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;According from this question :&amp;nbsp;&lt;A href="https://community.splunk.com/t5/Knowledge-Management/Adding-index-to-accelerated-CIM-datamodel/m-p/586847#M8722" target="_blank" rel="noopener"&gt;https://community.splunk.com/t5/Knowledge-Management/Adding-index-to-accelerated-CIM-datamodel/m-p/586847#M8722&lt;/A&gt;&amp;nbsp;it said 2 solution :&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;if you don't rebuild the DataModel, Splunk will start to add logs from that index when you&amp;nbsp; save the macro and old events aren't added to the Datamodel, only the new ones,&lt;/LI&gt;&lt;LI&gt;if you rebuild the DataModel, Splunk will add to the DataModel all the events in all indexes contained in the macro until the retention period (e.g. Network Traffic 1month, Authentication 1 year, and so on).&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;Since i know it cannot add from macros, i create new Eventtype and Tag for my new index.&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="zksvc_3-1727060666062.png" style="width: 400px;"&gt;&lt;img src="https://community.splunk.com/t5/image/serverpage/image-id/32737i0B29FE9AAEC011F2/image-size/medium?v=v2&amp;amp;px=400" role="button" title="zksvc_3-1727060666062.png" alt="zksvc_3-1727060666062.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;And that Eventtype also in Tag like this&amp;nbsp;&lt;/P&gt;&lt;TABLE border="1" width="100%"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD width="50%" height="25px"&gt;Eventtype&lt;/TD&gt;&lt;TD width="50%" height="25px"&gt;Tag&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD width="50%" height="25px"&gt;eventtype=ABC_endpoint_event&lt;/TD&gt;&lt;TD width="50%" height="25px"&gt;tag=endpoint, tag=asset, tag=network&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD width="50%" height="25px"&gt;eventtype=ABC_process_event&lt;/TD&gt;&lt;TD width="50%" height="25px"&gt;tag=process, tag=endpoint&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD width="50%" height="25px"&gt;eventtype=ABC_network_event&lt;/TD&gt;&lt;TD width="50%" height="25px"&gt;tag=network, tag=communication&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD width="50%" height="25px"&gt;eventtype=ABC_security_event&lt;/TD&gt;&lt;TD width="50%" height="25px"&gt;tag=security, tag=endpoint&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;One from base search in Datamodel Endpoint is using tag=process&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="javascript"&gt;(`cim_Endpoint_indexes`) tag=process tag=report | eval process_integrity_level=lower(process_integrity_level)&lt;/LI-CODE&gt;&lt;P&gt;From that query it calling tag=process&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;But when i try to running it, it don't show my new index.&amp;nbsp;&lt;/P&gt;&lt;P&gt;Anyone can help me to solving this issue ?&amp;nbsp;&lt;/P&gt;&lt;P&gt;~Danke&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 23 Sep 2024 03:14:45 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Deployment-Architecture/Cannot-get-data-Index-in-Datamodel/m-p/699775#M28620</guid>
      <dc:creator>zksvc</dc:creator>
      <dc:date>2024-09-23T03:14:45Z</dc:date>
    </item>
    <item>
      <title>Re: Cannot get data Index in Datamodel</title>
      <link>https://community.splunk.com/t5/Deployment-Architecture/Cannot-get-data-Index-in-Datamodel/m-p/700140#M28635</link>
      <description>&lt;P&gt;If you do not specify an index= filter in your search, then Splunk will search your role's default indexes, which can be toggled in the role settings. If you have no default indexes or no data in your default indexes, then no results will appear.&lt;/P&gt;&lt;P&gt;The purpose of the cim_Endpoint_indexes macro is to list the indexes from which to find data to populate the data model, so you /should/ be able to list your index filters in there. E.g.&lt;BR /&gt;index=ABC&lt;BR /&gt;or&lt;BR /&gt;index IN (ABC,DEF)&lt;/P&gt;&lt;P&gt;The problem is that your Splunk instance is returning a 500 Internal Server Error when you try to edit the macro. In a working system it would not do that. Can you check the web_service.log to see what is causing the problem?&lt;/P&gt;&lt;P&gt;If you can access the shell of your splunk search head and it is Linux, then the log should be findable at:&lt;/P&gt;&lt;P&gt;/opt/splunk/var/log/splunk/web_service.log&lt;/P&gt;</description>
      <pubDate>Wed, 25 Sep 2024 20:48:54 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Deployment-Architecture/Cannot-get-data-Index-in-Datamodel/m-p/700140#M28635</guid>
      <dc:creator>marnall</dc:creator>
      <dc:date>2024-09-25T20:48:54Z</dc:date>
    </item>
    <item>
      <title>Re: Cannot get data Index in Datamodel</title>
      <link>https://community.splunk.com/t5/Deployment-Architecture/Cannot-get-data-Index-in-Datamodel/m-p/700193#M28637</link>
      <description>&lt;P&gt;i was download log file in `&lt;SPAN&gt;/opt/splunk/var/log/splunk/web_service.log` and i open with Notepad++ like this&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="zksvc_0-1727349192179.png" style="width: 400px;"&gt;&lt;img src="https://community.splunk.com/t5/image/serverpage/image-id/32817i758A6AE6DA220779/image-size/medium?v=v2&amp;amp;px=400" role="button" title="zksvc_0-1727349192179.png" alt="zksvc_0-1727349192179.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;When i search 500 ERROR it showed too much data, could you please give me specify keyword? Because when i want to search macros it not show anything.&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="zksvc_1-1727349312837.png" style="width: 400px;"&gt;&lt;img src="https://community.splunk.com/t5/image/serverpage/image-id/32818iFA39960F66374118/image-size/medium?v=v2&amp;amp;px=400" role="button" title="zksvc_1-1727349312837.png" alt="zksvc_1-1727349312837.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;Sorry very confuse about it&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 26 Sep 2024 11:16:35 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Deployment-Architecture/Cannot-get-data-Index-in-Datamodel/m-p/700193#M28637</guid>
      <dc:creator>zksvc</dc:creator>
      <dc:date>2024-09-26T11:16:35Z</dc:date>
    </item>
    <item>
      <title>Re: Cannot get data Index in Datamodel</title>
      <link>https://community.splunk.com/t5/Deployment-Architecture/Cannot-get-data-Index-in-Datamodel/m-p/700202#M28638</link>
      <description>&lt;P&gt;Small correction. If you don't define the cim_* macros their contents will of course be empty and while searching &lt;EM&gt;without using the accelerated summaries&lt;/EM&gt; in your ad-hoc or scheduled searches it will use indeed your user's role's default indexes, the datamodel acceleration summary building searches will be spawned with the system user's default indexes which is an empty list. You need to have explicitly defined list of indexes to have CIM acceleration built properly.&lt;/P&gt;</description>
      <pubDate>Thu, 26 Sep 2024 12:14:01 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Deployment-Architecture/Cannot-get-data-Index-in-Datamodel/m-p/700202#M28638</guid>
      <dc:creator>PickleRick</dc:creator>
      <dc:date>2024-09-26T12:14:01Z</dc:date>
    </item>
    <item>
      <title>Re: Cannot get data Index in Datamodel</title>
      <link>https://community.splunk.com/t5/Deployment-Architecture/Cannot-get-data-Index-in-Datamodel/m-p/700259#M28641</link>
      <description>&lt;P&gt;Are you able to go to one of those 500 Error lines, then post 10-20 of the previous lines? If it contains sensitive data then you should sanitize it before posting.&lt;/P&gt;</description>
      <pubDate>Thu, 26 Sep 2024 18:23:53 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Deployment-Architecture/Cannot-get-data-Index-in-Datamodel/m-p/700259#M28641</guid>
      <dc:creator>marnall</dc:creator>
      <dc:date>2024-09-26T18:23:53Z</dc:date>
    </item>
    <item>
      <title>Re: Cannot get data Index in Datamodel</title>
      <link>https://community.splunk.com/t5/Deployment-Architecture/Cannot-get-data-Index-in-Datamodel/m-p/700281#M28642</link>
      <description>&lt;P&gt;I think there is no sensitive data, so here the full error message&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;2024-09-23 21:06:30,760 INFO	[66f175e6c17fc8d479ab10] error:337 - 500 Internal Server Error The server encountered an unexpected condition which prevented it from fulfilling the request.
2024-09-23 21:06:30,760 ERROR	[66f175e6c17fc8d479ab10] error:338 - Traceback (most recent call last):
  File "/opt/splunk/lib/python3.7/site-packages/cherrypy/_cprequest.py", line 628, in respond
    self._do_respond(path_info)
  File "/opt/splunk/lib/python3.7/site-packages/cherrypy/_cprequest.py", line 687, in _do_respond
    response.body = self.handler()
  File "/opt/splunk/lib/python3.7/site-packages/cherrypy/lib/encoding.py", line 219, in __call__
    self.body = self.oldhandler(*args, **kwargs)
  File "/opt/splunk/lib/python3.7/site-packages/splunk/appserver/mrsparkle/lib/htmlinjectiontoolfactory.py", line 75, in wrapper
    resp = handler(*args, **kwargs)
  File "/opt/splunk/lib/python3.7/site-packages/cherrypy/_cpdispatch.py", line 54, in __call__
    return self.callable(*self.args, **self.kwargs)
  File "&amp;amp;lt;/opt/splunk/lib/python3.7/site-packages/decorator.py:decorator-gen-2042&amp;amp;gt;", line 2, in help
  File "/opt/splunk/lib/python3.7/site-packages/splunk/appserver/mrsparkle/lib/decorators.py", line 41, in rundecs
    return fn(*a, **kw)
  File "&amp;amp;lt;/opt/splunk/lib/python3.7/site-packages/decorator.py:decorator-gen-2040&amp;amp;gt;", line 2, in help
  File "/opt/splunk/lib/python3.7/site-packages/splunk/appserver/mrsparkle/lib/decorators.py", line 102, in check
    if verify_session and not util.checkRequestForValidFormKey(requireValidFormKey=must_login):
  File "/opt/splunk/lib/python3.7/site-packages/splunk/appserver/mrsparkle/lib/util.py", line 1481, in checkRequestForValidFormKey
    if not isValidFormKey(form_key) or not doesFormKeyMatchCookie(form_key):
  File "/opt/splunk/lib/python3.7/site-packages/splunk/appserver/mrsparkle/lib/util.py", line 1452, in isValidFormKey
    logger.warn('CSRF form_key mismatch received=%s expected[redacted]=%s' % (key, getFormKey()[-4:]))
TypeError: 'NoneType' object is not subscriptable&lt;/LI-CODE&gt;&lt;P&gt;Before that i would to say thankyou for reply this post and want to help me&lt;/P&gt;</description>
      <pubDate>Fri, 27 Sep 2024 01:43:51 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Deployment-Architecture/Cannot-get-data-Index-in-Datamodel/m-p/700281#M28642</guid>
      <dc:creator>zksvc</dc:creator>
      <dc:date>2024-09-27T01:43:51Z</dc:date>
    </item>
    <item>
      <title>Re: Cannot get data Index in Datamodel</title>
      <link>https://community.splunk.com/t5/Deployment-Architecture/Cannot-get-data-Index-in-Datamodel/m-p/700312#M28643</link>
      <description>&lt;P&gt;OK. It seems to be CSRF-prevention cookie related. Try clearing your browser cache and cookies. Maybe your browser has some invalid cookie stored which it supplies with your requests.&lt;/P&gt;</description>
      <pubDate>Fri, 27 Sep 2024 07:38:28 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Deployment-Architecture/Cannot-get-data-Index-in-Datamodel/m-p/700312#M28643</guid>
      <dc:creator>PickleRick</dc:creator>
      <dc:date>2024-09-27T07:38:28Z</dc:date>
    </item>
    <item>
      <title>Re: Cannot get data Index in Datamodel</title>
      <link>https://community.splunk.com/t5/Deployment-Architecture/Cannot-get-data-Index-in-Datamodel/m-p/700445#M28654</link>
      <description>&lt;P&gt;As Picklerick suggests, this may resolve if you clear your cookies and/or cache.&lt;/P&gt;</description>
      <pubDate>Sat, 28 Sep 2024 19:27:20 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Deployment-Architecture/Cannot-get-data-Index-in-Datamodel/m-p/700445#M28654</guid>
      <dc:creator>marnall</dc:creator>
      <dc:date>2024-09-28T19:27:20Z</dc:date>
    </item>
    <item>
      <title>Re: Cannot get data Index in Datamodel</title>
      <link>https://community.splunk.com/t5/Deployment-Architecture/Cannot-get-data-Index-in-Datamodel/m-p/700460#M28655</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.splunk.com/t5/user/viewprofilepage/user-id/231884"&gt;@PickleRick&lt;/a&gt;&amp;nbsp;&lt;a href="https://community.splunk.com/t5/user/viewprofilepage/user-id/263556"&gt;@marnall&lt;/a&gt;&amp;nbsp;&lt;BR /&gt;Thankyou for your advice, but unfortunately i still can't change it even after i clear my&amp;nbsp;&lt;SPAN&gt;cookies and/or cache.&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Can this issue solved using another method ? &lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Sun, 29 Sep 2024 03:33:06 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Deployment-Architecture/Cannot-get-data-Index-in-Datamodel/m-p/700460#M28655</guid>
      <dc:creator>zksvc</dc:creator>
      <dc:date>2024-09-29T03:33:06Z</dc:date>
    </item>
    <item>
      <title>Re: Cannot get data Index in Datamodel</title>
      <link>https://community.splunk.com/t5/Deployment-Architecture/Cannot-get-data-Index-in-Datamodel/m-p/700463#M28657</link>
      <description>&lt;P&gt;Well, not everything can be solved just by joined community wisdom. Sometimes you simply have to raise support case.&lt;/P&gt;</description>
      <pubDate>Sun, 29 Sep 2024 05:23:25 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Deployment-Architecture/Cannot-get-data-Index-in-Datamodel/m-p/700463#M28657</guid>
      <dc:creator>PickleRick</dc:creator>
      <dc:date>2024-09-29T05:23:25Z</dc:date>
    </item>
    <item>
      <title>Re: Cannot get data Index in Datamodel</title>
      <link>https://community.splunk.com/t5/Deployment-Architecture/Cannot-get-data-Index-in-Datamodel/m-p/700476#M28667</link>
      <description>&lt;P&gt;There are some troubleshooting steps you could try:&lt;/P&gt;&lt;P&gt;1. Use a different browser&lt;BR /&gt;2. Try to edit other macros&lt;BR /&gt;3. Try to add a new macro&lt;BR /&gt;4. Try to edit other knowledge objects, like field extractions, dashboards, etc&lt;BR /&gt;5. Make a new user with very high permissions (e.g. admin) and try editing the macro with it&lt;BR /&gt;6. Install a new search head, connect it to your indexers, then edit the macro&lt;/P&gt;</description>
      <pubDate>Sun, 29 Sep 2024 12:05:53 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Deployment-Architecture/Cannot-get-data-Index-in-Datamodel/m-p/700476#M28667</guid>
      <dc:creator>marnall</dc:creator>
      <dc:date>2024-09-29T12:05:53Z</dc:date>
    </item>
  </channel>
</rss>

