<?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 Kubernetes Create index by Namespace in All Apps and Add-ons</title>
    <link>https://community.splunk.com/t5/All-Apps-and-Add-ons/Splunk-Kubernetes-Create-index-by-Namespace/m-p/477009#M74364</link>
    <description>&lt;P&gt;does the Namespace to Index Routing section on the readme help?&lt;/P&gt;

&lt;P&gt;&lt;A href="https://github.com/splunk/splunk-connect-for-kubernetes/blob/develop/README.md"&gt;https://github.com/splunk/splunk-connect-for-kubernetes/blob/develop/README.md&lt;/A&gt;&lt;/P&gt;</description>
    <pubDate>Sat, 14 Sep 2019 15:07:25 GMT</pubDate>
    <dc:creator>maciep</dc:creator>
    <dc:date>2019-09-14T15:07:25Z</dc:date>
    <item>
      <title>Splunk Kubernetes Create index by Namespace</title>
      <link>https://community.splunk.com/t5/All-Apps-and-Add-ons/Splunk-Kubernetes-Create-index-by-Namespace/m-p/477008#M74363</link>
      <description>&lt;P&gt;Hi&lt;BR /&gt;
Little background&lt;BR /&gt;
I have a EKS cluster and On Premise splunk cluster. We have 5-10 application micro-service running on EKS.&lt;BR /&gt;
I want ingest logs into the Splunk from EKS K8.&lt;BR /&gt;
Splunk Connector has been configured and able to ingest logs.&lt;/P&gt;

&lt;P&gt;At present all the K8 pods logs converged into splunk-objects pods and object pod logs are mapped to one index (kube_obj-index)in the splunk.&lt;/P&gt;

&lt;P&gt;index="kube_obj-index" namespace="myapplication1" "GET" | collect index=myapplication1-logs&lt;BR /&gt;
index="kube_obj-index" namespace="myapplication2" "GET" | collect index=myapplication2-logs&lt;BR /&gt;
index="kube_obj-index" namespace="myapplication3" "GET" | collect index=myapplication3-logs&lt;/P&gt;

&lt;P&gt;I need to help to modify yaml files so that i want each Kubernetes Namespace logs goes to separate index in the Splunk.&lt;/P&gt;</description>
      <pubDate>Wed, 30 Sep 2020 02:08:09 GMT</pubDate>
      <guid>https://community.splunk.com/t5/All-Apps-and-Add-ons/Splunk-Kubernetes-Create-index-by-Namespace/m-p/477008#M74363</guid>
      <dc:creator>rmurali4u</dc:creator>
      <dc:date>2020-09-30T02:08:09Z</dc:date>
    </item>
    <item>
      <title>Re: Splunk Kubernetes Create index by Namespace</title>
      <link>https://community.splunk.com/t5/All-Apps-and-Add-ons/Splunk-Kubernetes-Create-index-by-Namespace/m-p/477009#M74364</link>
      <description>&lt;P&gt;does the Namespace to Index Routing section on the readme help?&lt;/P&gt;

&lt;P&gt;&lt;A href="https://github.com/splunk/splunk-connect-for-kubernetes/blob/develop/README.md"&gt;https://github.com/splunk/splunk-connect-for-kubernetes/blob/develop/README.md&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Sat, 14 Sep 2019 15:07:25 GMT</pubDate>
      <guid>https://community.splunk.com/t5/All-Apps-and-Add-ons/Splunk-Kubernetes-Create-index-by-Namespace/m-p/477009#M74364</guid>
      <dc:creator>maciep</dc:creator>
      <dc:date>2019-09-14T15:07:25Z</dc:date>
    </item>
    <item>
      <title>Re: Splunk Kubernetes Create index by Namespace</title>
      <link>https://community.splunk.com/t5/All-Apps-and-Add-ons/Splunk-Kubernetes-Create-index-by-Namespace/m-p/477010#M74365</link>
      <description>&lt;P&gt;@maciep &lt;/P&gt;

&lt;P&gt;Thanks I will try and let you know. &lt;/P&gt;</description>
      <pubDate>Tue, 17 Sep 2019 16:49:37 GMT</pubDate>
      <guid>https://community.splunk.com/t5/All-Apps-and-Add-ons/Splunk-Kubernetes-Create-index-by-Namespace/m-p/477010#M74365</guid>
      <dc:creator>rmurali4u</dc:creator>
      <dc:date>2019-09-17T16:49:37Z</dc:date>
    </item>
    <item>
      <title>Re: Splunk Kubernetes Create index by Namespace</title>
      <link>https://community.splunk.com/t5/All-Apps-and-Add-ons/Splunk-Kubernetes-Create-index-by-Namespace/m-p/477011#M74366</link>
      <description>&lt;P&gt;@richgalloway &lt;BR /&gt;
Sorry I don't see your comment. Would you please post it again.Thanks&lt;/P&gt;</description>
      <pubDate>Tue, 17 Sep 2019 16:50:53 GMT</pubDate>
      <guid>https://community.splunk.com/t5/All-Apps-and-Add-ons/Splunk-Kubernetes-Create-index-by-Namespace/m-p/477011#M74366</guid>
      <dc:creator>rmurali4u</dc:creator>
      <dc:date>2019-09-17T16:50:53Z</dc:date>
    </item>
    <item>
      <title>Re: Splunk Kubernetes Create index by Namespace</title>
      <link>https://community.splunk.com/t5/All-Apps-and-Add-ons/Splunk-Kubernetes-Create-index-by-Namespace/m-p/477012#M74367</link>
      <description>&lt;H1&gt;This is the information &lt;/H1&gt;

&lt;P&gt;For example: Consider the following kubernetes namespace to splunk index topology.&lt;BR /&gt;
(Namespace) -&amp;gt; (Splunk Index)&lt;BR /&gt;
kube-system -&amp;gt; kube-system&lt;BR /&gt;
kube-public -&amp;gt; kube-public&lt;BR /&gt;
default -&amp;gt; indexRoutingDefaultIndex For this topology to work appropriately we have to create the splunk indexes "kube-system", "kube-public" and the value of indexRoutingDefaultIndex.&lt;/P&gt;

&lt;P&gt;I have created below indexes&lt;BR /&gt;
kube-system&lt;BR /&gt;
kube-public&lt;BR /&gt;
namespace1&lt;BR /&gt;
namespace2&lt;/P&gt;

&lt;P&gt;HEC_TOKEN is mapped to an index in the splunk. I used that index as a default index. &lt;BR /&gt;
I am getting below error. &lt;/P&gt;

&lt;P&gt;19-09-17 17:20:47 +0000 [info]: #0 fluentd worker is now running worker=0&lt;BR /&gt;
19-09-17 17:20:53 +0000 [error]: #0 Failed POST to &lt;A href="https://test.solutions.company.com/services/collector"&gt;https://test.solutions.company.com/services/collector&lt;/A&gt;, response: {"text":"Incorrect index","code":7,"invalid-event-number":1}&lt;BR /&gt;
19-09-17 17:21:00 +0000 [error]: #0 Failed POST to &lt;A href="https://test.solutions.company.com/services/collector"&gt;https://test.solutions.company.com/services/collector&lt;/A&gt;, response: {"text":"Incorrect index","code":7,"invalid-event-number":1}&lt;BR /&gt;
19-09-17 17:21:07 +0000 [error]: #0 Failed POST to &lt;A href="https://test.solutions.company.com/services/collector"&gt;https://test.solutions.company.com/services/collector&lt;/A&gt;, response: {"text":"Incorrect index","code":7,"invalid-event-number":1}&lt;BR /&gt;
19-09-17 17:21:14 +0000 [error]: #0 Failed POST to &lt;A href="https://test.solutions.company.com/services/collector"&gt;https://test.solutions.company.com/services/collector&lt;/A&gt;, response: {"text":"Incorrect index","code":7,"invalid-event-number":1}&lt;BR /&gt;
19-09-17 17:21:21 +0000 [error]: #0 Failed POST to &lt;A href="https://test.solutions.company.com/services/collector"&gt;https://test.solutions.company.com/services/collector&lt;/A&gt;, response: {"text":"Incorrect index","code":7,"invalid-event-number":1}&lt;BR /&gt;
19-09-17 17:21:28 +0000 [error]: #0 Failed POST to &lt;A href="https://test.solutions.company.com/services/collector"&gt;https://test.solutions.company.com/services/collector&lt;/A&gt;, response: {"text":"Incorrect index","code":7,"invalid-event-number":1}&lt;BR /&gt;
19-09-17 17:21:34 +0000 [error]: #0 Failed POST to &lt;A href="https://test.solutions.company.com/services/collector"&gt;https://test.solutions.company.com/services/collector&lt;/A&gt;, response: {"text":"Incorrect index","code":7,"invalid-event-number":1}&lt;/P&gt;

&lt;P&gt;Any thought and do you think i am doing anything wrong. &lt;/P&gt;

&lt;P&gt;Thanks.&lt;/P&gt;</description>
      <pubDate>Tue, 17 Sep 2019 17:58:41 GMT</pubDate>
      <guid>https://community.splunk.com/t5/All-Apps-and-Add-ons/Splunk-Kubernetes-Create-index-by-Namespace/m-p/477012#M74367</guid>
      <dc:creator>rmurali4u</dc:creator>
      <dc:date>2019-09-17T17:58:41Z</dc:date>
    </item>
    <item>
      <title>Re: Splunk Kubernetes Create index by Namespace</title>
      <link>https://community.splunk.com/t5/All-Apps-and-Add-ons/Splunk-Kubernetes-Create-index-by-Namespace/m-p/477013#M74368</link>
      <description>&lt;P&gt;Are you specifying "allowed" indexes for that token on the HEC.  I think that's when I've seen the "Incorrect index" problem before - the index you're sending to isn't in the allowed list.&lt;/P&gt;

&lt;P&gt;I think typically the approach is to not define any allowed indexes and rely on the default index to catch unexpected data.&lt;/P&gt;</description>
      <pubDate>Tue, 17 Sep 2019 19:04:24 GMT</pubDate>
      <guid>https://community.splunk.com/t5/All-Apps-and-Add-ons/Splunk-Kubernetes-Create-index-by-Namespace/m-p/477013#M74368</guid>
      <dc:creator>maciep</dc:creator>
      <dc:date>2019-09-17T19:04:24Z</dc:date>
    </item>
    <item>
      <title>Re: Splunk Kubernetes Create index by Namespace</title>
      <link>https://community.splunk.com/t5/All-Apps-and-Add-ons/Splunk-Kubernetes-Create-index-by-Namespace/m-p/477014#M74369</link>
      <description>&lt;P&gt;@maciep Thanks for your comment.  It worked&lt;/P&gt;</description>
      <pubDate>Fri, 06 Dec 2019 19:04:28 GMT</pubDate>
      <guid>https://community.splunk.com/t5/All-Apps-and-Add-ons/Splunk-Kubernetes-Create-index-by-Namespace/m-p/477014#M74369</guid>
      <dc:creator>rmurali4u</dc:creator>
      <dc:date>2019-12-06T19:04:28Z</dc:date>
    </item>
    <item>
      <title>Re: Splunk Kubernetes Create index by Namespace</title>
      <link>https://community.splunk.com/t5/All-Apps-and-Add-ons/Splunk-Kubernetes-Create-index-by-Namespace/m-p/477015#M74370</link>
      <description>&lt;P&gt;have you solved this, or do you still need help? Our dev branch has annotation support in preview now as well. &lt;/P&gt;</description>
      <pubDate>Wed, 29 Jan 2020 16:53:55 GMT</pubDate>
      <guid>https://community.splunk.com/t5/All-Apps-and-Add-ons/Splunk-Kubernetes-Create-index-by-Namespace/m-p/477015#M74370</guid>
      <dc:creator>mattymo</dc:creator>
      <dc:date>2020-01-29T16:53:55Z</dc:date>
    </item>
    <item>
      <title>Re: Splunk Kubernetes Create index by Namespace</title>
      <link>https://community.splunk.com/t5/All-Apps-and-Add-ons/Splunk-Kubernetes-Create-index-by-Namespace/m-p/550311#M74371</link>
      <description>&lt;P&gt;Hello&amp;nbsp;&lt;a href="https://community.splunk.com/t5/user/viewprofilepage/user-id/205202"&gt;@rmurali4u&lt;/a&gt;&amp;nbsp;I'm running into the same issue. I'm running 1.4.7 version connector. Any inputs would be helpful.&lt;/P&gt;</description>
      <pubDate>Tue, 04 May 2021 01:13:28 GMT</pubDate>
      <guid>https://community.splunk.com/t5/All-Apps-and-Add-ons/Splunk-Kubernetes-Create-index-by-Namespace/m-p/550311#M74371</guid>
      <dc:creator>vaibhav</dc:creator>
      <dc:date>2021-05-04T01:13:28Z</dc:date>
    </item>
  </channel>
</rss>

