Dashboards & Visualizations

Where to enter source code to remove host from Dashboard?

Ted1621
Observer

I have one host that I want to remove from all my premade dashboards in the Splunk App for AWS Security Dashboards.  Can someone tell me where I would enter this in the source code for the Dashboard so that it always excludes this host? 

Labels (1)
0 Karma

Ted1621
Observer

Thank you @andrew_nelson !  Is there a way that I could just add an "text" input in the dashboard that says src_ip!=10.0.0.1?  I think this is a more scalable way since I have other apps that I would want to exclude the host from as well.

0 Karma

andrew_nelson
Communicator

Yeah, if you have Edit permissions on the dashboards, you can add src_ip!=10.0.0.1 into the searches. 


It could be a lot of work depending on how the dashboard panels are configured. If the dashboard uses a base search, it will be quick enough to do that dashboard. If the dashboard doesn't have a base search, you'll have to edit every single panel.

0 Karma

andrew_nelson
Communicator

Take a look the the macros that come with the app. Settings > Advanced Search > Search Macros
You'll find some index macros like `aws-security-cloudtrail-index`, `aws-security-config-index` etc.  that are used to specify the data used throughout the app.

You can edit these to to add host!="hostabc" and the host should be removed. 

0 Karma
Get Updates on the Splunk Community!

Earn a $35 Gift Card for Answering our Splunk Admins & App Developer Survey

Survey for Splunk Admins and App Developers is open now! | Earn a $35 gift card!      Hello there,  Splunk ...

Continuing Innovation & New Integrations Unlock Full Stack Observability For Your ...

You’ve probably heard the latest about AppDynamics joining the Splunk Observability portfolio, deepening our ...

Monitoring Amazon Elastic Kubernetes Service (EKS)

As we’ve seen, integrating Kubernetes environments with Splunk Observability Cloud is a quick and easy way to ...