parseablehq / collector Goto Github PK
View Code? Open in Web Editor NEWKubernetes application log collector for Parseable server
Home Page: https://www.parseable.io/
License: GNU Affero General Public License v3.0
Kubernetes application log collector for Parseable server
Home Page: https://www.parseable.io/
License: GNU Affero General Public License v3.0
if stream exists already response is 400
if stream name does have "-" or any character response is 400.
Add validation for string for stream name and exit 1.
kubec
should add jwt for each request sent to Parseable server.
curl --location --request POST 'https://demo.parseable.io/api/v1/logstream/frontend' \
--header 'X-P-META-Host: 10.116.0.3' \
--header 'X-P-META-Source: 10.244.0.147' \
--header 'X-P-META-ContainerName: log-generator' \
--header 'X-P-META-ContainerImage: mingrammer/flog' \
--header 'X-P-META-PodLabels: app=go-app,pod-template-hash=6c87bc9cc9' \
--header 'X-P-TAGS-AppName: go-app' \
--header 'X-P-TAGS-System: golang' \
--header 'Authorization: Basic password' \
--header 'Content-Type: application/json' \
--data-raw '[
{
"id": 2,
"host":"153.10.110.81",
"user-identifier":"-",
"datetime":"24/Jun/2022:14:12:15 +0000",
"method": "DELETE",
"request": "/virtual/drive",
"protocol":"HTTP/2.0",
"status":500,
"bytes":21969,
"referer": "http://www.seniordisintermediate.net/mesh/users"
}
]
Implement batch, if a size is greater X mb, write to file and upload.
req: &{GET http://parseable.default.svc.cluster.local/api/v1/query HTTP/1.1 1 1 map[Authorization:[Basic cGFyc2VhYmxlOnBhcnNlYWJsZQ==] Content-Type:[application/json] User-Agent:[Parseable collector ( │
│ time="2022-08-13T12:37:20Z" level=error msg="unexpected status code: 405 while querying log data timestamp in stream: demoapp"
This will need an API on Parseable server to fetch a logstream's last log
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.