<?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: Exclude events in index time /var/log/audit/audit.log in Splunk Cloud Platform</title>
    <link>https://community.splunk.com/t5/Splunk-Cloud-Platform/Exclude-events-in-index-time-var-log-audit-audit-log/m-p/676745#M2818</link>
    <description>&lt;P&gt;Also, you have to restart the Splunk system that's on in order for it to take effect.&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Tue, 06 Feb 2024 13:56:20 GMT</pubDate>
    <dc:creator>Richfez</dc:creator>
    <dc:date>2024-02-06T13:56:20Z</dc:date>
    <item>
      <title>Exclude events in index time /var/log/audit/audit.log</title>
      <link>https://community.splunk.com/t5/Splunk-Cloud-Platform/Exclude-events-in-index-time-var-log-audit-audit-log/m-p/676360#M2804</link>
      <description>&lt;P&gt;Hello,&amp;nbsp;&lt;/P&gt;&lt;P&gt;I need to exclude and prevent the ingestion of data when these events occur.&lt;/P&gt;&lt;P&gt;Im using the TA_Linux and this event is the /var/log/audit/audit.log&lt;/P&gt;&lt;P&gt;Can you help me?&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;node=MXSPL1VMV803 type=SYSCALL msg=audit(1707180153.753:128962293): arch=c000003e syscall=87 success=yes exit=0 a0=7fb15c2fae20 a1=7fb0ea759e80 a2=7fb15c2fae20 a3=7fb1c0097b71 items=2 ppid=1 pid=1990 auid=3001 uid=3001 gid=3001 euid=3001 suid=3001 fsuid=3001 egid=3001 sgid=3001 fsgid=3001 tty=(none) ses=1 comm="elasticsearch[n" exe="/etc/elasticsearch/opendistroforelasticsearch/jdk/bin/java" subj=unconfined_u:unconfined_r:unconfined_t:s0-s0:c0.c1023 key="delete-successful"&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;</description>
      <pubDate>Tue, 06 Feb 2024 00:43:52 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Cloud-Platform/Exclude-events-in-index-time-var-log-audit-audit-log/m-p/676360#M2804</guid>
      <dc:creator>CarolinaHB</dc:creator>
      <dc:date>2024-02-06T00:43:52Z</dc:date>
    </item>
    <item>
      <title>Re: Exclude events in index time /var/log/audit/audit.log</title>
      <link>https://community.splunk.com/t5/Splunk-Cloud-Platform/Exclude-events-in-index-time-var-log-audit-audit-log/m-p/676644#M2806</link>
      <description>&lt;P&gt;What is it specifically about those events that you want to get rid of them?&amp;nbsp; (The "why" isn't important, what we probably need is "what in that event is the important bit that tells you that you can get rid of it")&lt;/P&gt;&lt;P&gt;ALSO The formatting of that event may have been broken - if you can edit your post and paste it in again, on this time use the &amp;lt;/&amp;gt; button to paste it in as code, that might be helpful!&lt;/P&gt;&lt;P&gt;But pretending anything from `comm="elasticsearch"` can be gotten rid of, then...&lt;/P&gt;&lt;P&gt;1) Read the first section of this on discarding certain events and keeping the rest, it's not long but it's the pattern we'll use here.&amp;nbsp; &lt;A href="https://docs.splunk.com/Documentation/Splunk/9.1.1/Forwarding/Routeandfilterdatad#Filter_event_data_and_send_to_queues" target="_blank"&gt;https://docs.splunk.com/Documentation/Splunk/9.1.1/Forwarding/Routeandfilterdatad#Filter_event_data_and_send_to_queues&lt;/A&gt;&lt;/P&gt;&lt;P&gt;2) For this case, you'll want to create a local/props.conf entry in either the TA you are messing around with, or possibly in a new, specific tiny app you build just for these fixes:&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;[source::/var/log/audit/audit.log]
TRANSFORMS-null= setnull&lt;/LI-CODE&gt;&lt;P&gt;3) Then as the docs say, you'll want a local/transforms.conf entry like this one&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;[setnull]
REGEX = comm="elasticsearch"
DEST_KEY = queue
FORMAT = nullQueue&lt;/LI-CODE&gt;&lt;P&gt;I don't believe the quotes need escaping in that REGEX line, though I reserve the right to be wrong about that.&amp;nbsp;&lt;/P&gt;&lt;P&gt;Test, see if it works and let us know!&lt;/P&gt;</description>
      <pubDate>Mon, 05 Feb 2024 20:34:00 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Cloud-Platform/Exclude-events-in-index-time-var-log-audit-audit-log/m-p/676644#M2806</guid>
      <dc:creator>Richfez</dc:creator>
      <dc:date>2024-02-05T20:34:00Z</dc:date>
    </item>
    <item>
      <title>Re: Exclude events in index time /var/log/audit/audit.log</title>
      <link>https://community.splunk.com/t5/Splunk-Cloud-Platform/Exclude-events-in-index-time-var-log-audit-audit-log/m-p/676676#M2807</link>
      <description>&lt;P&gt;Hello&amp;nbsp;&lt;a href="https://community.splunk.com/t5/user/viewprofilepage/user-id/205010"&gt;@Richfez&lt;/a&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&amp;nbsp;worked on what you mentioned, but it didn't work for me.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;I also tried this&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;props.conf&lt;/SPAN&gt;&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;[source::/var/log/audit/audit.log]
TRANSFORMS-null = setnull&lt;/LI-CODE&gt;&lt;P&gt;&lt;SPAN&gt;transforms.conf&lt;/SPAN&gt;&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;[setnull]
REGEX = comm="elastic.*"
DEST_KEY = queue
FORMAT = nullQueue&lt;/LI-CODE&gt;&lt;P&gt;Regards&lt;/P&gt;</description>
      <pubDate>Tue, 06 Feb 2024 00:49:44 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Cloud-Platform/Exclude-events-in-index-time-var-log-audit-audit-log/m-p/676676#M2807</guid>
      <dc:creator>CarolinaHB</dc:creator>
      <dc:date>2024-02-06T00:49:44Z</dc:date>
    </item>
    <item>
      <title>Re: Exclude events in index time /var/log/audit/audit.log</title>
      <link>https://community.splunk.com/t5/Splunk-Cloud-Platform/Exclude-events-in-index-time-var-log-audit-audit-log/m-p/676740#M2816</link>
      <description>&lt;P&gt;I can't imagine anything other than that the regex doesn't match - all else looks fine.&lt;/P&gt;&lt;P&gt;AND - the data you provided I think was munged by the editor!&lt;/P&gt;&lt;P&gt;Can you repaste that sample event only be SURE to use the &amp;lt;/&amp;gt; code button?&lt;/P&gt;</description>
      <pubDate>Tue, 06 Feb 2024 13:30:36 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Cloud-Platform/Exclude-events-in-index-time-var-log-audit-audit-log/m-p/676740#M2816</guid>
      <dc:creator>Richfez</dc:creator>
      <dc:date>2024-02-06T13:30:36Z</dc:date>
    </item>
    <item>
      <title>Re: Exclude events in index time /var/log/audit/audit.log</title>
      <link>https://community.splunk.com/t5/Splunk-Cloud-Platform/Exclude-events-in-index-time-var-log-audit-audit-log/m-p/676745#M2818</link>
      <description>&lt;P&gt;Also, you have to restart the Splunk system that's on in order for it to take effect.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 06 Feb 2024 13:56:20 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Cloud-Platform/Exclude-events-in-index-time-var-log-audit-audit-log/m-p/676745#M2818</guid>
      <dc:creator>Richfez</dc:creator>
      <dc:date>2024-02-06T13:56:20Z</dc:date>
    </item>
    <item>
      <title>Re: Exclude events in index time /var/log/audit/audit.log</title>
      <link>https://community.splunk.com/t5/Splunk-Cloud-Platform/Exclude-events-in-index-time-var-log-audit-audit-log/m-p/676788#M2819</link>
      <description>&lt;P&gt;I restarted but it doesn't take the changes. It Is the data `comm="elasticsearch[n"` correct with the special character `[`&lt;/P&gt;</description>
      <pubDate>Wed, 07 Feb 2024 01:01:27 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Cloud-Platform/Exclude-events-in-index-time-var-log-audit-audit-log/m-p/676788#M2819</guid>
      <dc:creator>CarolinaHB</dc:creator>
      <dc:date>2024-02-07T01:01:27Z</dc:date>
    </item>
    <item>
      <title>Re: Exclude events in index time /var/log/audit/audit.log</title>
      <link>https://community.splunk.com/t5/Splunk-Cloud-Platform/Exclude-events-in-index-time-var-log-audit-audit-log/m-p/676791#M2820</link>
      <description>&lt;P&gt;Ah, I believe you'll want&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;REGEX = comm="elasticsearch\[n"&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Also just gonna say - I've done this before, I promise it can be made to work!&amp;nbsp; Don't lose hope even if it's a bit fiddly to get it set up sometimes!&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 07 Feb 2024 13:46:51 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Cloud-Platform/Exclude-events-in-index-time-var-log-audit-audit-log/m-p/676791#M2820</guid>
      <dc:creator>Richfez</dc:creator>
      <dc:date>2024-02-07T13:46:51Z</dc:date>
    </item>
    <item>
      <title>Re: Exclude events in index time /var/log/audit/audit.log</title>
      <link>https://community.splunk.com/t5/Splunk-Cloud-Platform/Exclude-events-in-index-time-var-log-audit-audit-log/m-p/676917#M2822</link>
      <description>&lt;P&gt;These settings can be applied universal forwarder&lt;/P&gt;</description>
      <pubDate>Thu, 08 Feb 2024 01:52:12 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Cloud-Platform/Exclude-events-in-index-time-var-log-audit-audit-log/m-p/676917#M2822</guid>
      <dc:creator>CarolinaHB</dc:creator>
      <dc:date>2024-02-08T01:52:12Z</dc:date>
    </item>
    <item>
      <title>Re: Exclude events in index time /var/log/audit/audit.log</title>
      <link>https://community.splunk.com/t5/Splunk-Cloud-Platform/Exclude-events-in-index-time-var-log-audit-audit-log/m-p/677151#M2825</link>
      <description>No, those (transforms and props) must be in 1st full splunk instance from UF to indexer(s).</description>
      <pubDate>Fri, 09 Feb 2024 17:24:46 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Cloud-Platform/Exclude-events-in-index-time-var-log-audit-audit-log/m-p/677151#M2825</guid>
      <dc:creator>isoutamo</dc:creator>
      <dc:date>2024-02-09T17:24:46Z</dc:date>
    </item>
  </channel>
</rss>

