How to define log file in IIS with fields separated by commas - iis

I want to define a log file for a site in IIS. I want to choose which fields I want and they need to be separated by commas. The format IIS is separated by commas but I can't choose the fields and the format W3C let me choose the fields but they're separated by commas. I also search how to do custom log files and found the Advanced loggin plugin but I can't find any option for the separation of fields.
Does anyone knows how to define a log file with personalized fields and separated by commas?
Thanks :)

Related

Is there a way to search multiple keywords in a Saved Search on NetSuite?

I am creating a Saved Search for my team where users can filter by different parameters but the most important one is a ‘Keyword’ field where we have multiple text strings separated by commas. Eg: One could be (Horses, Apples, Cows, Carrots, Balloons) and another could be (Apples, Cake, Silver, Horses, Bananas)
I want to be able to use the free text search field to look up all rows where I can find a relevant entry.
Eg. Let’s say I type “Apples” and “Horses”. I want to see all entries where these are found together.
I have tried setting the criteria to “Contains” but can’t seem to use operators in the input field. I have also tried to use expressions but got You cannot use an expression builder criteria filter as an available filter" as an error.
I’m not familiar with NetSuite but willing to learn. I was able to create this in Google Sheets. Since we already store our information on NS already, I want to find a way to do it there. Is there a way to achieve this?
Thank you.
When you create the saved search, you can just specify a default value that will be used in the initial search load (e.g. contains Apples). In the Available Filters tab, select the same filter and check Show in Filter Region.
When users run the saved search, they can change the criteria by typing into the field and pressing Tab after (if you press Enter instead of Tab, the results will be downloaded into a CSV file instead of being displayed in the page). In your example, they should type 'apples%horses' then press Tab.
Additional reference: https://www.sikich.com/insight/using-formula-values-as-available-filters-in-netsuite-saved-searches/
Update:
Use 'has keywords' instead of 'contains' in the filter. When viewing the results, separate keywords with a comma. Example: 'apples, horses'

Azure Search Service documents fields verses Index fields

I am trying to understand how Azure Search Service works. If you have a comma delimited file that contains 4 fields, do you have to create an Index that contains all four fields? If you don't care about one of the fields in the comma delimited file, can you just not include it in the Index definition? When you upload the data (using code) will Azure Search Service just ignore the additional field, throw an error, or create a new field in the index?
If you have a comma delimited file that contains 4 fields, do you have
to create an Index that contains all four fields?
Not really.
If you don't care about one of the fields in the comma delimited file,
can you just not include it in the Index definition?
Yes, you can certainly do that. If you really don't care about the field then you can simply skip that field during the import process. You don't really have to create a field for that as well.
Yet another option would be to include the field and set its attribute in such a way that you are not able to perform any searches on that field. For example, you can set this field's searchable and filterable attributes to false but set retrievable attribute to true so that you can at least see this in your search results. More about field attributes can be found here: https://learn.microsoft.com/en-us/rest/api/searchservice/create-index#bkmk_indexAttrib.

In Sharepoint KQL: How to query against List property with space in the name?

I'm trying to query against a SharePoint List using KQL including some properties of that list that have a space in their names.
Example:
Src State:"WA" Prod Id:"X12" SomeFreeText PATH:http://server/sites/items/New%20Items/*
The free-text filter works as expected when alone, but returns nothing when including those property filters, such as "Src State".
I assume that is a problem with the space in the name. So, I've tried changing the space to "%20" and to "x0020" and even enclosing the property name between quotes (single and double), but not results found!
What I'm missing?
If you want to run a KQL search on list it's a little bit more complex than just using the column name. KQL is a part of Search Service and the columns have to become managed properties. Managed property names cannot contain spaces. SharePoint automatically creates managed properties from site columns, but if the column is directly added to list (and not as a site column), then you have to create managed property manually in Search Administration.
So if the columns are site columns, then there is a specific naming convention on how the managed property names are created (https://technet.microsoft.com/en-us/library/jj613136.aspx). If "Src State" and "Prod Id" columns are simple (say Text, or Choice), then the following query should work:
SrcStateOWSTEXT:"WA" ProdIdOWSTEXT:"X12" SomeFreeText PATH:http://server/sites/items/New%20Items/*
If this doesn't work - please check the Search Schema in Search Administration whether the managed properties for these columns have been created. If not, then you will have to create them manually and ReIndex/ReCrawl list content. Instructions on how to do that are here: https://technet.microsoft.com/en-us/library/jj219667.aspx

Automatically attaching specified suffixes to text in Excel

I am trying to come up with a way to attach a specified suffix to a string of text in Excel, but only when it matches another string.
Example:
I have a list that contains several domains:
xyz.blogspot.com,
abc.blogspot.co.uk,
edf.blogspot.co.jp
For each of these, I want to strip off the suffix (.com, .co.uk etc) and apply a new suffix from a list I have (.com, .co.uk, .co.jp, .in, .br etc).
The idea is that when I see xyz.blogspot.com, I can instantly and automatically create all possible variations of that domain name.
Any help appreciated, thanks.
I have a feeling this will not suit (but seems to answer the question):
=LEFT($A2,LEN($A$1)+FIND($A$1,A2)-1)&B$1
copied across and down to suit.

Querying SharePoint List from Reporting Services returns only “not null” columns

Tried this link but does not display the columns which has null values.
Link
Any Idea, whats being missed?
I'm guessing you have replaced the names of "Column1,Column2"... for the names of your fields from your Sharepoint list...
If so, make sure the field names you put there are the internal sharepoint list field names and not the display field names.
If the names have spaces, remember to use the x0020 instead of the a space.
Also, make sure the fields are called with the prefix ows_, not just the field name...
I would try #ows_ID and see what happens and with the above everything still fails and data doesn't show, then there must be something else but we will need you to post the code here.

Resources