Github user justinleet commented on the issue:

    https://github.com/apache/metron/pull/827
  
    I ran a request giving sensors:
    ```
    curl -X POST --header 'Content-Type: application/json' --header 'Accept: 
application/json' -d '["snort", "bro"]' 
'http://node1:8082/api/v1/search/column/metadata'
    ```
    which returns fine
    ```
    {
      "TTLs": "double",
      "bro_timestamp": "string",
      "enrichments:geo:ip_dst_addr:location_point": "other",
      "sha256": "string",
      "enrichmentjoinbolt:joiner:ts": "date",
      "certificate:version": "integer",
    ...
    }
    ```
    
    but giving the actual indices returns nothing, e.g.
    ```
    curl -X POST --header 'Content-Type: application/json' --header 'Accept: 
application/json' -d '["bro_index_2017.11.17.14"]' 
'http://node1:8082/api/v1/search/column/metadata'
    ```
    
    I assume it's intentional that indices don't actually return data, which 
I'm fine with, but we need to rename things from indices to sensor or something.


---

Reply via email to