I want to write in another index with project monitor (synthetic monitor) It's possible?

I want to write in another index with project monitor (synthetic monitor) It's possible?, I can to change the index synthetic-* or write in other datastream?

Hi Oscar,

Thank you for your question. It seems like your question is similar to this one.

In there you will find Tiago's comments which outlines that you can indeed configure these indexing conditions depending on the data. For that, you can have a look at the docs here.

Hope that helps! Please let me know if that's not exactly what you needed or whether there's anything else I can do to help :slight_smile:

Hi Lucas,
Currently I don't use Heartbeat, I use Project monitor so I send the monitor by push command (Push api-key url-kibana name-project), installed nodeJS and Playwright @elastic/synthetic, so this method send to index synthetic-* by default, this is a DataStream.

Hi Oscar, unfortunately there's no way of doing this yet in case you're pushing monitors to the managed infrastructure to run.

I will bring your suggestion to the team for us to discuss and maybe implement, but I can't make any promises about that, although I do think it is an interesting/useful request.

In the mean time, you should be able to edit the data stream, change the backing-indices, and then reindex the documents from the old index that was being used as the current. I know this is suboptimal, but thought I'd bring it up in case you think it could be helpful.

Thanks again for reaching out, Oscar

Hey Oscar, one question we discussed within the team is whether you'd be able to explain us a bit more about the use case of changing those indices. We thought that maybe there would be a better way of accomplishing what you wanted without changing the backing indices themselves.

Would you be able to provide us with some more details on this?

Thanks in advance!

Hi Lucas,
We want to generate synthetic monitors for different clients, so each client should have an index with different ILMs, as the client requires.

Do you need another information? Tell me please!

In addition to this,

  1. Is it possible to alter the format of the data Stream index? for example .ds-synthetics-browser-default-2022.08.05-000001, I want to remove the date. That is, what things can I work or customize on the data stream synthetics--.
  2. When we use push command to send monitor project to kibana, we have two options in --project => id | name, how do I send a value for the id and another for the name?