Security

Is there any search or shortcut to list out all the VPN usecases in my environment?

AL3Z
Builder

Hi, 
Is there any specific fields in the vpn logs we can exclude, which are not needed for investigation so that we can save the license cost ??

Labels (1)
Tags (1)
0 Karma

AL3Z
Builder

Is there any search or shortcut to list out all the VPN usecases in my environment.

0 Karma

richgalloway
SplunkTrust
SplunkTrust

Not really.  You can get a list of use cases with these two queries, but you'll have to add your own filters based on your knowledge of the data.  For instance, some VPN use cases may not contain the string "vpn".

| rest /servicesNS/-/-/saved/searches
| rest /servicesNS/-/-/data/ui/views
---
If this reply helps you, Karma would be appreciated.

AL3Z
Builder

@richgalloway 

As I'm trying  to exclude the fields like user_watchlist & ip_options under the vpn index etc.
Can you pls share the props and transforms  .conf to exclude the above fields by creating a  custom app.

Thanks

0 Karma

richgalloway
SplunkTrust
SplunkTrust

Consider using SEDCMD in props.conf to remove the unwanted fields, assuming the fields can be described using a regular expression.  For simplicity, use a separate SEDCMD for each field.

For example, assuming the data looked like "...user_watchlist=foo, ip_options=bar, ..."

SEDCMD-no-user_watchlist = s/user_watchlist=[^,],+//
SEDCMD-no-ip_options = s/ip_options=[^,]+,//

 

---
If this reply helps you, Karma would be appreciated.
0 Karma

richgalloway
SplunkTrust
SplunkTrust

That's a question only you and your coworkers can answer.  Review your VPN use cases and the fields they use.  Anything else, in theory, can be eliminated.  Of course, future use cases may need an eliminated field so be prepared to add them back some day.

---
If this reply helps you, Karma would be appreciated.
Get Updates on the Splunk Community!

New Case Study Shows the Value of Partnering with Splunk Academic Alliance

The University of Nevada, Las Vegas (UNLV) is another premier research institution helping to shape the next ...

How to Monitor Google Kubernetes Engine (GKE)

We’ve looked at how to integrate Kubernetes environments with Splunk Observability Cloud, but what about ...

Index This | How can you make 45 using only 4?

October 2024 Edition Hayyy Splunk Education Enthusiasts and the Eternally Curious!  We’re back with this ...