IMPORTANT ANNOUNCEMENT: On May 6, 2024, Carbon Black User eXchange (UeX) and Case Management will move to a new platform!
The Community will be in read-only mode starting April 19th, 7:00 AM PDT. Check out the blog post!
You will still be able to use the case portal to create and interact with your support cases until the transition, view more information here!

EDR: How to get raw process documents via Curl

EDR: How to get raw process documents via Curl

Environment

  • EDR: 6.x and higher
  • Standalone server

Objective

Query for raw process document information

Resolution

Please see Related Content if your environment is clustered

  1. Log into the console.
  2. Perform your search and click the process to bring you to the Process Analysis page.
  3. In the Process Analysis page grab the Unique ID (highlighted in red) from the browser URL
    https://<server>/#/analyze/00000007-0000-24c8-01d4-6cab54141c72/1540927207635?cb.legacy_5x_mode=false
    • Log into the server via ssh/terminal and run the following command, replacing the <uniqueid>:
      curl 'http://localhost:8080/solr/reader/select?q=id:<uniqueid>*&rows=0'
      
    • View the "numFound" and enter a value greater than in the &rows= section of the next command. 
      response":{"numFound":29,"start":0,"maxScore":1.0,"docs":
    • Run the following command, in the example numFound came back as 29, so 40 is used to give a buffer as the rows= 
      curl 'http://localhost:8080/solr/reader/select?q=id:<uniqueid>*&wt=json&indent=true&rows=40&debug=track&sort=last_server_update%20asc' >> <uniqueid>.json && /usr/share/cb/cbpost <uniqueid>.json

      Additional Notes


      Related Content


      Labels (1)
      Tags (2)
      Was this article helpful? Yes No
      0% helpful (0/1)
      Article Information
      Author:
      Creation Date:
      ‎11-28-2018
      Views:
      3877
      Contributors