https://github.com/artemrys/splunk-hec-encoding-issue-repro
Splunk HEC encoding issue repro
https://github.com/artemrys/splunk-hec-encoding-issue-repro
splunk splunk-addon splunk-gdi
Last synced: 9 months ago
JSON representation
Splunk HEC encoding issue repro
- Host: GitHub
- URL: https://github.com/artemrys/splunk-hec-encoding-issue-repro
- Owner: artemrys
- License: apache-2.0
- Created: 2022-06-14T15:19:12.000Z (almost 4 years ago)
- Default Branch: main
- Last Pushed: 2022-06-14T15:49:12.000Z (almost 4 years ago)
- Last Synced: 2025-04-12T10:53:36.442Z (about 1 year ago)
- Topics: splunk, splunk-addon, splunk-gdi
- Language: Python
- Homepage: https://medium.com/@rysartem/sending-data-to-splunk-hec-in-a-right-way-4a84af3c44e2
- Size: 207 KB
- Stars: 2
- Watchers: 1
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# splunk-hec-encoding-issue-repro
This repository shows the issue with the encoding when data is being ingested to Splunk via HEC.
There are 2 images showing 2 scenarios, when data is being ingested and being showed in Japanese and another case when data is being showed using Unicode characters.
Working example:

Not working example:

To run the examples youself:
```bash
python3 -m venv .venv
source .venv/bin/activate
pip install requests
python main_working.py
python main_not_working.py
```