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!

Alerting Best Practices: How to Create Good Detectors

At their best, detectors and the alerts they trigger notify teams when applications aren’t performing as ...

Discover Powerful New Features in Splunk Cloud Platform: Enhanced Analytics, ...

Hey Splunky people! We are excited to share the latest updates in Splunk Cloud Platform 9.3.2408. In this ...

Splunk Classroom Chronicles: Training Tales and Testimonials

Welcome to the "Splunk Classroom Chronicles" series, created to help curious, career-minded learners get ...