<?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: What folder permission is need to monitor bash_history? in Getting Data In</title>
    <link>https://community.splunk.com/t5/Getting-Data-In/What-folder-permission-is-need-to-monitor-bash-history/m-p/273610#M52491</link>
    <description>&lt;P&gt;Might have a look at &lt;A href="http://www.duanewaddle.com/splunking-bash-history/"&gt;http://www.duanewaddle.com/splunking-bash-history/&lt;/A&gt; for ideas.  Some permissions problems and such may remain, but it's perhaps better?&lt;/P&gt;</description>
    <pubDate>Tue, 07 Feb 2017 05:47:42 GMT</pubDate>
    <dc:creator>dwaddle</dc:creator>
    <dc:date>2017-02-07T05:47:42Z</dc:date>
    <item>
      <title>What folder permission is need to monitor bash_history?</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/What-folder-permission-is-need-to-monitor-bash-history/m-p/273607#M52488</link>
      <description>&lt;P&gt;I've been trying to capture bash_history logs but I am not seeing this log populate in Splunk. I am able to get top, who, netstat and several others but the only one that is missing is bash_history. I checked my inputs.conf file and it matches correctly to another instance. I've also restarted the splunkforwarder. The only thing left that I am thinking could be the issue is the folder permissions for ///root/.bash_history and ///home/.../.bash_history. If that is the issue, my question is what should the permissions be set to? Here is my stanza for bash_history.&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;### bash history
[monitor:///root/.bash_history]
disabled = 0
sourcetype = bash_history
index = home

[monitor:///home/.../.bash_history]
disabled = 0
sourcetype = bash_history
index = home
&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Tue, 29 Sep 2020 12:42:17 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/What-folder-permission-is-need-to-monitor-bash-history/m-p/273607#M52488</guid>
      <dc:creator>Feedy</dc:creator>
      <dc:date>2020-09-29T12:42:17Z</dc:date>
    </item>
    <item>
      <title>Re: What folder permission is need to monitor bash_history?</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/What-folder-permission-is-need-to-monitor-bash-history/m-p/273608#M52489</link>
      <description>&lt;P&gt;You (the account under which Splunk service is running) needs to have read permission on the file/folder it's monitoring. &lt;/P&gt;</description>
      <pubDate>Thu, 02 Feb 2017 04:58:59 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/What-folder-permission-is-need-to-monitor-bash-history/m-p/273608#M52489</guid>
      <dc:creator>somesoni2</dc:creator>
      <dc:date>2017-02-02T04:58:59Z</dc:date>
    </item>
    <item>
      <title>Re: What folder permission is need to monitor bash_history?</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/What-folder-permission-is-need-to-monitor-bash-history/m-p/273609#M52490</link>
      <description>&lt;P&gt;&lt;a href="https://community.splunk.com/t5/user/viewprofilepage/user-id/15147"&gt;@somesoni2&lt;/a&gt; how would I go about giving the Splunk user access to the ///home/.../.bash_history? The user:group shows as the current user that I'm logged in as. I am getting the logs from ///root/.bash_history? The user:group shows as root:root.&lt;/P&gt;</description>
      <pubDate>Tue, 29 Sep 2020 12:44:52 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/What-folder-permission-is-need-to-monitor-bash-history/m-p/273609#M52490</guid>
      <dc:creator>Feedy</dc:creator>
      <dc:date>2020-09-29T12:44:52Z</dc:date>
    </item>
    <item>
      <title>Re: What folder permission is need to monitor bash_history?</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/What-folder-permission-is-need-to-monitor-bash-history/m-p/273610#M52491</link>
      <description>&lt;P&gt;Might have a look at &lt;A href="http://www.duanewaddle.com/splunking-bash-history/"&gt;http://www.duanewaddle.com/splunking-bash-history/&lt;/A&gt; for ideas.  Some permissions problems and such may remain, but it's perhaps better?&lt;/P&gt;</description>
      <pubDate>Tue, 07 Feb 2017 05:47:42 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/What-folder-permission-is-need-to-monitor-bash-history/m-p/273610#M52491</guid>
      <dc:creator>dwaddle</dc:creator>
      <dc:date>2017-02-07T05:47:42Z</dc:date>
    </item>
  </channel>
</rss>

