Skip to content

Commit d5d0499

Browse files
authored
Merge branch 'main' into katex
2 parents a920429 + bb4efc3 commit d5d0499

File tree

7 files changed

+36
-12
lines changed

7 files changed

+36
-12
lines changed

docs/cse/get-started-with-cloud-siem/intro-for-analysts.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -303,8 +303,8 @@ If you do decide to write a custom rule, insight, or rule tuning expression, the
303303

304304
You're updating some of the firewalls in your system, and you don't want to trigger unnecessary alerts. Write a rule tuning expression that will allow yourself to bypass firewall-related rules.
305305

306-
1. [**Classic UI**](/docs/get-started/sumo-logic-ui-classic). In the top menu select **Content > Rule Tuning**. <br/>[**New UI**](/docs/get-started/sumo-logic-ui). In the main Sumo Logic menu, select **Cloud SIEM > Rule Tuning**. You can also click the **Go To...** menu at the top of the screen and select **Rule Tuning**.
307-
1. On the **Rule Tuning** page, click **Create**.
306+
1. [**Classic UI**](/docs/get-started/sumo-logic-ui-classic). In the main Sumo Logic menu, select **Cloud SIEM**. Then in the top menu, select **Content > Rule Tuning**. <br/>[**New UI**](/docs/get-started/sumo-logic-ui). In the main Sumo Logic menu, select **Cloud SIEM > Rule Tuning**. You can also click the **Go To...** menu at the top of the screen and select **Rule Tuning**.
307+
1. On the **Rule Tuning** page, click **Add Rule Tuning Expression**.
308308
1. Name your rule tuning expression.
309309
1. **Tune selected Rules** should be selected by default.
310310
1. Use the **Type to add a Rule** search bar to find rules to add your expression to.

docs/cse/rules/about-cse-rules.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -81,7 +81,7 @@ The tuning expression is AND’d with the rule expression—the rule will only g
8181

8282
Rule tuning expressions allow you to tailor the logic of a built-in rule without replicating and modifying the rule. The benefit of using a tuning expression, over the copy and edit method, is that when Cloud SIEM updates built-in rules, your tuning expressions are preserved. This division of logic means that you don’t need to create as many custom rules. If you use tuning expressions in combination with multi-entity rules you’ll further reduce the need for custom rules.   
8383

84-
You create tuning expressions on the **Rule Tuning** page, which is available from the **Content** menu. When you create a tuning expression, you have the option of applying to all of your rules, or to selected rules. Or, you can apply tuning expressions when you create a rule. You can apply multiple tuning expressions to a rule. You can assign a tuning expression to selected rules, or to all of your rules. You can also create a tuning expression without immediately assigning it to any rules. For more information, see [Rule Tuning Expressions](/docs/cse/rules/rule-tuning-expressions).
84+
You create tuning expressions on the **Rule Tuning** page. When you create a tuning expression, you have the option of applying to all of your rules, or to selected rules. Or, you can apply tuning expressions when you create a rule. You can apply multiple tuning expressions to a rule. You can assign a tuning expression to selected rules, or to all of your rules. You can also create a tuning expression without immediately assigning it to any rules. For more information, see [Rule Tuning Expressions](/docs/cse/rules/rule-tuning-expressions).
8585

8686
## "On Entity" configuration
8787

docs/cse/rules/rule-tuning-expressions.md

Lines changed: 6 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -75,10 +75,10 @@ Watch this micro lesson to learn how to create a rule tuning expression.
7575

7676
## Create a tuning expression
7777

78-
1. [**Classic UI**](/docs/get-started/sumo-logic-ui-classic). In the top menu select **Content > Rule Tuning**. <br/>[**New UI**](/docs/get-started/sumo-logic-ui). In the main Sumo Logic menu, select **Cloud SIEM > Rule Tuning**. You can also click the **Go To...** menu at the top of the screen and select **Rule Tuning**.
79-
1. On the **Rule Tuning** page, click **Create**.
78+
1. [**Classic UI**](/docs/get-started/sumo-logic-ui-classic). In the main Sumo Logic menu, select **Cloud SIEM**. Then in the top menu select **Content > Rule Tuning**. <br/>[**New UI**](/docs/get-started/sumo-logic-ui). In the main Sumo Logic menu, select **Cloud SIEM > Rule Tuning**. You can also click the **Go To...** menu at the top of the screen and select **Rule Tuning**.
79+
1. On the **Rule Tuning** page, click **Add Rule Tuning Expression**.
8080
1. The **New Rule Tuning Expression** page appears.
81-
<br/><img src={useBaseUrl('img/cse/annotated-expression.png')} alt="Annotated expression" style={{border: '1px solid gray'}} width="800"/>
81+
<br/><img src={useBaseUrl('img/cse/annotated-expression.png')} alt="Empty screen to create a rule tuning expression" style={{border: '1px solid gray'}} width="800"/>
8282
1. **Name**. Enter a name for the tuning expression. 
8383
1. **Description**. Enter a description of the tuning expression.
8484
1. In the **Tune [selected|all] Rules** section:
@@ -104,14 +104,11 @@ You can also create new tuning expression and apply existing tuning expressions
104104

105105
When you create a tuning expression it is enabled by default. If you disable a tuning expression, rules that it is applied to will behave as if the tuning expression does not exist. 
106106

107-
You can toggle the enablement state of a tuning expression on the **Rule Tuning** page using the control to the left of the delete icon.
107+
<img src={useBaseUrl('img/cse/enable-on-list.png')} alt="Enable on list page" style={{border: '1px solid gray'}} width="600"/>
108108

109-
<img src={useBaseUrl('img/cse/enable-on-list.png')} alt="Enable on list page" style={{border: '1px solid gray'}} width="800"/>
110-
111-
You can also toggle the enablement state on the details page for a tuning expression.
112-
113-
<img src={useBaseUrl('img/cse/enable-on-details.png')} alt="Enable on details page" style={{border: '1px solid gray'}} width="800"/>
109+
You can toggle the enablement state on the details page for a tuning expression.
114110

111+
<img src={useBaseUrl('img/cse/enable-on-details.png')} alt="Enable on details page" style={{border: '1px solid gray'}} width="600"/>
115112

116113
## Testing tuning expressions
117114

docs/send-data/kubernetes/troubleshoot-collection.md

Lines changed: 27 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -696,6 +696,33 @@ Then, look at the Sumo Logic Mock logs:
696696
2024-02-13T14:19:56.412Z DEBUG [sumologic_mock::router::otlp] Span => name: ancestor-7, span_id: 34b7b7f27d6a9d86, parent_span_id: 2ef9759def53f709, trace_id: f7563cc4ef721e1d14974eea71e20b55
697697
```
698698

699+
### Auto-instrumentation (tracing)
700+
701+
The environment variables injected into a pod by Java auto-instrumentation are shown below.
702+
703+
```yaml
704+
Environment:
705+
OTEL_NODE_IP: (v1:status.hostIP)
706+
OTEL_POD_IP: (v1:status.podIP)
707+
OTEL_METRICS_EXPORTER: otlp
708+
OTEL_TRACES_EXPORTER: otlp
709+
OTEL_EXPORTER_OTLP_PROTOCOL: http/protobuf
710+
OTEL_EXPORTER_OTLP_ENDPOINT: http://sumo-sumologic-otelagent.observability:4318
711+
JAVA_TOOL_OPTIONS: -javaagent:/otel-auto-instrumentation-java/javaagent.jar
712+
OTEL_APPLICATION_NAMESPACE_NAME: default
713+
OTEL_SERVICE_NAME: java-app
714+
OTEL_RESOURCE_ATTRIBUTES_POD_NAME: java-app-58cdff4f7b-2zv5q (v1:metadata.name)
715+
OTEL_RESOURCE_ATTRIBUTES_NODE_NAME: (v1:spec.nodeName)
716+
OTEL_PROPAGATORS: tracecontext,baggage
717+
OTEL_RESOURCE_ATTRIBUTES: application=default,k8s.container.name=javaapp,k8s.deployment.name=java-app,k8s.namespace.name=default,k8s.node.name=$(OTEL_RESOURCE_ATTRIBUTES_NODE_NAME),k8s.pod.name=$(OTEL_RESOURCE_ATTRIBUTES_POD_NAME),k8s.replicaset.name=java-app-58cdff4f7b,service.instance.id=default.$(OTEL_RESOURCE_ATTRIBUTES_POD_NAME).javaapp,service.version=main
718+
```
719+
720+
:::note
721+
Ensure that the `OTEL_EXPORTER_OTLP_ENDPOINT` environment variable is set to `http://sumo-sumologic-otelagent.observability:4318` to allow proper communication with the OpenTelemetry Collector.
722+
723+
Where `sumo` is the release name and `observability` is the release namespace.
724+
:::
725+
699726
## Collecting events
700727

701728
### Check events body
1.28 KB
Loading
-12.1 KB
Loading

static/img/cse/enable-on-list.png

-37 KB
Loading

0 commit comments

Comments
 (0)