Querying time boundary against real time node

Trying to query a real time node for time information in its segments, but I get no data back(empty array back)

curl -X POST ‘http://localhost:8084/druid/v2/?pretty’ -H ‘content-type: application/json’ -d @time.json

cat time.json

{

“queryType”:“timeBoundary”,

“dataSource”:“druidtest”,

}

What am I missing?

Can you remove the comma at the end of druidtest? time.json doesn’t seem to be valid json

My bad cutting and pasting a wrong file here. I have the same issue.

curl -X POST ‘http://localhost:8084/druid/v2/?pretty’ -H ‘content-type: application/json’ -d @time.json

cat time.json

{

“queryType”:“timeBoundary”,

“dataSource”:“druidtest”

}

Hmmm, in the logs of your realtime node, do you see metrics about events ingested, rejected, etc?

Those metrics would be interesting.