-
Notifications
You must be signed in to change notification settings - Fork 111
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix: extend filtering for cohesity (#2234)
- Loading branch information
1 parent
7c76896
commit b566305
Showing
3 changed files
with
75 additions
and
8 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
27 changes: 27 additions & 0 deletions
27
package/etc/conf.d/conflib/syslog/app-syslog-cohesity_api_audit.conf
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,27 @@ | ||
block parser app-syslog-cohesity_api_audit() { | ||
channel { | ||
parser { | ||
json-parser( | ||
prefix('.values.') | ||
); | ||
}; | ||
rewrite { | ||
r_set_splunk_dest_default( | ||
index('infraops') | ||
sourcetype('cohesity:api:audit') | ||
vendor("cohesity") | ||
product("api") | ||
class('audit') | ||
template('t_msg_only') | ||
); | ||
}; | ||
|
||
}; | ||
}; | ||
application app-syslog-cohesity_api_audit[sc4s-syslog-pgm] { | ||
filter { | ||
program("api_audit" type(string) flags(prefix)); | ||
}; | ||
parser { app-syslog-cohesity_api_audit(); }; | ||
}; | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters