<?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 audit command in splunk in Monitoring Splunk</title>
    <link>https://community.splunk.com/t5/Monitoring-Splunk/audit-command-in-splunk/m-p/225849#M2248</link>
    <description>&lt;P&gt;What exactly audit command is going to do&lt;/P&gt;

&lt;P&gt;If I queried like this index=_audit | audit - It is saying valid attempts What is that&lt;/P&gt;

&lt;P&gt;And can anyone explain the description in better way for newbies. Validate signed audit events while checking for gaps?&lt;/P&gt;

&lt;P&gt;Thanks&lt;/P&gt;</description>
    <pubDate>Thu, 23 Jun 2016 11:47:43 GMT</pubDate>
    <dc:creator>splunkn</dc:creator>
    <dc:date>2016-06-23T11:47:43Z</dc:date>
    <item>
      <title>audit command in splunk</title>
      <link>https://community.splunk.com/t5/Monitoring-Splunk/audit-command-in-splunk/m-p/225849#M2248</link>
      <description>&lt;P&gt;What exactly audit command is going to do&lt;/P&gt;

&lt;P&gt;If I queried like this index=_audit | audit - It is saying valid attempts What is that&lt;/P&gt;

&lt;P&gt;And can anyone explain the description in better way for newbies. Validate signed audit events while checking for gaps?&lt;/P&gt;

&lt;P&gt;Thanks&lt;/P&gt;</description>
      <pubDate>Thu, 23 Jun 2016 11:47:43 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Monitoring-Splunk/audit-command-in-splunk/m-p/225849#M2248</guid>
      <dc:creator>splunkn</dc:creator>
      <dc:date>2016-06-23T11:47:43Z</dc:date>
    </item>
    <item>
      <title>Re: audit command in splunk</title>
      <link>https://community.splunk.com/t5/Monitoring-Splunk/audit-command-in-splunk/m-p/225850#M2249</link>
      <description>&lt;P&gt;Audit events are generated whenever anyone accesses any of your Splunk instances&lt;BR /&gt;
including any searches, configuration changes or administrative activities.&lt;BR /&gt;
Each audit event contains information that shows you what changed&lt;BR /&gt;
where and when and who implemented the change.&lt;/P&gt;

&lt;P&gt;By default, the file system change monitor generates audit events whenever the&lt;BR /&gt;
contents of $SPLUNK_HOME/etc/ are changed, deleted, or added to. When you&lt;BR /&gt;
start Splunk Enterprise for the first time, it generates an audit event for each file&lt;BR /&gt;
in the $SPLUNK_HOME/etc/ directory and all subdirectories. &lt;/P&gt;

&lt;P&gt;Afterward, any change in configuration generates an audit event for the affected&lt;BR /&gt;
file. If you have configured signedaudit=true, Splunk Enterprise indexes the file&lt;BR /&gt;
system change into the audit index (index=_audit).&lt;/P&gt;

&lt;P&gt;Splunk stores audit events locally in the audit index (index=_audit). Audit events&lt;BR /&gt;
are logged in the log file: $SPLUNK_HOME/var/log/splunk/audit.log.&lt;/P&gt;

&lt;P&gt;This command searches for audit events in the audit index;&lt;/P&gt;

&lt;P&gt;To search for all audit events you specify the _audit index:&lt;BR /&gt;
index=_audit&lt;/P&gt;

&lt;P&gt;This search returns all audit events.&lt;/P&gt;

&lt;P&gt;Then you pipe your search to the audit command:&lt;BR /&gt;
index=_audit | audit&lt;/P&gt;

&lt;P&gt;This search returns the entire audit index, and processes the audit events it finds&lt;BR /&gt;
through the audit command.&lt;/P&gt;

&lt;P&gt;The field that contains the status of the event is called "validity". Values can be:&lt;BR /&gt;
· VALIDATED - no gap before this event and event signature matches&lt;BR /&gt;
· TAMPERED - event signature does not match&lt;BR /&gt;
· NO SIGNATURE - the signature was not found&lt;/P&gt;

&lt;P&gt;The field that contains the gap status is called "gap". Values can be:&lt;BR /&gt;
· TRUE - a gap was found&lt;BR /&gt;
· FALSE - no gap was found&lt;BR /&gt;
· N/A - no id was found&lt;/P&gt;</description>
      <pubDate>Tue, 29 Sep 2020 10:02:02 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Monitoring-Splunk/audit-command-in-splunk/m-p/225850#M2249</guid>
      <dc:creator>Azeemering</dc:creator>
      <dc:date>2020-09-29T10:02:02Z</dc:date>
    </item>
    <item>
      <title>Re: audit command in splunk</title>
      <link>https://community.splunk.com/t5/Monitoring-Splunk/audit-command-in-splunk/m-p/225851#M2250</link>
      <description>&lt;P&gt;Azeemering, thanks for the response. But can you please repeat the last part again&lt;/P&gt;

&lt;P&gt;What is validity and gap and the corresponding values?&lt;/P&gt;</description>
      <pubDate>Mon, 18 Jul 2016 13:03:48 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Monitoring-Splunk/audit-command-in-splunk/m-p/225851#M2250</guid>
      <dc:creator>splunkn</dc:creator>
      <dc:date>2016-07-18T13:03:48Z</dc:date>
    </item>
    <item>
      <title>Re: audit command in splunk</title>
      <link>https://community.splunk.com/t5/Monitoring-Splunk/audit-command-in-splunk/m-p/225852#M2251</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;

&lt;P&gt;Ok, I think you need to understand what an audit actually does. &lt;BR /&gt;
You would audit Splunk itself to keep it secure.  With audit you can review Splunk user access, find locations from which users are accessing Splunk but also very important is your data's integrity (of the indexed events).&lt;BR /&gt;
If running your audit command returns all events with the status VALIDATED your data is ok.  But you can also have other types of statuses. (Tampered or No signature). Tampered mean something or someone has manipulated the data from original and therefor the integrity has been lost.&lt;/P&gt;

&lt;P&gt;What also can happen is that your summary index searches can be compromised if the summary indexes have GAPS in their collected data.   A gap can happen because of several reasons. 1 reason could be an outage of splunkd. If splunkd goes down for a significant amount of time there is a good chance you will get gaps is you summary index data. If a GAP has been found the field "gap status" will say TRUE. And you will need to look into why events are missing from a certain time.&lt;/P&gt;

&lt;P&gt;Check:&lt;BR /&gt;
&lt;A href="http://docs.splunk.com/Documentation/Splunk/latest/Knowledge/Managesummaryindexgapsandoverlaps?r=searchtip"&gt;http://docs.splunk.com/Documentation/Splunk/latest/Knowledge/Managesummaryindexgapsandoverlaps?r=searchtip&lt;/A&gt; for summary index gaps.&lt;/P&gt;</description>
      <pubDate>Mon, 18 Jul 2016 13:44:05 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Monitoring-Splunk/audit-command-in-splunk/m-p/225852#M2251</guid>
      <dc:creator>Azeemering</dc:creator>
      <dc:date>2016-07-18T13:44:05Z</dc:date>
    </item>
  </channel>
</rss>

