Skip to main content

Questions tagged [query]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
1 vote
0 answers
141 views

Initial patch install checking via SCCM query

I want to make a better query for Windows Server OS patching (2016 & 2019). The one listed below is what I wrote that my company currently uses. If a newly built servers OS install time is ...
Keith's user avatar
  • 111
0 votes
0 answers
270 views

Inconsistent Clickhouse database query performance

Folks, Clickhouse Server version: 22.8.21 (have tried a variety of 22.x and 23.x versions as supported by clickhouse-backup to restore my data with for testing, none seemed to improve the query ...
gwvandesteeg's user avatar
1 vote
0 answers
80 views

Which is the correct capability in Courier SMTP config to get user's password (encryption type)

MySql: 8.0.34-0ubuntu0.22.04.1 I have followed this guide: Postfix With Courier IMAP Mail Server Installation (unfortunately they do not answer questions). I had to change the encryption method for ...
Andrés Chandía's user avatar
0 votes
1 answer
1k views

AWS CLI : How to use "--query" to get output from nested JSON

I am using aws-cli v2 to get the --query output from AWS Describe-volumes. In this, I am trying to get the volume id, size, Instance ID, state. Instance ID is nested in the AWS Describe-volumes. ...
Pankaj Rudrawar's user avatar
1 vote
0 answers
76 views

Reduce Query Syntax for ends_with()

I have the following query: --query "Contents[?ends_with(Key, 'jpg') || ends_with(Key, 'NEF') || ends_with(Key, 'nef') || ends_with(Key, 'CR2') || ends_with(Key, 'cr2')]" Is there a way to ...
davidbitton's user avatar
1 vote
2 answers
403 views

Nginx rewrite to specific part of requested uri

I am quite new to nginx rewrite concept and I can't figure out how to rewrite the requested_uri to a specific Uri. I am trying to make rewrites to specific js files. For example, I have this ...
dimpap's user avatar
  • 11
0 votes
1 answer
263 views

GCP- Alert for adding new user or service account to a project

I want to create an alert in my project in GCP that lets me know when a new user or service account is added to the project. I understand I need to use Logs Explorer and run a query but I am not sure ...
Nicholas Ziccardi's user avatar
2 votes
1 answer
2k views

json_query help - not producing expected output

I am trying to build an array to use for with_nested, but I cannot get past why json_query isn't outputting the actual hosts assigned to each cluster: Play: - name: Index clusters.json shell: cat {{ ...
BrillCom's user avatar
  • 149
1 vote
0 answers
265 views

SCCM collection evaluates major version numbers in unexpected way

Why do SCCM collections based upon the logic Installed Applications (64).Version is less than "100.0" not evaluate to true for applications of version 99.* and below? The full WQL query ...
branpurn's user avatar
1 vote
1 answer
2k views

AWS Athena Query 2 separate tables together

I have 2 Tables, and i need to query them together, for example. From the first table i get results with my query: InstanceID, title, status and etc... From the second one: key, value, region and etc.....
hightest's user avatar
  • 141
0 votes
1 answer
820 views

Why my simple searching query is too slow?

I don't know why searching in my "cities" table is so slow. My query looking for a table "cities" located about 25km from the city. I use this simple query and the database takes ...
Sahasrar's user avatar
0 votes
1 answer
831 views

SQL Developer queries are very slow if I am not connected as sys

I want to run my PL/SQL Queries on SQL Developer and created a new user connection. But if I run: set serveroutput on size unlimited; begin dbms_output.put_line('Hello Oracle.'); end; / clear ...
AStudentwhoneedsHelp's user avatar
1 vote
0 answers
958 views

Alternate method for caching mysql query (query_cache) on version above 8.0

On mysql version 8+ the query_cache support was removed. I know why it is not a friendly thing with InnoDB when considering the CPU. But I've some databases which really need this support where user ...
TELA's user avatar
  • 33
3 votes
2 answers
1k views

MySQL - Select queries 10x slower on Azure VM vs on-prem VM

We have been working on a project to migrate a MySQL database from an on-premise Linux server to a Windows VM on Azure (IaaS). (There's a specific reason because of which we have gone with the IaaS ...
Sridharan Srinivasan's user avatar
0 votes
1 answer
838 views

Using SNMP to monitor windows RDP logons?

It is possible to monitor WIN RDP logons (user,login duration) using SNMP specific OID ?
Eli Grey's user avatar
0 votes
1 answer
232 views

Rule - Search for my name in outlook messages but ignoring the text inserted in replies

I get a lot of junk emails that require no action from me so I wanted to filter out those that have my name in the body/subject and put them into a special folder. I realized after creating the rule ...
Monolithguy's user avatar
0 votes
1 answer
1k views

Strapi + Postgres: Cannot SELECT from table - syntax error

I am using strapi and postgres. I created two collections in strapi called "solutions" and "references". When I run \dt I get the following output: ...more tables public | ...
Felix Hagspiel's user avatar
1 vote
1 answer
4k views

Optimizing MariaDB Performance

I need a different set of eyes checking my MariaDB settings. During peak load times, the CPU can hit upwards of 600% or more, and slows down Wordpress application. I have used MySQLTuner to tweak a ...
Infinixd's user avatar
1 vote
1 answer
1k views

Azure : How to process Azure Log events from Event hub and filter based on criteria

How to process Azure Log events from Event hub and filter based on criteria. We are trying to filter specific critical or security related Diagnostic and Activity logs before feeding into our Onprem ...
Anil Kash's user avatar
-1 votes
1 answer
3k views

AD query - get bitlocker active computers

I have query in Active Directory which should return all computers with bitlocker not active based on this script: https://community.spiceworks.com/topic/1083065-bitlocker-status-on-all-computers ...
Johny Wave's user avatar
0 votes
1 answer
2k views

AD Query for non expiring password but filter only active users

I need to do query which filters users with non expiring password setup. I have something like this: (&(objectCategory=person)(objectClass=user)(userAccountControl:1.2.840.113556.1.4.803:=65536))...
Johny Wave's user avatar
2 votes
1 answer
2k views

Nginx, rewrite get query

I would like to rewrite an url from /shop/?category=kitset-kitchens to shop/category/kitset-kitchens What I tried: rewrite ^/shop.*$ /shop/category/$arg_category permanent; goes to: shop/category/...
Nikita's user avatar
  • 123
1 vote
1 answer
409 views

Will a domain controller in the domain that a group is defined contain all member information?

Let's say I have a forest setup with many domains. If I were to pick an arbitrary security group from any of the domains, what is the best way to find ALL user members of that group, including user ...
Hmmmmm's user avatar
  • 113
2 votes
2 answers
248 views

Suggested indexes

I am new to indexing in general and have just started learning about query plans etc. I am working on this one specific query that keeps advising me to create the following index: CREATE NONCLUSTERED ...
Owain Esau's user avatar
-1 votes
1 answer
5k views

DNS Fails to simple query test

I seem to have a real odd problem that seems to escape me. I have two servers - both of which are ad controllers. My Problem Child is Windows 2008 R2, My other is a Windows 2012R2 that runs no problem....
Mr-E 's user avatar
0 votes
2 answers
2k views

MySQL query is very slow over internet

I'm having an issue with a very slow query in an C# WPF application. The application connects to a MySQL-server. As long as the application is used on my LAN, everything is going fast. When i use the ...
Dave's user avatar
  • 1
0 votes
2 answers
336 views

Nginx rewrite query url, redirect and serve content

Apache user here so not very familiar with nginx :) Eg url like this testpage.no/products?test_category=434 How to redirect this url and its content to this url: testpage.no/testcategory is ...
Trenox's user avatar
  • 101
0 votes
2 answers
1k views

Exchange 2016 New-Mailboxsearch KQL Query Help - Is this possible? (X or Y) not (Z unless also X)

Thanks in advance for reading & any help you can provide!   I'm trying to do a mailbox search against several mailboxes. I need to find all messages that mention some words AND don't mention ...
R_C_III's user avatar
  • 41
2 votes
1 answer
4k views

filtering event logs with specific TIME range of ANY day

How can I query windows server events between two times of any day? I have tried with PowerShell... Get-EventLog -Logname xxxx -After 04:00:00 -Before 04:00:30 ...but just returns today's events
jreinap's user avatar
  • 23
1 vote
1 answer
3k views

Suspicious DNS query leads to "Intrusion protection alert" on Sophos UTM

A customer Sophos-UTM reports Intrusion protection alert warnings INDICATOR-COMPROMISE suspicious .null dns query: 2019:01:15-11:54:13 utm-ba snort[31619]: id="2101" severity="warn" sys="SecureNet" ...
marsh-wiggle's user avatar
  • 2,195
2 votes
3 answers
2k views

Block any query in BIND

I've been trying to block ANY queries in my BIND server with no success. I followed this post Block ANY request in Bind which says that I can use minimal-responses but it doesn't work. None of the ...
Sabri MJAHED's user avatar
0 votes
1 answer
2k views

SCCM WQL Query Structure BIOS release date

So with this whole Meltdown and Spectre causing a huge fuss world wide. I have discovered a solution to mass deploy BIOS updates. The one thing is when checking compliance I am unable to locate ...
Eryper's user avatar
  • 15
0 votes
1 answer
108 views

Slow SQL Queries over local net

Slow Queries for SQL over 1Gb link between servers using just SSMS Server Configs: Main SQL Node: 32GB Ram 16 cores Sage Evolution Server: 16 cores 16GB ram The config of the servers is that they ...
RamboFR05TY's user avatar
1 vote
1 answer
349 views

Does a DNS server intercept and respond to DNS requests even if it is not the intended DNS server of the requesting machine?

"A" wants to resolve google.com using DNS Server 1 or 2 (as set in IPv4 settings on the NIC). But DNS Server 3 is between "A" and either DNS Server. Will server 3 attempt to respond to the DNS query? ...
David Breeden's user avatar
0 votes
0 answers
122 views

How to make daily database backups readily queryable

We have a production database that generates daily database backups that are uploaded to S3 in form of compressed .sql.bz2 files. We basically have a S3 bucket that has a large number of such backups, ...
rtindru's user avatar
  • 101
3 votes
1 answer
6k views

Update InfluxDB measurement names

Is there a way to update existing measurement names in an InfluxDB? When my system was originally set up we used measurement names like "CheckCPU" or "CheckLOAD" and have changed to all lower case ...
Jason P's user avatar
  • 33
2 votes
1 answer
451 views

SCCM query based on Device Enrolment Profile

We are pre-configuring our mobile device fleet through Apple DEP into our hybrid InTune / SCCM instance. We have a few different enrolment profiles based on what the device is used for. With this, we ...
mhouston100's user avatar
2 votes
3 answers
826 views

dns: difference between ANY and A query for changed DNS record?

I have recently changed the IP address for a particular domain, call it example.com. I know that it takes time for the DNS change to propagate, and it's still early enough that the propagation is not ...
HippoMan's user avatar
  • 250
0 votes
1 answer
6k views

ldap query active directory: all users with their assigned groups or groups with their members

I'm trying to make a ldap query which I can run in active directory tool, so I can have an overview of all users with their groups. What do I need to add to this script to see the groups of these ...
Joep's user avatar
  • 1
-2 votes
1 answer
6k views

How do I run specific queries in SCCM using Powershell

Could you advise how could I run query ID using command prompt? For example, I do not want to go to Monitoring-Queries-expand tree and search for the specific querry. I Just want to have script file, ...
AID's user avatar
  • 1
0 votes
1 answer
863 views

"show processlist;" output - percent sign

In the output above, what does the % (percentage sign) mean ? mysql> show processlist; +------+--------+----------------------+----------+---------+------+--------------+---------------------------...
kellogs's user avatar
  • 69
0 votes
1 answer
2k views

MySQL query is NOT executed from bash, but works from MySQL client

Using UBUNTU 16. MySQL query fails from bash, but works from MySQL client: query=$(cat << EOF CREATE DATABASE \`${mysql_local_database}\` /*!40100 COLLATE \'utf8_hungarian_ci\' */; use \`${...
klor's user avatar
  • 364
0 votes
1 answer
2k views

Large database table queries return empty set

I'm trying to understand a weird problem with a MySQL database on one of my websites. When I loaded a big set of data from a CSV file (2,200,000 records with a single column, using LOAD DATA) into a ...
Zorgatone's user avatar
  • 101
7 votes
1 answer
31k views

openldap sizelimit. Can't receive more than 500 entries

I can't receive more than 500 entries, when I query my openldap-server. Although I made the following changes: slapd.conf # This is the main slapd configuration file. See slapd.conf(5) for more ...
JMAD2016's user avatar
1 vote
0 answers
506 views

Pgpool-II would not invalidate query cache for user schemas

I've configured pgpool2 (v3.4.3) with postgresql (v9.5) to cache queries like this: memory_cache_enabled = on memqcache_method = 'shmem' memqcache_total_size = 67108864 memqcache_max_num_cache = ...
Kolyunya's user avatar
  • 217
-2 votes
1 answer
138 views

Filtering query on Nginx [closed]

Can I store a specific query in access_log file by filtering with an expression? For example I want to deny storing queries related to www.mydomaine.com and then reject it ? Best regards, Nizar.
N.Khalifa's user avatar
1 vote
1 answer
19k views

Obtain a list of computers from SCCM on which a specific software is installed?

I have tried the below procedure to obtain a list of desktops that have software X, version 2.2 installed on them: Device Collections => Create Device Collection => named it "Computers with X ...
DSKyo's user avatar
  • 153
0 votes
1 answer
2k views

which table should I query for date & time in zabbix?

i need to query date and time in zabbix server. which table exactly stores these 2 parameters? Actually there is a table named history and there are two fields in that table named "clock" and "ns", ...
samiranapper's user avatar
0 votes
1 answer
988 views

Quering history of network interface in zabbix server return empty set?

I've installed Zabbix on Ubuntu. Although I can see a "graph" and related "latest data" for all network interfaces in Zabbix front-end, there is no data for them when I directly query MySQL database!...
samiranapper's user avatar
10 votes
1 answer
168k views

How to use WMIC to connect to remote machine and output OS information to a file?

I want to know how to use WMIC to connect to remote host and output their PC's OS information(Installed programs list) to a file. I tried wmic /node: <IP address> OS get vendor, name > c:\...
PYO's user avatar
  • 111