Log-analytics date parameter?

I am new to using log-analytics. One of my high traffic/bandwidth sites is currently hosted offsite and I have to pull down the logs and I manually pulled down the log files, which are daily, from the server. I picked a single log file to test and when I imported, it put that data on today’s date in the Piwik reports.

Is there a parameter I can include in the import command to set the date for each file?

In digging through the documentation, I saw a reference to something in the cron job “–date=yesterday” in a cron job section. I could not find a reference to a full list of the available parameters for the log-analytics command to know if that would do what I am looking for, and if it would, what format would I enter the date.

Thanks for your help.

1 Like