All Apps and Add-ons

Exclude Strings in reports

wiz562
Engager

I'm just starting out with Splunk and had a question about the canned reports. In the *nix app, if you go to "Log Files" -> "Errors and Warnings", there are many false positives. It seems to be picking things up like "--error-log=" for mysql in my ps command and "Removing old error log entries..." in other log files.

Is there an easy way to edit these reports so that I can exclude certain terms?

0 Karma
1 Solution

jtrucks
Splunk Employee
Splunk Employee

On your Splunk server where the app is installed, copy the following from $SPLUNK_HOME/etc/apps/unix/default/ to $SPLUNK_HOME/etc/apps/unix/local/

eventtypes.conf
savedsearches.conf
tags.conf
transforms.conf
viewstates.conf

Then edit the various searches you want to change in the */local/ directory leaving everything in */default/ alone.

--
Jesse Trucks
Minister of Magic

View solution in original post

jtrucks
Splunk Employee
Splunk Employee

On your Splunk server where the app is installed, copy the following from $SPLUNK_HOME/etc/apps/unix/default/ to $SPLUNK_HOME/etc/apps/unix/local/

eventtypes.conf
savedsearches.conf
tags.conf
transforms.conf
viewstates.conf

Then edit the various searches you want to change in the */local/ directory leaving everything in */default/ alone.

--
Jesse Trucks
Minister of Magic
Get Updates on the Splunk Community!

.conf24 | Registration Open!

Hello, hello! I come bearing good news: Registration for .conf24 is now open!   conf is Splunk’s rad annual ...

ICYMI - Check out the latest releases of Splunk Edge Processor

Splunk is pleased to announce the latest enhancements to Splunk Edge Processor.  HEC Receiver authorization ...

Introducing the 2024 SplunkTrust!

Hello, Splunk Community! We are beyond thrilled to announce our newest group of SplunkTrust members!  The ...