New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

github.com/adampikulik/cx_scroll_query

Package Overview
Dependencies
Alerts
File Explorer
Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

github.com/adampikulik/cx_scroll_query

  • v0.0.0-20211026175143-54be8d517c1d
  • Source
  • Go
  • Socket score

Version published
Created
Source

cx_scroll_query

Description

I created the cx_scroll_query tool to retrieve logs from Coralogix teams faster and easier. It executes HTTP requests to Coralogix ES API (https://coralogix.com/tutorials/elastic-api/)


List of files

  • config.txt - Set your ES key and the cluster once.
          - ES_KEY - It is your ES key which you can find at https://<your team url>/#/settings/account/api_key.
          - CLUSTER - It can be EU (coralogix.com), IN (app.coralogix.in), US (app.coralogix.us). By default: EU.
  • cx_scroll_query - the tool compiled on MacOS
  • cx_scroll_query.exe - the tool compiled on Windows.
  • main.go - the source file
  • query.txt - a file with ES query. It contains an example

Usage

  1. Download the following files: cx_scroll_query (or cx_scroll_query.exe), config.txt and query.txt to one directory.
  2. Open the terminal on Mac or Command Prompt (cmd) on Windows and change to the directory where you downloaded files.
  3. Only on Mac: Add executable permission to the script. Execute:
chmod +x cx_scroll_query
  1. Update query.txt with your Elastic query.
  2. Update config.txt with your ES key and cluster.
  3. Run the script:
    On Mac:
./cx_scroll_query

On Windows:

cx_scroll_query.exe
  1. It will create new directory query_result_files and will save files with results there.

Development

If you need to compile the tool for your platform

Requirements
  • Go version >= 1.17
Build
  1. Create a directory (for example: cx_scroll_query)
  2. Download files.
  3. Execute:
$ make

FAQs

Package last updated on 26 Oct 2021

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc