Splunk Search

How we can optimize dlp search?

AL3Z
Builder

Hi all,

We are looking for users that trigger one or more of these policies:

policy="[DLP] -  Internal " OR policy="[SMTP] - Gmail - Internal " OR  policy="[DLP] - GDrive - Internal " AND one or more of these policies:

policy="All DLP Policies" and activity=upload Please exclude all  instances from this search (provided below lookup)

OR

policy="[SMTP] -  Password Protected " Please exclude all  instances from this search (provided below lookup)

OR

alert_type=uba and alert_name=" suspicious  uploads" Please exclude all  instances from this search (provided below lookup )

eg.

Full list of instance IDs:
xyz.com
abc.com
123.com
786.com
143.com
etc.
Please let me know if you have any questions.


Thanks,


 

Labels (1)
0 Karma

AL3Z
Builder

Hi @ITWhisperer  @gcusello  need help in building the search for above scenario.

0 Karma

gcusello
SplunkTrust
SplunkTrust

Hi @AL3Z,

we'd like to help you, but it's very difficoult without a sample of your data, and anyway, I see all the conditions and I suppose that it isn't possible to optimize these conditions!

But what's the issue: is it slow?

If it's slow, you can try some method to accelerate searches (e.g. https://docs.splunk.com/Documentation/SplunkCloud/latest/Knowledge/Aboutsummaryindexing).

Ciao.

Giuseppe

0 Karma

ITWhisperer
SplunkTrust
SplunkTrust

This is an almost impossible question to answer without knowledge of your data set and what your current issues are and what splunk is already doing in terms of optimisations.

0 Karma

gcusello
SplunkTrust
SplunkTrust

Hi @AL3Z,

I don't see any possible optimization: these are the conditions!

Ciao.

Giuseppe

0 Karma
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!

[Puzzles] Solve, Learn, Repeat: Matching cron expressions

This puzzle (first published here) is based on matching timestamps to cron expressions.All the timestamps ...

Design, Compete, Win: Submit Your Best Splunk Dashboards for a .conf26 Pass

Hello Splunkers,  We’re excited to kick off a Splunk Dashboard contest! We know that dashboards are a primary ...

May 2026 Splunk Expert Sessions: Security & Observability

Level Up Your Operations: May 2026 Splunk Expert Sessions Whether you are refining your security posture or ...