<?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 implement tagging on a universal forwarder to categorize data so we can filter our searches? in Getting Data In</title>
    <link>https://community.splunk.com/t5/Getting-Data-In/How-to-implement-tagging-on-a-universal-forwarder-to-categorize/m-p/269979#M51838</link>
    <description>&lt;P&gt;Ummm, that doesn't help at all.   It references a maze of circular references to using Splunk Web.  I'm trying to use it all CLI from text-mode-only splunk forwarders.   As I mentioned in my original post, I'm looking to CLI working examples or references, not references to the (horrible) web-centric maze of splunk docs.&lt;/P&gt;</description>
    <pubDate>Mon, 14 Dec 2015 15:01:24 GMT</pubDate>
    <dc:creator>vinceskahan</dc:creator>
    <dc:date>2015-12-14T15:01:24Z</dc:date>
    <item>
      <title>How to implement tagging on a universal forwarder to categorize data so we can filter our searches?</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/How-to-implement-tagging-on-a-universal-forwarder-to-categorize/m-p/269975#M51834</link>
      <description>&lt;P&gt;I'm totally lost trying to decipher the impossibly dense abstract documentation here.   I need to do something that I'd hope is simple, with a full example really needed.  I am getting nowhere fast trying to wrap my mind around the circularly-referencing docs here none of which having CLI examples at all....&lt;/P&gt;

&lt;P&gt;The problem - I have a variety of Linux VMs running universal forwarders, forwarding syslogs and custom logs and the like to the central Splunk server we've set up.   We tend to try to notionally categorize each VM into groups that make sense for us (ie, product-ABC-production-servers, or product-XYZ-development-servers or the like).&lt;/P&gt;

&lt;UL&gt;
&lt;LI&gt;&lt;P&gt;How do I define things on the forwarder computers to have all the data from that system categorized so we can filter our searches etc. based on that categorization/tagging/bucketing/whatever-word-you-want-to-use ?&lt;/P&gt;&lt;/LI&gt;
&lt;LI&gt;&lt;P&gt;What would a typical inputs.conf file entry for forwarding /var/log/messages look like ?&lt;/P&gt;&lt;/LI&gt;
&lt;LI&gt;&lt;P&gt;What other file(s) do I need to edit to make the  tagging/annotating happen ?&lt;/P&gt;&lt;/LI&gt;
&lt;LI&gt;&lt;P&gt;What would a working example of 'those' files look like ?&lt;/P&gt;&lt;/LI&gt;
&lt;/UL&gt;</description>
      <pubDate>Fri, 11 Dec 2015 00:07:40 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/How-to-implement-tagging-on-a-universal-forwarder-to-categorize/m-p/269975#M51834</guid>
      <dc:creator>vinceskahan</dc:creator>
      <dc:date>2015-12-11T00:07:40Z</dc:date>
    </item>
    <item>
      <title>Re: How to implement tagging on a universal forwarder to categorize data so we can filter our searches?</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/How-to-implement-tagging-on-a-universal-forwarder-to-categorize/m-p/269976#M51835</link>
      <description>&lt;P&gt;Easiest way to achieve this is to create different indexes for  your different environments for eg: one index for production, one for development etc and forward the data from your forwarder to respective indexes.&lt;/P&gt;

&lt;P&gt;For example, your product-ABC-production-servers will forward data to an index called &lt;STRONG&gt;abc-production&lt;/STRONG&gt; and the inputs.conf will be&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;[monitor:///var/log/messages]
sourcetype=syslog   
index=abc-production
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;This will be the same for all the forwarders which are under category &lt;EM&gt;production&lt;/EM&gt;. Repeat the same for your development environment.&lt;/P&gt;

&lt;P&gt;There are many advantages of having different indexes for your production and development (just assuming that you have separate environment or different user base). You will be able to restrict user access to a particular set of data/servers and also you can search data from a set of hosts/forwarders easily by just index=abc-production&lt;/P&gt;

&lt;P&gt;Reference :&lt;/P&gt;

&lt;P&gt;&lt;A href="http://docs.splunk.com/Documentation/Splunk/6.2.0/Updating/Exampleaddaninputtoforwarders"&gt;http://docs.splunk.com/Documentation/Splunk/6.2.0/Updating/Exampleaddaninputtoforwarders&lt;/A&gt;&lt;BR /&gt;
&lt;A href="http://docs.splunk.com/Documentation/Splunk/6.2.0/Data/Usingforwardingagents"&gt;http://docs.splunk.com/Documentation/Splunk/6.2.0/Data/Usingforwardingagents&lt;/A&gt;&lt;BR /&gt;
&lt;A href="http://docs.splunk.com/Documentation/Splunk/6.2.0/Data/Configureyourinputs"&gt;http://docs.splunk.com/Documentation/Splunk/6.2.0/Data/Configureyourinputs&lt;/A&gt;&lt;/P&gt;

&lt;P&gt;Another way is to add tags for all your servers so that you can categorize servers into different category. But there are no data separation in this case.&lt;/P&gt;

&lt;P&gt;I would prefer the first option.&lt;/P&gt;

&lt;P&gt;Hope this help!&lt;/P&gt;</description>
      <pubDate>Fri, 11 Dec 2015 04:13:23 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/How-to-implement-tagging-on-a-universal-forwarder-to-categorize/m-p/269976#M51835</guid>
      <dc:creator>renjith_nair</dc:creator>
      <dc:date>2015-12-11T04:13:23Z</dc:date>
    </item>
    <item>
      <title>Re: How to implement tagging on a universal forwarder to categorize data so we can filter our searches?</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/How-to-implement-tagging-on-a-universal-forwarder-to-categorize/m-p/269977#M51836</link>
      <description>&lt;P&gt;Thanks for the detailed answer which is great for how/why to use indexes, but I was specifically asking about tags.  &lt;/P&gt;

&lt;P&gt;You mentioned '&lt;EM&gt;Another way is to add tags for all your servers so that you can categorize servers into different category. *' which is my actual question - *how&lt;/EM&gt; do I implement tags ?  What files do I edit where ?  Could you perhaps add a little to your example above with adding a tag to that monitor to complete the picture ?&lt;/P&gt;

&lt;P&gt;Thanks again for the help...&lt;/P&gt;</description>
      <pubDate>Fri, 11 Dec 2015 15:16:24 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/How-to-implement-tagging-on-a-universal-forwarder-to-categorize/m-p/269977#M51836</guid>
      <dc:creator>vinceskahan</dc:creator>
      <dc:date>2015-12-11T15:16:24Z</dc:date>
    </item>
    <item>
      <title>Re: How to implement tagging on a universal forwarder to categorize data so we can filter our searches?</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/How-to-implement-tagging-on-a-universal-forwarder-to-categorize/m-p/269978#M51837</link>
      <description>&lt;P&gt;Check below docs&lt;/P&gt;

&lt;P&gt;&lt;A href="http://docs.splunk.com/Documentation/Splunk/6.2.0/Knowledge/TagandaliasfieldvaluesinSplunkWeb"&gt;http://docs.splunk.com/Documentation/Splunk/6.2.0/Knowledge/TagandaliasfieldvaluesinSplunkWeb&lt;/A&gt;&lt;BR /&gt;
&lt;A href="http://docs.splunk.com/Documentation/Splunk/6.2.0/Knowledge/Defineandusetags"&gt;http://docs.splunk.com/Documentation/Splunk/6.2.0/Knowledge/Defineandusetags&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 14 Dec 2015 02:04:26 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/How-to-implement-tagging-on-a-universal-forwarder-to-categorize/m-p/269978#M51837</guid>
      <dc:creator>renjith_nair</dc:creator>
      <dc:date>2015-12-14T02:04:26Z</dc:date>
    </item>
    <item>
      <title>Re: How to implement tagging on a universal forwarder to categorize data so we can filter our searches?</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/How-to-implement-tagging-on-a-universal-forwarder-to-categorize/m-p/269979#M51838</link>
      <description>&lt;P&gt;Ummm, that doesn't help at all.   It references a maze of circular references to using Splunk Web.  I'm trying to use it all CLI from text-mode-only splunk forwarders.   As I mentioned in my original post, I'm looking to CLI working examples or references, not references to the (horrible) web-centric maze of splunk docs.&lt;/P&gt;</description>
      <pubDate>Mon, 14 Dec 2015 15:01:24 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/How-to-implement-tagging-on-a-universal-forwarder-to-categorize/m-p/269979#M51838</guid>
      <dc:creator>vinceskahan</dc:creator>
      <dc:date>2015-12-14T15:01:24Z</dc:date>
    </item>
    <item>
      <title>Re: How to implement tagging on a universal forwarder to categorize data so we can filter our searches?</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/How-to-implement-tagging-on-a-universal-forwarder-to-categorize/m-p/269980#M51839</link>
      <description>&lt;P&gt;Found an answer that seems to work....&lt;/P&gt;

&lt;P&gt;_meta = key1::value1  key2::value2 &lt;BR /&gt;
(and so on - use double colons to separate key/value, and whitespace to separate multiple key/value pairs from each other)&lt;/P&gt;

&lt;P&gt;tested in inputs.conf on a universalforwarder using current splunk&lt;/P&gt;</description>
      <pubDate>Tue, 01 Mar 2016 16:27:45 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/How-to-implement-tagging-on-a-universal-forwarder-to-categorize/m-p/269980#M51839</guid>
      <dc:creator>vinceskahan</dc:creator>
      <dc:date>2016-03-01T16:27:45Z</dc:date>
    </item>
  </channel>
</rss>

