Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Logs+] Align the Parse and organize logs docs with the Stream logs page #3398

Closed
mdbirnstiehl opened this issue Dec 1, 2023 · 1 comment
Assignees

Comments

@mdbirnstiehl
Copy link
Contributor

mdbirnstiehl commented Dec 1, 2023

The dataset set in the Stream any log file page and does not match the examples in the Parse and organize logs page causing templates to not be applied. This causes frustration for users that are trying to move to the parsing page using their actual logs that they've ingested.

The code on the Parse and Filter pages should work with the code on the Stream page.

source: https://elastic.slack.com/archives/CEFAY0599/p1701451408635199

@mdbirnstiehl mdbirnstiehl self-assigned this Dec 1, 2023
@bvader
Copy link

bvader commented Dec 1, 2023

This needs to be corrected here

from

outputs:
  default:
    type: elasticsearch
    hosts: '<your-elasticsearch-endpoint>:<port>'
    api_key: 'your-api-key'
inputs:
  - id: your-log-id
    type: filestream
    streams:
      - id: your-log-stream-id
        data_stream.dataset: generic
        paths:
          - /var/log/your-logs.log

to

outputs:
  default:
    type: elasticsearch
    hosts: '<your-elasticsearch-endpoint>:<port>'
    api_key: 'your-api-key'
inputs:
  - id: your-log-id
    type: filestream
    streams:
      - id: your-log-stream-id
        data_stream:
          dataset: example
        paths:
          - /var/log/your-logs.log

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants