Trouble creating Index Pattern on local cluster

Versions 3.9.0 (from opensearch-3.9.0-linux-arm64.tar.gz, opensearch-dashboards-3.9.0-linux-arm64.tar.gz )

Describe the issue: I am new to Opensearch and would like to import zeek & suricata data. I send the data into Opensearch using rsyslog which seems to work as far as I can tell. Now I like to access the data and follow Index patterns | OpenSearch Documentation but my UI does not show the index option. I only see ( logged in as admin)

  • Overview
  • Discover
  • Dashboards
  • Visualize and report
    • Visualizations
    • Maps
  • Evaluate search
    • Search relevance
  • Configure
    • AI Search Flows

What do I miss ? Not sure which config / screenshot do you need to comment.

Thank you

Markus

Configuration:

Relevant Logs or Screenshots:

Are you familiar and do you have access to devtools

Yes I have access and can run them also with curl.

Hi Markus, to build on jerome.sec’s Dev Tools question, here’s what I’d check.

1. Is the data actually there? In Dev Tools:

```

GET _cat/indices?v&s=index

```

Look for the index rsyslog writes to. If you didn’t set `searchIndex` in the omelasticsearch action, rsyslog uses its default index name `system`, not something like `zeek-*`. Then check that your time field is mapped as a date:

```

GET /_mapping

```

2. Where the page is: Index patterns live under Management > Dashboards Management > Index patterns. The menu you listed (Overview, Discover, Evaluate search, AI Search Flows…) looks like the newer left navigation, where Management sits behind the settings/gear icon at the bottom of the left bar rather than in the main list. You can also open it directly:

```

http://localhost:5601/app/management/opensearch-dashboards/indexPatterns

```

3. Or skip the UI: you can create the pattern through the saved objects API (adjust the title and time field):

```

curl -u admin: -X POST “http://localhost:5601/api/saved_objects/index-pattern” \

-H “osd-xsrf: true” -H “Content-Type: application/json” \

-d ‘{“attributes”:{“title”:“system*”,“timeFieldName”:“@timestamp”}}’

```

After that, it shows up in Discover’s index pattern picker.

If step 1 shows no index at all, the problem is on the rsyslog side, and the rsyslog action config would help.

This link gave me the Index pattern. Does it mean the documentation for 3.9.0 is wrong ? When I check settings in the dashboard I get data administration and I don’t see Index pattern there either.

Thank you

Markus

Glad the link worked! The docs aren’t really wrong, they just describe the classic navigation (Management > Dashboards Management > Index patterns).

Your Dashboards is running the newer left navigation, which groups things differently. At the bottom of the left bar there are two separate entries:

- Data administration (database icon): policies and security for your data

- Settings and setup (gear icon): this is where Index patterns lives, along with Application settings.

If you prefer the layout from the docs, the new navigation is controlled by the advanced setting “Use New Home Page” (`home:useNewHomePage`). Turn it off under Settings and setup > Application settings (that’s the new name for Advanced settings), reload the page, and you get the classic menu with Management > Dashboards Management.

If you think the docs should mention both layouts, an issue on the opensearch-project documentation-website repo would probably help the next person.

Thank you. It would help to point that out as I can’t follow the documentation as is.

I see this greyed out.

Use New Home Page

Try the new home page

Default: false

home:useNewHomePage

On

This setting is overridden by the OpenSearch Dashboards server and can not be changed.

That message means the value is pinned in the Dashboards config file, so the UI can’t change it. Settings set there under `uiSettings.overrides` always win over the Advanced settings page.

In the stock 3.9.0 tarball that block is only a commented-out example, so it was probably enabled at some point in your `config/opensearch_dashboards.yml`. Look for something like:

```

uiSettings:

overrides:

"home:useNewHomePage": true

```

Either delete the `“home:useNewHomePage”` line (then you can switch it in the UI) or set it to `false`, and restart Dashboards. You should then get the classic menu the docs describe.

If you’d rather keep the new navigation, that’s fine too: everything is still there, just grouped differently, and the direct link keeps working.

It is not in my config. I have just this:

server.host: 0.0.0.0
server.ssl.enabled: true
server.ssl.certificate: /etc/opensearch-dashboards/certs/dashboard.crt
server.ssl.key: /etc/opensearch-dashboards/certs/dashboard.key
logging.dest: /data/opensearch-dashboards/log/opensearch-dashboards.log
workspace.enabled: true
explore.enabled: true
opensearch.hosts: [https://localhost:9200]
opensearch.ssl.verificationMode: none
opensearch.username: kibanaserver
opensearch.password: XXXXXX
opensearch.requestHeadersWhitelist: [authorization, securitytenant]
opensearch_security.multitenancy.enabled: true
opensearch_security.multitenancy.tenants.preferred: [Private, Global]
opensearch_security.readonly_mode.roles: [kibana_read_only]
opensearch_security.cookie.secure: false