I'm having trouble getting the results of a database query to not rename the columns. In the documentation, it suggests that you can use "shortnames" to ask it not to rename the columns, but DBConnect seems to be ignoring that parameter.
Here's the request:
| dbxquery shortnames=t connection=c query="select date(s.date) as date, count as node_count from category_stats s where s.category_id=9 and s.stat_value='valid' and s.stat_name='node-count' order by date desc limit 50"
Here's the response:
{
(001) NULL.date.DATE: 2016-02-01
(002) category_stats.node_count.INT: 25339
}
We are using Splunk 6.3.0 and Splunk DB Connect 2.1.1.
... View more