-
Notifications
You must be signed in to change notification settings - Fork 110
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: add parser for powertech interact
- Loading branch information
1 parent
dbc7fe8
commit 526597e
Showing
2 changed files
with
52 additions
and
0 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,31 @@ | ||
# PowerTech Interact | ||
|
||
## Key facts | ||
|
||
* MSG Format based filter | ||
* CEF Format default port 514 | ||
|
||
## Links | ||
|
||
| Ref | Link | | ||
|-----------------------------|--------------------------------------------------------------------------------------------| | ||
| Splunk Add-on | None | | ||
|
||
|
||
## Sourcetypes | ||
|
||
| sourcetype | notes | | ||
|-----------------------------|--------------------------------------------------------------------------------------------| | ||
| PowerTech:Interact:cef | CEF | | ||
|
||
## Source | ||
|
||
| source | notes | | ||
|-----------------------------|--------------------------------------------------------------------------------------------| | ||
| PowerTech:Interact:cef | None | | ||
|
||
### Index Configuration | ||
|
||
| key | source | index | notes | | ||
|--------------------|---------------------|------------------------|----------------| | ||
|PowerTech_Interact | PowerTech:Interact | netops | none | |
21 changes: 21 additions & 0 deletions
21
package/etc/conf.d/conflib/cef/app-cef-powertech_interact.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,21 @@ | ||
block parser app-cef-power_interact() { | ||
channel { | ||
rewrite { | ||
r_set_splunk_dest_default( | ||
index('netops'), | ||
source('PowerTech:Interact'), | ||
sourcetype('PowerTech:Interact:cef') | ||
vendor('PowerTech') | ||
product('Interact') | ||
); | ||
}; | ||
}; | ||
}; | ||
|
||
application app-cef-power_interact[cef] { | ||
filter{ | ||
match("PowerTech" value(".metadata.cef.device_vendor")) | ||
and match("Interact" value(".metadata.cef.device_product")); | ||
}; | ||
parser { app-cef-power_interact(); }; | ||
}; |