TLDR xy asked about directing business logs to separate repositories. Ashish and Prabhat guided on configuring the log forwarder and setting up the Logstash format.
which log forwarder are you using for ingestion
this
in URI api/{org_id}/{log stream}/_json
please replace api/default/{log stream}/_json with desired value
Is there an example? I just used this and I'm not very familiar with it
```[OUTPUT] Name http Match * URI /api/default/stream1/_json```
you can use this with rest of section from above configuration
need to configure multiple inputs to distinguish different businesses and collect them as input?
yes
[OUTPUT] Name es Match * Host zo1-openobserve-router.openobserve.svc.cluster.local Port 5080 Logstash_Format on Logstash_Prefix_Key $kubernetes['labels']['app'] index xiaoya Replace_Dots On Retry_Limit False path /api/default http_user xxx http_passwd xxx
It seems simpler to use the ES plugin above
you would want to remove date from the stream name, You don't need that here
how to remove date from the stream name? :melting_face:
Logstash_Format off
you can try that
Thank you. i will try now
xy
Thu, 17 Aug 2023 08:36:31 UTCHello, I'd like to inquire about how to record different business logs into separate log repositories. Similar to having different business logs correspond to different Elasticsearch indexes.