I receive a new csv file every day in the following format: color 1/22/20 1/23/20 1/24/20 1/25/20 yellow 1 2 0 5 green 0 2 4 3 purple 7 200 5 3 Column 1 is the color, the column to the right starts a date column. Every day there will be a new column that is dated from the previous day. Today is Jun 29, so the csv I received this morning has columns from 1/1/2020 through 6/28/2020, all with a number indicating how many code yellows, greens, purples (and several other colors) occurred on that day. My search has started as: index="coded-colors" sourcetype="csv" | stats sum(*) by color Unfortunately, this chart isn't very good. I get all my colors on the (line) chart, but instead of dates moving from left to right, there are on top of each other. All the dates for yellow are stacked on top of each other, all the dates for red are stacked on top of each other, and the colors move from left to right. I'd like to have a nice line chart that has 1/1/2020 on the far left and the current date on the far right. I would like the "elevation" of the chart to be determined by the number of events for that day/date and colors. What has me stumped is how to use the column names as they continually change and are the actual date. I have no control over the csv file I receive. Arg. Thank you in advance. R
... View more