Skip to content

Commit

Permalink
feat: add parser for powertech interact
Browse files Browse the repository at this point in the history
  • Loading branch information
ikheifets-splunk committed Oct 23, 2023
1 parent dbc7fe8 commit 526597e
Show file tree
Hide file tree
Showing 2 changed files with 52 additions and 0 deletions.
31 changes: 31 additions & 0 deletions docs/sources/vendor/Powertech/interact.md
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 package/etc/conf.d/conflib/cef/app-cef-powertech_interact.conf
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(); };
};

0 comments on commit 526597e

Please sign in to comment.