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!

Build the Future of Agentic AI: Join the Splunk Agentic Ops Hackathon

AI is changing how teams investigate incidents, detect threats, automate workflows, and build intelligent ...

[Puzzles] Solve, Learn, Repeat: Character substitutions with Regular Expressions

This challenge was first posted on Slack #puzzles channelFor BORE at .conf23, we had a puzzle question which ...

Splunk Community Badges!

  Hey everyone! Ready to earn some serious bragging rights in the community? Along with our existing badges ...