retention

Is there any way to delete logic app run history / logs?

你。 提交于 2021-01-28 18:01:41
问题 Is there any way to delete all the Run history logs from a logic app. I know there is a preview on "Log Retention Time" right now being tested but the most frequent time to delete all logs is once every week. I need to be able to do it more frequent, in this case every 3rd day. Is there any other way to delete logic app logs/history? EDIT: Looking at the PowerShell commands in Azure resource manager for a specific run there are only two actions that the Azure resource manager API supports.

How to assign a retention tag to a mail item in Outlook VBA?

江枫思渺然 提交于 2020-02-05 13:17:27
问题 I'm trying to write a macro which will be going through a folder in Outlook assigning a retention tag (docs) to some items based on some complicated criteria. I don't know how to do this in VBA. So far I've learned that mail items have some retention related properties ( PidTagPolicyTag (docs), etc.), but I still don't know how to deal with them properly. What would be some examples of using with these? 回答1: Take a look at existing message with those properties set using OutlookSpy (click

How to assign a retention tag to a mail item in Outlook VBA?

泪湿孤枕 提交于 2020-02-05 13:17:11
问题 I'm trying to write a macro which will be going through a folder in Outlook assigning a retention tag (docs) to some items based on some complicated criteria. I don't know how to do this in VBA. So far I've learned that mail items have some retention related properties ( PidTagPolicyTag (docs), etc.), but I still don't know how to deal with them properly. What would be some examples of using with these? 回答1: Take a look at existing message with those properties set using OutlookSpy (click

How to assign a retention tag to a mail item in Outlook VBA?

笑着哭i 提交于 2020-02-05 13:16:19
问题 I'm trying to write a macro which will be going through a folder in Outlook assigning a retention tag (docs) to some items based on some complicated criteria. I don't know how to do this in VBA. So far I've learned that mail items have some retention related properties ( PidTagPolicyTag (docs), etc.), but I still don't know how to deal with them properly. What would be some examples of using with these? 回答1: Take a look at existing message with those properties set using OutlookSpy (click

Graylog2- how to config logs retention to 1 week

試著忘記壹切 提交于 2019-12-22 05:22:06
问题 We are using some Graylog2 servers ( graylog-server version 1.3.4). Because we receive too much of log messages, it requires a lot of memory. I am trying to reduce the logs retention to 1 week, every log messages older than 1 week will be deleted. However, I cannot find out any value in configuration file to do that. I used "max_time_per_index = 7d" value but max_time_per_index seems just define the age of an index until it's rotated and a new index is being created, not of the messages in

@Retention of Java type checker annotations

社会主义新天地 提交于 2019-12-14 01:40:38
问题 The Java 8 type annotations (JSR 308) allow type checkers to perform static code analysis. For example, The Checker Framework can check for possible nullness via @NonNull annotations. Various projects define their own NonNull annotations, for example: org.checkerframework.checker.nullness.qual.NonNull edu.umd.cs.findbugs.annotations.NonNull javax.annotation.Nonnull javax.validation.constraints.NotNull lombok.NonNull org.eclipse.jdt.annotation.NonNull etc. (see The Checker Framework Manual,

Create custom method level annotation only available to specific return types [AOP]

自古美人都是妖i 提交于 2019-12-12 18:35:32
问题 I want to create an annotation which is only available to a specific type of return values. For example this is my annotation. @Retention(RetentionPolicy.RUNTIME) @Target({ElementType.METHOD}) public @interface MyAnnotation { } I also have an interface: public interface MyInterface { String generateKey(); } An example class that implements my interface: public class ExampleClass implements MyInterface { @Override public String generateKey() { return "Whatever"; } } So after these, I want to

Difference between retention configuration offsets.retention.minutes and log.retention.minutes

心已入冬 提交于 2019-12-09 12:31:25
问题 What is the difference between the following two retention configurations? offsets.retention.minutes log.retention.minutes I don't get how it differs or relate to each other. From my understanding, once the offset is removed, the record in the log is not accessible and vice versa. Is there something I have misunderstood? 回答1: The offset is a pointer to the most recent message that has been consumed by a consumer. So if you read 10 messages, the offset moves 10 places. offsets.retention

calculating simple retention in R

徘徊边缘 提交于 2019-12-06 00:35:10
问题 For the dataset test , my objective is to find out how many unique users carried over from one period to the next on a period-by-period basis. > test user_id period 1 1 1 2 5 1 3 1 1 4 3 1 5 4 1 6 2 2 7 3 2 8 2 2 9 3 2 10 1 2 11 5 3 12 5 3 13 2 3 14 1 3 15 4 3 16 5 4 17 5 4 18 5 4 19 4 4 20 3 4 For example, in the first period there were four unique users (1, 3, 4, and 5), two of which were active in the second period. Therefore the retention rate would be 0.5. In the second period there were

Graylog2- how to config logs retention to 1 week

眉间皱痕 提交于 2019-12-05 06:42:09
We are using some Graylog2 servers ( graylog-server version 1.3.4). Because we receive too much of log messages, it requires a lot of memory. I am trying to reduce the logs retention to 1 week, every log messages older than 1 week will be deleted. However, I cannot find out any value in configuration file to do that. I used "max_time_per_index = 7d" value but max_time_per_index seems just define the age of an index until it's rotated and a new index is being created, not of the messages in that index. So, what's the best way to set message retention to 1 week? Please help me. Thanks a lot.