Dashboards & Visualizations

How do I change the x axis?

alakhotia
Explorer

I have this query that ends like this:

| convert timeformat="%Y-%m-%d" ctime(_time) AS date
| stats count by loggingObject.methodName, loggingObject.httpReturnCode, date

 

I then click on "Visualization".  How do I get the x-axis to be dates instead of the method name?

Labels (1)
0 Karma

ITWhisperer
SplunkTrust
SplunkTrust

x-axis will be the first column / field in the results, so put date as the first field after the by

| stats count by date, loggingObject.methodName, loggingObject.httpReturnCode
0 Karma
Get Updates on the Splunk Community!

Enterprise Security Content Update (ESCU) | New Releases

In January, the Splunk Threat Research Team had one release of new security content via the Splunk ES Content ...

Expert Tips from Splunk Professional Services, Ensuring Compliance, and More New ...

Splunk Lantern is a Splunk customer success center that provides advice from Splunk experts on valuable data ...

Observability Release Update: AI Assistant, AppD + Observability Cloud Integrations & ...

This month’s releases across the Splunk Observability portfolio deliver earlier detection and faster ...