Skip to content

Commit 92c1dde

Browse files
committed
Remove dependency on kv store in for flare splunk app
1 parent 9913cfe commit 92c1dde

File tree

17 files changed

+307
-583
lines changed

17 files changed

+307
-583
lines changed

compose.yml

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
services:
22
splunk:
3-
image: splunk/splunk:9.3
3+
image: splunk/splunk:latest
44
container_name: splunk
55
platform: linux/amd64
66
restart: unless-stopped
@@ -11,4 +11,5 @@ services:
1111
- SPLUNK_PASSWORD=a_password
1212
volumes:
1313
- ./output/flare:/opt/splunk/etc/apps/flare
14-
- ./splunk/default.yml:/tmp/defaults/default.yml
14+
- ./splunk/default.yml:/tmp/defaults/default.yml
15+
- ./logs:/opt/splunk/var/log/splunk

packages/flare/bin/__init__.py

Whitespace-only changes.

packages/flare/bin/constants.py

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,6 @@
66
HOST = "localhost"
77
SPLUNK_PORT = 8089
88
REALM = APP_NAME + "_realm"
9-
KV_COLLECTION_NAME = "event_ingestion_collection"
109
CRON_JOB_THRESHOLD_SINCE_LAST_FETCH = timedelta(minutes=10)
1110

1211

@@ -18,7 +17,7 @@ class PasswordKeys(Enum):
1817
SOURCE_TYPES_FILTER = "source_types_filter"
1918

2019

21-
class CollectionKeys(Enum):
20+
class DataStoreKeys(Enum):
2221
LAST_INGESTED_TENANT_ID = "last_ingested_tenant_id"
2322
START_DATE = "start_date"
2423
TIMESTAMP_LAST_FETCH = "timestamp_last_fetch"

0 commit comments

Comments
 (0)