influxdata / influxdata/docs-v2
How to use `influx3` CLI to write multiple line protocol records with a single command (not CSV)
@jstirnaman is already working on this.
Since Jun 15, 2023.
- Dominant language
- JavaScript
- Stars
- 82
- Forks
- 326
- Avg merge
- 1d 1h
- Merged PRs (30d)
- 82
Description
@Jayclifford345 Is there an elegant way to use `influx3` alone or with bash commands to write a batch of line protocol in a single command?
I tried several ways of providing a list of records, but can't find one that writes them all.
I also tried this:
```sh
for line in "${lines[@]}"; do
echo "$line" | xargs -I record influx3 write record
done
```
But the quotes aren't right, and it's less than elegant.
##### Relevant URLs
- https://github.com/InfluxCommunity/influxdb3-python-cli
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Assessment
This issue has not been assessed yet.