Skip to content

Commit

Permalink
textproc/py-splunk-hec: New port: Python class to submit events to Sp…
Browse files Browse the repository at this point in the history
…lunk HTTP Event Collector

This is a python class file for use with other python scripts to send events to
a Splunk http event collector.

Supported products:

Splunk v6.3.X+
Splunk v6.4.X+ for the raw input option
  • Loading branch information
alonsobsd committed Apr 30, 2023
1 parent 61e3bf3 commit 76b163c
Show file tree
Hide file tree
Showing 4 changed files with 35 additions and 0 deletions.
1 change: 1 addition & 0 deletions textproc/Makefile
Expand Up @@ -1556,6 +1556,7 @@
SUBDIR += py-sphinxcontrib-websupport
SUBDIR += py-sphinxemoji
SUBDIR += py-sphinxext-opengraph
SUBDIR += py-splunk-hec
SUBDIR += py-spylls
SUBDIR += py-stemming
SUBDIR += py-tableschema-to-template
Expand Down
24 changes: 24 additions & 0 deletions textproc/py-splunk-hec/Makefile
@@ -0,0 +1,24 @@
PORTNAME= splunk-hec
PORTVERSION= 1.81
CATEGORIES= textproc python
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}

MAINTAINER= acm@FreeBSD.org
COMMENT= Python class to submit events to Splunk HTTP Event Collector
WWW= https://github.com/georgestarcher/Splunk-Class-httpevent

LICENSE= MIT

RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}requests>0:www/py-requests@${PY_FLAVOR}

USE_GITHUB= yes
GH_ACCOUNT= georgestarcher
GH_PROJECT= Splunk-Class-httpevent
GH_TAGNAME= b1b7aae37bc73ea6e89c4a4667c4d8d227804546

USES= python:3.6+
USE_PYTHON= autoplist distutils

NO_ARCH= yes

.include <bsd.port.mk>
3 changes: 3 additions & 0 deletions textproc/py-splunk-hec/distinfo
@@ -0,0 +1,3 @@
TIMESTAMP = 1682885917
SHA256 (georgestarcher-Splunk-Class-httpevent-1.81-b1b7aae37bc73ea6e89c4a4667c4d8d227804546_GH0.tar.gz) = 1c817e8d8383a360d05458c27b37d055c4afdcd1f60b843ef7c1ef9be2cfc3b7
SIZE (georgestarcher-Splunk-Class-httpevent-1.81-b1b7aae37bc73ea6e89c4a4667c4d8d227804546_GH0.tar.gz) = 8804
7 changes: 7 additions & 0 deletions textproc/py-splunk-hec/pkg-descr
@@ -0,0 +1,7 @@
This is a python class file for use with other python scripts to send events to
a Splunk http event collector.

Supported products:

Splunk v6.3.X+
Splunk v6.4.X+ for the raw input option

0 comments on commit 76b163c

Please sign in to comment.