Skip to content

CSV Store plugin - support for timestamps in output file names #1078

Answered by baallan
puneet336 asked this question in Q&A
Discussion options

You must be logged in to vote

@puneet336 Thank you for your questions.

re a) You will want to examine the rollover options in the Plugin_store_csv man page installed with ldms. With rollover enabled and particularly the rename-on-close options you have a lot of flexibility in output renaming.

re b) I cannot think why you would want schema name (which in most cases is intended to map to a fixed downstream database schema) to change with the date. If you really want that, you'll need to stop ldmsd at midnight, regenerate the configuration file with the new date substituted in the configuration values that include date strings, and restart ldmsd. This could also be orchestrated via the python interface (ldmsd_controller)…

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by puneet336
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants