<?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: Add a tag (i.e.: environment) to events on a server class. in Getting Data In</title>
    <link>https://community.splunk.com/t5/Getting-Data-In/Add-a-tag-i-e-environment-to-events-on-a-server-class/m-p/186630#M37383</link>
    <description>&lt;P&gt;Thank you for your comment Martin, but that's not the best option for me, I would have to create 4 new environments, I have 3 acceptance environments (qa) plus preprod. Prod is already separated, but I don't need more granularity then that.&lt;/P&gt;

&lt;P&gt;Any other options?&lt;/P&gt;</description>
    <pubDate>Wed, 13 May 2015 12:48:10 GMT</pubDate>
    <dc:creator>gmjunior</dc:creator>
    <dc:date>2015-05-13T12:48:10Z</dc:date>
    <item>
      <title>Add a tag (i.e.: environment) to events on a server class.</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Add-a-tag-i-e-environment-to-events-on-a-server-class/m-p/186628#M37381</link>
      <description>&lt;P&gt;I have multiple environments (QA, PreProd, Prod) sending data to splunk, and I'm using deployment server to manage all forwarders.&lt;BR /&gt;
I'm thinking of creating an "app" called Linux, that will "configure" or "add" the input I want to monitor for that specific kind app (i.e: Linux), but I want to separate the data into different indexes (or tag them in some way) by environment but I didn't realize how can I do that, if possible.&lt;/P&gt;

&lt;P&gt;Ex: &lt;BR /&gt;
/etc/deployment-apps/linux/local/inputs:&lt;BR /&gt;
 [monitor:///var/log/messages]&lt;BR /&gt;
disabled = false&lt;BR /&gt;
sourcetype = linux_messages_syslog&lt;BR /&gt;
[monitor:///var/log/secure]&lt;BR /&gt;
disabled = false&lt;BR /&gt;
sourcetype = linux_secure&lt;/P&gt;

&lt;P&gt;Then I would want to tie this app to various server-class. Something like:&lt;BR /&gt;
LinuxProd, LinuxQA, etc.&lt;BR /&gt;
And for that tie, I want to set the index. LinuxQA will have the same inputs as LinuxProd but different indexes.&lt;/P&gt;

&lt;P&gt;I know I can achieve that by creating different apps with, something like this:&lt;/P&gt;

&lt;P&gt;Ex: &lt;BR /&gt;
/etc/deployment-apps/linux_qa/local/inputs:&lt;BR /&gt;
[monitor:///var/log/messages]&lt;BR /&gt;
disabled = false&lt;BR /&gt;
sourcetype = linux_messages_syslog&lt;BR /&gt;
index = linux_qa&lt;/P&gt;

&lt;P&gt;[monitor:///var/log/secure]&lt;BR /&gt;
disabled = false&lt;BR /&gt;
sourcetype = linux_secure&lt;BR /&gt;
index = linux_qa&lt;/P&gt;

&lt;P&gt;And /etc/deployment-apps/linux_prod/local/inputs:&lt;/P&gt;

&lt;P&gt;[monitor:///var/log/messages]&lt;BR /&gt;
disabled = false&lt;BR /&gt;
sourcetype = linux_messages_syslog&lt;BR /&gt;
index = linux_prod&lt;/P&gt;

&lt;P&gt;[monitor:///var/log/secure]&lt;BR /&gt;
disabled = false&lt;BR /&gt;
sourcetype = linux_secure&lt;BR /&gt;
index = linux_prod&lt;/P&gt;

&lt;P&gt;But that doesn't feel right. Any  help would be really appreciated.&lt;BR /&gt;
Thanks&lt;/P&gt;</description>
      <pubDate>Mon, 28 Sep 2020 19:53:25 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Add-a-tag-i-e-environment-to-events-on-a-server-class/m-p/186628#M37381</guid>
      <dc:creator>gmjunior</dc:creator>
      <dc:date>2020-09-28T19:53:25Z</dc:date>
    </item>
    <item>
      <title>Re: Add a tag (i.e.: environment) to events on a server class.</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Add-a-tag-i-e-environment-to-events-on-a-server-class/m-p/186629#M37382</link>
      <description>&lt;P&gt;I'd recommend setting up separate splunk environments for qa and prod that each have an index called linux. Then you can use one without affecting the other &lt;EM&gt;and&lt;/EM&gt; reuse your apps.&lt;/P&gt;</description>
      <pubDate>Tue, 12 May 2015 22:16:08 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Add-a-tag-i-e-environment-to-events-on-a-server-class/m-p/186629#M37382</guid>
      <dc:creator>martin_mueller</dc:creator>
      <dc:date>2015-05-12T22:16:08Z</dc:date>
    </item>
    <item>
      <title>Re: Add a tag (i.e.: environment) to events on a server class.</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Add-a-tag-i-e-environment-to-events-on-a-server-class/m-p/186630#M37383</link>
      <description>&lt;P&gt;Thank you for your comment Martin, but that's not the best option for me, I would have to create 4 new environments, I have 3 acceptance environments (qa) plus preprod. Prod is already separated, but I don't need more granularity then that.&lt;/P&gt;

&lt;P&gt;Any other options?&lt;/P&gt;</description>
      <pubDate>Wed, 13 May 2015 12:48:10 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Add-a-tag-i-e-environment-to-events-on-a-server-class/m-p/186630#M37383</guid>
      <dc:creator>gmjunior</dc:creator>
      <dc:date>2015-05-13T12:48:10Z</dc:date>
    </item>
  </channel>
</rss>

