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
Got questions? Get answers!

Join the Splunk Community Slack to learn, troubleshoot, and make connections with fellow Splunk practitioners in real time!

Meet up IRL or virtually!

Join Splunk User Groups to connect and learn in-person by region or remotely by topic or industry.

Get Updates on the Splunk Community!

SOC4Kafka - New Kafka Connector Powered by OpenTelemetry

The new SOC4Kafka connector, built on OpenTelemetry, enables the collection of Kafka messages and forwards ...

Event Series: Level up your SOC: Advancing with Splunk Enterprise Security

AI has fundamentally raised the stakes for security operations, and this three-part series is your guide to ...

Announcing Modern Navigation: A New Era of Splunk User Experience

We are excited to introduce the Modern Navigation feature in the Splunk Platform, available to both cloud and ...