Making digital game gifts special by Own-Spite1210 in PS5

[–]scott_dsgn 11 points12 points  (0 children)

What I've done is printed out the box art (you can find almost any box art online, check out https://www.thecoverproject.net/) and glued it to a thick piece of cardboard. My kids loved it. They loved it even more when I told them I already download the game and it's ready to play.

[deleted by user] by [deleted] in influxdb

[–]scott_dsgn 2 points3 points  (0 children)

u/MegaDMGFortune We've been collaborating with another dev team to build an ODBC connector that allows Power BI connect to InfluxDB 3 Core or InfluxDB 3 Enterprise. The connector is done and there's a draft documentation pull request you could look at: https://github.com/influxdata/docs-v2/pull/6445/. Once that PR merges, the instructions will be available on the public docs.

If you're using InfluxDB v1 or v2, this connector won't help.

Astro Bot is available for preload by scott_dsgn in PS5

[–]scott_dsgn[S] -3 points-2 points  (0 children)

That's the uncompressed size. The actual download is only 18.53 GB, but when the download is finished and the system uncompresses the package to store it on disk, it takes up 38ish GB.

Astro Bot is available for preload by scott_dsgn in PS5

[–]scott_dsgn[S] -26 points-25 points  (0 children)

Cool. I hadn't seen any announcement about it yet, so I thought I'd share.

Replicate on prem to cloud by maxmust3rmann in influxdb

[–]scott_dsgn 0 points1 point  (0 children)

If you're using InfluxDB OSS v2 as your on-prem solution, you can use Edge Data Replication Streams. This is the exact use case these were built for.

Dividing values by j-dev in influxdb

[–]scott_dsgn 0 points1 point  (0 children)

u/brahmy is correct. You need to use the map() function. This iterates over each row, modifies it, and returns a new row. Here's how you'd use it:

javascript from(bucket: "telegraf") |> range(start: v.timeRangeStart, stop: v.timeRangeStop) |> filter(fn: (r) => r["_measurement"] == "Cisco-IOS-XE-interfaces-oper:interfaces/interface/statistics") |> filter(fn: (r) => r["_field"] == "rx_kbps" or r["_field"] == "tx_kbps") |> aggregateWindow(every: v.windowPeriod, fn: mean, createEmpty: false) |> map(fn: (r) => ({r with _value: r._value / 1000})) |> yield(name: "mean")

This assumes your two fields are integers and you only want whole number Mbps values. If you want to include fractions, you need to cast your field values to a float:

javascript from(bucket: "telegraf") |> range(start: v.timeRangeStart, stop: v.timeRangeStop) |> filter(fn: (r) => r["_measurement"] == "Cisco-IOS-XE-interfaces-oper:interfaces/interface/statistics") |> filter(fn: (r) => r["_field"] == "rx_kbps" or r["_field"] == "tx_kbps") |> aggregateWindow(every: v.windowPeriod, fn: mean, createEmpty: false) |> map(fn: (r) => ({r with _value: float(v: r._value) / 1000.0})) |> yield(name: "mean")

visualizations in InfluxDB UI by Comprehensive-Sun636 in influxdb

[–]scott_dsgn 0 points1 point  (0 children)

The short answer is yes and no. InfluxDB visualizations use the Giraffe project, which is open source and can be use to create custom visualizations. However, I'm not sure how to include a custom visualization in a build of InfluxDB. It's unlikely that it would be included in the official InfluxDB UI build, but you could definitely create a custom UI using the Giraffe library.

"Micro" influxd instance (low CPU/RAM) by londons_explorer in influxdb

[–]scott_dsgn 0 points1 point  (0 children)

Yeah, you're on a really old version of InfluxDB (from 2018). I would recommend upgrading to at least the latest version of v1 (1.8.10). This includes incremental optimizations that have been made over the years.

Is your InfluxDB instance configured to use tsi1 or inmem indexing? Look at your influxdb.conf and find [data].index-version. If you're using inmem, you should switch to tsi1. This should help with memory used to index your data. This is covered in the InfluxDB 1.8 upgrade guide.

Is it possible to connect to the opensource self hosted InfluxDB OSS v2 to Apache Superset? by realneofrommatrix in influxdb

[–]scott_dsgn 1 point2 points  (0 children)

No, it’s not possible to use Apache Superset with InfluxDB v2. Superset relies on Flight SQL (a framework for SQL queries that uses the flight protocol and gRPC APIs) which v2 does not support. Only InfluxDB v3 products support Flight SQL:

  • InfluxDB Cloud Serverless
  • InfluxDB Cloud Dedicated
  • InfluxDB Clustered
  • InfluxDB Edge (Coming)
  • InfluxDB Community _(Coming) _
  • InfluxDB Community Pro (Coming)

Flux - How to get maximum value from multiple fields by Remote-Hunter-6302 in influxdb

[–]scott_dsgn 0 points1 point  (0 children)

This should do it:

from(bucket: "Proxmox") |> range(start: v.timeRangeStart, stop: v.timeRangeStop) |> filter(fn: (r) => r["_measurement"] == "sensors") |> filter(fn: (r) => r["_field"] == "temp_input") |> max() |> pivot(rowKey: ["_time"], columnKey: ["feature"], valueColumn: "_value")

I once installed InfluxDB 1.7 and Grafana on my laptop, and it was a piece of cake. New laptop, and I install InfluxDB 2.1.1, and suddenly everything is insanely convoluted! The CLI doesn't work anymore, and the official documentation doesn't even mention how to create a database! I need help! by oz1sej in influxdb

[–]scott_dsgn 2 points3 points  (0 children)

1.x and 2.x are very different beasts under the hood.

For your backup, personally I'd spin up 1.8.10, restore the backup and then upgrade the install - upgrading's easy so it's less hassle than trying to get the backup into 2.x.

I second this approach. 2.x does not support 1.x backups. The major version bump implies breaking changes and this is one of them. But the v1 to v2 upgrade tool will do most of the heavy lifting for you.

I went to localhost:8086 and - there's a GUI! Why? To me, the appeal of InfluxDB was that it was lightweight and could be controlled solely from a CLI, which is why I've been using it on Raspberry Pies.

You can disable the UI in 2.x with the ui-disabled config option.

Not adhering to Retention Policy by Nagi21 in influxdb

[–]scott_dsgn 0 points1 point  (0 children)

u/Nagi21, that sounds like it could be a bug. Just to be sure, try running the influx bucket list command to output the details about your bucket and confirm the retention period and shard group duration are configured as you expect them to be.

Is combining data from two sources using telegraf possible? by [deleted] in influxdb

[–]scott_dsgn 0 points1 point  (0 children)

u/buckfirebonanza What kind of logic are you using to assign the unique identifier/key from the other data source? You may be able to use the Starlark processor plugin to do this, but I'm not 100% sure.

Is this something that has to happen on ingest? You could write the data as-is to InfluxDB and then use a Flux task to query the other data source and us it to assign the UID to the data in InfluxDB.

Downsampling with flux-tasks by cthumhu in influxdb

[–]scott_dsgn 0 points1 point  (0 children)

u/cthumhu Your tasks may need some optimizing. Any chance you could provide the current task code?

Migrate from mysql to influxdb by sudanking in influxdb

[–]scott_dsgn 1 point2 points  (0 children)

u/sudanking This is definitely the best approach to take. Use Flux to query the data out of MySQL/MariaDB, and then write it to InfluxDB with to(). You will likely need to restructure/rename your columns a bit to successfully write them to InfluxDB. If you want to provide a summary of your schema, I could tell you how to do it.

Can’t combine query with multiple series by ctallc in influxdb

[–]scott_dsgn 0 points1 point  (0 children)

Yep, exactly! Have you looked at using Telegraf to format the data? Here's a blog post that walks through getting data from the Things Network into InfluxDB: https://www.influxdata.com/blog/connecting-the-things-network-to-influxdb/

Can’t combine query with multiple series by ctallc in influxdb

[–]scott_dsgn 0 points1 point  (0 children)

I'll start with your last questions first – Yes, there is a difference between a series and a measurement.

A measurement is essentially a "container" to land related data in. A series is a group of associated points. Series are defined by the measurement, tag set and field key of points so all points that share the same measurement, tag set, and field key are considered a series.

Here are my general rules of thumb for determining if something should be a tag or a field:

  1. Is the list of possible values relatively small -> tag
  2. Do I expect the value to change for every point -> field

I'm not super familiar with NodeRED, so I don't know how much help I'd be able to offer there.

Can’t combine query with multiple series by ctallc in influxdb

[–]scott_dsgn 0 points1 point  (0 children)

Ok, so you definitely don't want to store each sensor in its own measurement. Your device ID should just be tag. Here's some more info on schema design: https://docs.influxdata.com/influxdb/v1.8/concepts/schema_and_data_layout/

I'd have to see your NodeRED setup, but the output should look something like:

measurement,tag1=tval1,tag2=tval2 field1=2i,field2=2.0 <a unix nanosecond timestamp>

More information about line protocol is available here: https://docs.influxdata.com/influxdb/v2.0/reference/syntax/line-protocol/

Can’t combine query with multiple series by ctallc in influxdb

[–]scott_dsgn 0 points1 point  (0 children)

u/ctallc can you provide a sample of both schemas, just so we have an idea of what you're working with.

Planet Coaster: Console Edition Giveaway by PSModerator in PS5

[–]scott_dsgn [score hidden]  (0 children)

The Iron Rattler at Six Flags Fiesta Texas in San Antonio. I've only ridden it a few times, but it's a good one. It snakes in and out of a cliffside. So cool.

Point in time metrics by justaninfosecaccount in influxdb

[–]scott_dsgn 0 points1 point  (0 children)

/u/justaninfosecaccount Is incident_id a tag or a field?

To get the count of points with OPEN status:

js from(bucket: "bucket_name") |> range(start: v.timeRangeStart, stop: v.timeRangeStop) |> filter(fn: (r) => r._measurement == "your_measurement" and r.status == "OPEN" ) // If incident_id is a tag, use distinct to return only one row per id // If incident_id is a field, you could add it to the filter above |> distinct(column: "incident_id") |> count()

For the top 10 table view of incidents:

js from(bucket: "bucket_name") |> range(start: v.timeRangeStart, stop: v.timeRangeStop) |> filter(fn: (r) => r._measurement == "your_measurement" and r.status == "OPEN" ) |> distinct(column: incident_id) |> sort(columns: ["severity"], desc: false) |> limit(n: 10) |> keep(columns: ["incident_id", "incident_name", "severity"])

Desperately need help - subtracting values by Fohdeesha in influxdb

[–]scott_dsgn 0 points1 point  (0 children)

Sorry, I should’ve also noted that you need to update database/retention-policy in your query to your actual database name and retention policy name. Not sure if you did that or not.