> For the complete documentation index, see [llms.txt](https://docs.nexthink.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.nexthink.com/platform/ja/understanding-key-data-platform-concepts/nexthink-query-language-nql/nql-operators/nql-bitwise-operators.md).

# NQLビット演算子

ビット単位の`and`および`or`演算子を[NQLウェア](/platform/ja/understanding-key-data-platform-concepts/nexthink-query-language-nql/nql-keywords/nql-where.md)に使用して、複数のフィルターを適用したり、複雑な条件を作成したりします。

### NQL 'and'

`and`演算子を使用して、複数の条件を組み合わせ、すべての条件を同時に満たすレコードのみを取得します。

**例:**

名前が"chrome.exe"で、Windows上で実行されるバイナリーを取得します。

{% code overflow="wrap" lineNumbers="true" %}

```
binaries during past 30d
| where name == "chrome.exe" and platform == windows 
```

{% endcode %}

### NQL 'or'

`or`演算子を使用して、複数の条件を組み合わせ、いずれかの条件を満たすレコードを取得します。

**例:**

名前に"chrome"または"firefox"を含むバイナリーを取得します。

{% code overflow="wrap" lineNumbers="true" %}

```
binaries  during past 7d
| where name == "*chrome*" or name == "*firefox*"
```

{% endcode %}


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation by asking a question.

Perform an HTTP GET request on the following URL with the `ask` and `goal` query parameters:

```
GET https://docs.nexthink.com/platform/ja/understanding-key-data-platform-concepts/nexthink-query-language-nql/nql-operators/nql-bitwise-operators.md?ask=<question>&goal=<user_goal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is what the user is ultimately trying to achieve, the reason they need the answer. Sharing it helps GitBook give you a better, more relevant answer. A goal is most helpful when it describes the outcome the user wants rather than restating the question. For example, with `ask=how do I create an API token`, a goal like `automate deployments from our CI pipeline` lets GitBook tailor the answer to that use case.

The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
