Git Product home page Git Product logo

ingest-tools's Introduction

Ingest-Tools

Sample bash scripts to POST json data over http into Splunk o11y suite.

Usage examples:

Create your organisation using Splunk API (see create_org.sh) and setup access token(s).

To learn more about sending data to Splunk O11y see: https://dev.splunk.com/observability/reference/api/ingest_data/latest

Post metric data (SignalFx format):

./sample_metric_ingest.sh -i https://ingest.REALM.signalfx.com/v2/datapoint -t YOUR_ACCESS_TOKEN

Post trace data (Zipkin format):

./sample_trace_ingest.sh -i https://ingest.REALM.signalfx.com/v2/trace -t YOUR_ACCESS_TOKEN

Post log data (HEC format):

./sample_log_ingest.sh -i https://ingest.REALM.signalfx.com/v1/log -t YOUR_ACCESS_TOKEN

Post rum trace data (Zipkin format)

./sample_rum_ingest.sh -i https://rum-ingest.REALM.signalfx.com/v1/rum -t YOUR_RUM_TOKEN

You can run any script periodicaly as a cron job, for example:

crontab -e

*/1 * * * * /home/ec2-user/Devel/ingest-tools/sample_metic_ingest.sh -i https://ingest.REALM.signalfx.com/v2/datapoint -t YOUR_ACCESS_TOKEN

./sample_otlp_trace_ingest.sh -i https://ingest.lab0.signalfx.com/v2/trace/otlp -t YOUR_ACCESS_TOKEN ./sample_otlp_metric_ingest.sh -i https://ingest.lab0.signalfx.com/v2/datapoint/otlp -t YOUR_ACCESS_TOKEN

Setup organisation

To use create_org.sh script you need to define following variables in .secrets.yaml file:

my-first-name: "Lukasz"
my-last-name: "Swolkien"
my-email: "[email protected]"
my-org-name: "your_org_name"
my-company-name: "your_company_name"

ingest-tools's People

Contributors

lukaszswolkien avatar

Stargazers

 avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.