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!

Enter the Splunk Community Dashboard Challenge for Your Chance to Win!

The Splunk Community Dashboard Challenge is underway! This is your chance to showcase your skills in creating ...

.conf24 | Session Scheduler is Live!!

.conf24 is happening June 11 - 14 in Las Vegas, and we are thrilled to announce that the conference catalog ...

Introducing the Splunk Community Dashboard Challenge!

Welcome to Splunk Community Dashboard Challenge! This is your chance to showcase your skills in creating ...