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!

Upcoming Webinar: Unmasking Insider Threats with Slunk Enterprise Security’s UEBA

Join us on Wed, Dec 10. at 10AM PST / 1PM EST for a live webinar and demo with Splunk experts! Discover how ...

.conf25 technical session recap of Observability for Gen AI: Monitoring LLM ...

If you’re unfamiliar, .conf is Splunk’s premier event where the Splunk community, customers, partners, and ...

A Season of Skills: New Splunk Courses to Light Up Your Learning Journey

There’s something special about this time of year—maybe it’s the glow of the holidays, maybe it’s the ...