<?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: Can I define a role whose only ability is to post data to a specific index? in Security</title>
    <link>https://community.splunk.com/t5/Security/Can-I-define-a-role-whose-only-ability-is-to-post-data-to-a/m-p/53981#M1797</link>
    <description>&lt;P&gt;Thanks this is more or less how I thought it works. I think the answer to this next question is no, but can the assigned index for a TCP input be overriden by the sender of an event?&lt;/P&gt;</description>
    <pubDate>Mon, 03 Jun 2013 21:41:54 GMT</pubDate>
    <dc:creator>juniormint</dc:creator>
    <dc:date>2013-06-03T21:41:54Z</dc:date>
    <item>
      <title>Can I define a role whose only ability is to post data to a specific index?</title>
      <link>https://community.splunk.com/t5/Security/Can-I-define-a-role-whose-only-ability-is-to-post-data-to-a/m-p/53978#M1794</link>
      <description>&lt;P&gt;Right now my app sends logs to a raw tcp input.  Seems like this is effectively saying that anyone can add data to that input, but whoever configured it ultimately controls where the data is stored (which index(s)).&lt;/P&gt;

&lt;P&gt;Can I instead define a role whose only ability is to post data to a specific index?  &lt;/P&gt;

&lt;P&gt;I was looking through the role capabilities and nothing jumped out at me, but I am new and may just be missing something.&lt;/P&gt;

&lt;P&gt;&lt;A href="http://docs.splunk.com/Documentation/Splunk/latest/Security/Rolesandcapabilities"&gt;http://docs.splunk.com/Documentation/Splunk/latest/Security/Rolesandcapabilities&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 03 Jun 2013 20:32:06 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Security/Can-I-define-a-role-whose-only-ability-is-to-post-data-to-a/m-p/53978#M1794</guid>
      <dc:creator>juniormint</dc:creator>
      <dc:date>2013-06-03T20:32:06Z</dc:date>
    </item>
    <item>
      <title>Re: Can I define a role whose only ability is to post data to a specific index?</title>
      <link>https://community.splunk.com/t5/Security/Can-I-define-a-role-whose-only-ability-is-to-post-data-to-a/m-p/53979#M1795</link>
      <description>&lt;P&gt;In general, roles constrain who can &lt;EM&gt;search&lt;/EM&gt; an index.&lt;/P&gt;

&lt;P&gt;Setting up an input is the only way to &lt;EM&gt;write&lt;/EM&gt; to an index.  The Splunk user who sets up a TCP input can specify the port number and restrict the input to data coming from a specific server (via IP or DNS name). He/she also defines the index that will store the data. &lt;/P&gt;

&lt;P&gt;Only Splunk admins have the privileges to set up an input, unless you specifically give that capability to another role. I don't know why you would do that.&lt;/P&gt;

&lt;P&gt;Splunk cannot control who or what sends data to a particular TCP port. So it would be up to you to control the origination of the data, via iptables, firewall rules or other means, to make sure that only the data you want arrives on the TCP port.&lt;/P&gt;</description>
      <pubDate>Mon, 03 Jun 2013 20:46:18 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Security/Can-I-define-a-role-whose-only-ability-is-to-post-data-to-a/m-p/53979#M1795</guid>
      <dc:creator>lguinn2</dc:creator>
      <dc:date>2013-06-03T20:46:18Z</dc:date>
    </item>
    <item>
      <title>Re: Can I define a role whose only ability is to post data to a specific index?</title>
      <link>https://community.splunk.com/t5/Security/Can-I-define-a-role-whose-only-ability-is-to-post-data-to-a/m-p/53980#M1796</link>
      <description>&lt;P&gt;One way would be to create a new data input, send it to a specific index, create an application\dashboard with that index and associated searches, then assign users to that application. You can also assign specific rights and rles to that app in Access controls, Users. &lt;BR /&gt;
HTHs&lt;/P&gt;</description>
      <pubDate>Mon, 03 Jun 2013 21:18:47 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Security/Can-I-define-a-role-whose-only-ability-is-to-post-data-to-a/m-p/53980#M1796</guid>
      <dc:creator>Voltaire</dc:creator>
      <dc:date>2013-06-03T21:18:47Z</dc:date>
    </item>
    <item>
      <title>Re: Can I define a role whose only ability is to post data to a specific index?</title>
      <link>https://community.splunk.com/t5/Security/Can-I-define-a-role-whose-only-ability-is-to-post-data-to-a/m-p/53981#M1797</link>
      <description>&lt;P&gt;Thanks this is more or less how I thought it works. I think the answer to this next question is no, but can the assigned index for a TCP input be overriden by the sender of an event?&lt;/P&gt;</description>
      <pubDate>Mon, 03 Jun 2013 21:41:54 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Security/Can-I-define-a-role-whose-only-ability-is-to-post-data-to-a/m-p/53981#M1797</guid>
      <dc:creator>juniormint</dc:creator>
      <dc:date>2013-06-03T21:41:54Z</dc:date>
    </item>
    <item>
      <title>Re: Can I define a role whose only ability is to post data to a specific index?</title>
      <link>https://community.splunk.com/t5/Security/Can-I-define-a-role-whose-only-ability-is-to-post-data-to-a/m-p/53982#M1798</link>
      <description>&lt;P&gt;No, the assigned index can be set in &lt;CODE&gt;inputs.conf&lt;/CODE&gt;, which is set on whatever server is listening to the TCP input.&lt;/P&gt;

&lt;P&gt;However, you could use &lt;CODE&gt;props.conf&lt;/CODE&gt; and &lt;CODE&gt;transforms.conf&lt;/CODE&gt; to route TCP events to different indexes based on the hostname. But this has to be done on the indexer...&lt;/P&gt;

&lt;P&gt;&lt;CODE&gt;[stanza_name]&lt;BR /&gt;
SOURCE_KEY = MetaData:Host &lt;BR /&gt;
REGEX = (?i)filer&lt;BR /&gt;
DEST_KEY = _MetaData:Index&lt;BR /&gt;
FORMAT = filer_index&lt;/CODE&gt;&lt;/P&gt;

&lt;P&gt;For any host name that has the string &lt;EM&gt;filer&lt;/EM&gt;, send the events to the filer_index.&lt;/P&gt;

&lt;P&gt;&lt;A href="http://docs.splunk.com/Documentation/Splunk/5.0.3/Indexer/Setupmultipleindexes#Route_specific_events_to_a_different_index"&gt;http://docs.splunk.com/Documentation/Splunk/5.0.3/Indexer/Setupmultipleindexes#Route_specific_events_to_a_different_index&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Sat, 08 Jun 2013 18:48:54 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Security/Can-I-define-a-role-whose-only-ability-is-to-post-data-to-a/m-p/53982#M1798</guid>
      <dc:creator>lguinn2</dc:creator>
      <dc:date>2013-06-08T18:48:54Z</dc:date>
    </item>
  </channel>
</rss>

